Hi,
I am looking to synchronizing time on the Drive AGX with rest of the components (sensors, other linux systems, etc) in the system. For this, I would like to use the PPS signal provided by the RTC and PPS module that ships with the Drive.
IIUC, the PPS signal generated by the RTC module is described by the following fragment in the device tree -
nvpps {
compatible = "nvidia,tegra194-nvpps";
status = "okay";
gpios = <0x20 0xa 0x0>;
};
This is used by the nvpps driver to instantiate a PPS device “/dev/nvpps0”. All good so far.
When I try to run standard Linux tools from pps-tools package to test the PPS functionality, I get the following error -
$ sudo ppstest /dev/nvpps0
trying PPS source "/dev/nvpps0"
cannot create a PPS source from device "/dev/nvpps0" (Operation not supported)
It looks like nvpps driver doesn’t create a PPS device that complies with the Linux PPS API. See https://www.kernel.org/doc/Documentation/pps/pps.txt for more details. I also couldn’t find any Nvidia tools that use “/dev/nvpps0” PPS device.
A couple of related questions -
Thanks!