There is a great amount of forums posts discussing PPS GPIO. Read them first.
Hey,
I’m currently trying to set up the GPIO-pin of Jetson Orin NX 16 GB(JetPack 5.1.2) to accept the PPS signal to synchronize the clock with GPS-Time. Is there some clear instructions how to do this? That could not be so difficult, on Raspbery Pi it takes like 10 min to set up the PPS signal… The approaches that I found here at the Forum unfortunately does not work:/
My setup (before flash):
Jetson Xavier agx 16Gb
cat /etc/nv_tegra_release → R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t186ref, EABI: aarch64, DATE: Mon Jul 26 19:36:31 UTC 2021
Hi, I’m trying to enable PPS on JetPack 5.1.1 on out Xavier agx without success. I previously had it working in JetPack 4.4 but I cannot get it to work with the new version.
I have read through every post related to PPS I could find here on the forums and tried every suggested fix, without any success.
Cou…
Hi everyone,
I’m trying to enable PPS on jetson AGX Xavier on the pin 24 from the header pins. I have a ublox SIMPLERTK2B gps connected with usb, timepulse pin connected to pin 24 and grounds are also connected. Also the jetson runs Jetpack 5.1 and the l4t driver I’ve downloaded is Jetson Linux 35.2.1
I have followed this guide to build the custom kernel. The changes I’ve made to the kernel are based on this and this .
More specifically I have made these changes to the kernel config
# PPS sup…
你好,我现在在agx xavier使能pps驱动,系统版本是35.1.0,做法如下:
在tegra194-p2888-0000-a00.dtsi中加入pps模块:
pps {
//here use gpio for the pin in which you want pps signal.
gpios = <&tegra_main_gpio TEGRA194_MAIN_GPIO(A, 0) GPIO_ACTIVE_LOW>;
compatible = “pps-gpio”;
assert-falling-edge;
status = “okay”;
};
修改了pps-gpio.c(line 189 return -EINVAL 改为 return ret)
然后运行./nvbuild.sh -o $PWD/kernel_out 编译出tegra194-p2888-0001-p2822-0000.dtb 和 Image,然后刷到Xavier中,发现可以在dmesg中看到pps0,设备,但是还是会有报错,kernel log如下:
[ 0.447522] pp…
There is no need of making an overlay. Please directly add it into the main kernel DTB.
Do it either in the kernel source code, or decompile the .dtb file you are using into .dts.
Make sure all required kernel configs are enabled.