};
However, I heard that Jetpack 5.1 was different. I got /dev/pps1 and I set here: gpios = <&tegra_main_gpio 157 1>; 157 was for pin12 on the J12. But when I connect pin 12 with PPS source and use ppstest there was no PPS source available. Do you know what is the problem? Thx
Hi, many thanks for your help! I used devkit for xavier nx. However I changed into 149 but it did not help, I had pps1 and connect to ublox but no pps come to jetson.
I used the cat /sys/kernel/debug/gpio to check and I found mine here:
and use:cat /sys/kernel/debug/gpio | grep PT.05 I noticed that the gpio is 462.I2S0_SCLK
in J12 is pin12 is I got it right.
And in the ppstest I can only see:
I have made some progress toward my goal, as I am sometimes able to obtain the PPS signal, but other times I cannot obtain PPS1. I suspect it might be an issue with my level settings. Additionally, when my GNSS receiver is connected to the Jetson, the PPS signal does not show up on my GNSS receiver. Could this be a level issue?
Many thanks for your help!
I tried what you told me: use the phandle value of tegra_main_gio instead of &tegra_main_gpiohere but I still got the error of syntax.
For the pimux actually I did not really know if I need to convert into cfg? I did not do this before and I did not know if the problem was from here. Only connect the PPS source and jetson then the pps1 can have few PPS received but most time it did not receive the PPS, I did not know if there is some thing I have to do for the logical electrical level like: GPIO_ACTIVE_HIGH, but when I overlayed the device tree I could not write like this:
I noticed when I reconnect the PPS source and Jetson there will be several PPS siganls occurred at the same time, but then come back to timeout status, I did not know the reason here.
For Xavier series, you have to convert dts to cfg to apply the change for pinmux.
You can refer to <Linux_for_Tegra>/kernel/pinmux/t19x/README.txt for detailed steps.
You should use only HEX value in the overlay dts or you can not convert it to dtb.
Do you mean PPS may work sometimes? Or it may fail with timed out error?