Hardwarwe time stamp

Hi Nvidia team ,
I was working on the getting the time stamp from the gpio event in orin JP6.0 but in JP6 they changed to HYE driver in the below link i have found some related documents but didn’t find the proper guide which nvidia provided for the GTE driver
Generic Timestamp Engine — NVIDIA Jetson Linux Developer Guide 1 documentation

Need help on how to monitor the gpio pin using HTE driver .where i have to change the dtb or any other files for example if i want to check on the gpio pin PBB.01 and PBB.00

id ther any way i can use the same GTE driver from JP5.1.2 in JP6
Please don’t suggest the some link for the explore because we have already seen the below link

https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/SD/Kernel/GenericTimestampEngine.html

https://docs.kernel.org/driver-api/hte/tegra-hte.html

Hi herethehacker97,

HTE is the upstream driver we used from JP6.

May I know what’s your use case for this?

Have you synced the kernel source and refer to the document like hte.rst, tegra-hte.rst and nvidia,tegra194-hte.yaml?

Please share what you’ve done and the exact issue you hit.
We would also need to check your current device tree and dmesg.

HI @KevinFFF we are using the HTE to get time stamp of trigger pulse to uppend the time in image buffer


dmesg.txt (69.0 KB)
if i modprobe my hte-tegra192-test below dmesg only coming no time stamp is printing

in gpio it is configured .see reference image below

if we configure device trees as told in drivers/hte/hte-tegra194-test.c means the my dtbo is not applying so we have tried as otld in below link

Is this still an issue to support? Any result can be shared?

Do you short PBB.00 and PBB.01 externally?

Please also modify the following line in your device tree.

-        timestamps = <&hte_aon 1>;
+        timestamps = <&hte_aon GPIO_IN>;

and check if there’s timestamp in dmesg.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.