Hi,
I want to use GPIO3_PN.02 as an pps signal source, and use ppstest tool to monitor the signal, but it seem’s not working. here is my debug info.
1.Modify the device tree as follows:
pps {
compatible = "pps-gpio";
gpios = <&tegra_main_gpio TEGRA234_MAIN_GPIO(N, 2) GPIO_ACTIVE_LOW>;
//assert-rising-edge;
//assert-falling-edge;
status = "okay";
};
2.Separately compiled module driver pps-gpio.ko, manually loaded.
-CONFIG_PPS_CLIENT_GPIO=y
+CONFIG_PPS_CLIENT_GPIO=m
3.The oscilloscope measurement has a 1HZ pps signal, and the pps interrupt count is also increased by 1hz:
4.ppstest detects that /dev/pps0 times out: