PPS On Jetson Nano

Can the jetson nano enable PPS as raspberry pi?

I work with the jetson nano recently and try to synchronize it with GPS. I know the raspberry pi can easily set pin 18 as PPS pin and then do synchronization with GPS.

Any idea to do the same thing on jetson nano?

Thanks

Hi, please refer to this comment: https://devtalk.nvidia.com/default/topic/970586/jetson-tx1/adding-pps-input-to-tx1-for-line-discipline/post/5016014/#5016014

Hi Trumany,

I checked it, but I believe there should be a easier way to achieve it. The chip after TX1 can support the PPS.

I followed https://devtalk.nvidia.com/default/topic/1035352/pps-drivers-not-installing/, and enable the pps from the kernel, but it shows the time out every time when I

sudo ppstest /dev/pps0

For more detail, I added the pps device to the device tree (pin 18):

Linux_for_Tegra/sources/hardware/nvidia/soc/t210/kernel-dts/tegra210-soc/tegra210-soc-base.dtsi

pps {
        gpios = <&gpio TEGRA_GPIO(B, 7) 0>;

        compatible = "pps-gpio";
        status = "okay";
    };

I want to know is there any easier way to make it work?

Thanks

I think I fix this issue because it’s physical pin 18 and gpio15 (Sysfs GPIO) and I use the wrong pin to get PPS signal.