solo_wh
November 14, 2024, 3:47am
1
Hi nvidia team:
I want to use AO_HV_SOC_GPIO50(PBB.02) as pps-in, and use ppstest tool to monitor the signal, but it seem’s not working. here is my debug info.
On Jetson agx orin 64 with Jetpack 6.0
1.Modify <egra234-p3737-0000+p3701-xxxx-nv-common.dtsi> as follows:
define PPS_GPIO TEGRA234_AON_GPIO(BB, 2)
pps {
compatible =“pps-gpio”;
gpios = <&gpio PPS_GPIO GPIO_ACTIVE_HIGH>;
/assert-falling-edge; /
status =“okay”;
};
dtb:
tegra234-p3737-0000+p3701-0005-nv.zip (38.8 KB)
2.pinmux:
nvidia@tegra-ubuntu:~$ sudo busybox devmem 0x0c303050 w 0x0000c055
nvidia@tegra-ubuntu:~$ sudo busybox devmem 0x0c303050
0x0000C055
3.config:
CONFIG_PPS_CLIENT_KTIMER=y
CONFIG_PPS_CLIENT_LDISC=y
CONFIG_PPS_CLIENT_GPIO=y
and ppstest detects that /dev/pps0 times out, it seem’s not working.
nvidia@tegra-ubuntu:~$ sudo ppstest /dev/pps1
trying PPS source “/dev/pps1”
found PPS source “/dev/pps1”
ok, found 1 source(s), now start fetching data…
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)
full dmesg:
dmesg.txt (66.5 KB)
Hi,
Here are some suggestions for the common issues:
1. Performance
Please run the below command before benchmarking deep learning use case:
$ sudo nvpmodel -m 0
$ sudo jetson_clocks
2. Installation
Installation guide of deep learning frameworks on Jetson:
3. Tutorial
Startup deep learning tutorial:
4. Report issue
If these suggestions don’t help and you want to report an issue to us, please attach the model, command/step, and the customized app (if any) with us to reproduce locally.
Thanks!
solo_wh
November 14, 2024, 5:52am
3
Hi,thanks for reply, Is that for pps gpio config?
Hi solo_wh,
Are you using the devkit or custom board for AGX Orin?
Could you share the block diagram of your connection with PPS signal?
Have you also measured if there PPS signal input from PBB.02
?
solo_wh
November 15, 2024, 8:07am
6
1.custom board for AGX Orin 64G
2.orin<-pps <-fpga
3. PPS signal input from
PBB.02
:
Have you also tried to capture from /dev/pps0
?
Please also share the result of $ cat /proc/interrupts|grep -i pps
on your board
solo_wh
November 25, 2024, 1:57am
10
this is pps0 :
But this pps0 doesn’t look like actual data because I turned off the PPS input, and pps0 still has output
okay, /dev/pps1
should be the one from PPS signal.
please configure this line as following since PBB.02
belongs to GPIO AON controller.
gpios = <&gpio_aon PPS_GPIO GPIO_ACTIVE_HIGH>;
system
Closed
December 17, 2024, 11:53am
13
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.