![]() |
Jetson Sensor Processing Engine (SPE) Developer Guider36.4 Release |
This section explains how to use the generic time-stamping engine (GTE).
The GTE snoops a set of signals and presents the timestamped events to the software using FIFOs. There are three GTE instances/slices available to AON/SPE and each is 32 bits wide. Refer to gte-tegra-hw.h for more information about signals mapping to slices.
To determine the GTE pin mapping, refer to the pin-mux spreadsheet that corresponds to your module. There is a hidden column in the spreadsheet called "GTE" that lists the bit in slice 2 that corresponds to that pin.
The application demonstrates the GTE driver APIs and works with gpio-app to monitor the interrupt on the GPIO_APP_IN
line. Refer to GPIO Application, for more information about wiring details.
soc/t23x/target_specific.mk
, set ENABLE_GTE_APP := 1
, rebuild the application, and copy the output to ${L4T}/bootloader/spe_t234.bin
.Linux_for_Tegra/sources/hardware/nvidia/t23x/nv-public/overlay/tegra234-p3737-0000+p3701-0000.dts
. Add the following code to disable hardware-timestamp under bus0 node. +++ tegra234-p3737-0000+p3701-0000.dts @@ -210,6 +210,10 @@ status = "okay"; }; + hardware-timestamp@c1e0000 { + status = "disabled"; + }; + mttcan@c310000 { status = "okay";
${L4T}/bootloader/tegra234-mb2-bct-scr-p3701-0000-override.dts
to allow SPE to read/write to the GTE register. soc/t23x/target_specific.mk
, set ENABLE_GTE_APP := 1
and ENABLE_SPE_FOR_ORIN_NANO := 1
. Rebuild the application, and copy the output to ${L4T}/bootloader/spe_t234.bin
.Linux_for_Tegra/sources/hardware/nvidia/t23x/nv-public/overlay/tegra234-p3768-0000+p3767-0000.dts
. Add the following code to disable hardware-timestamp under bus0 node. +++ tegra234-p3768-0000+p3767-0000.dts @@ -245,6 +245,10 @@ status = "okay"; }; + hardware-timestamp@c1e0000 { + status = "disabled"; + }; + mttcan@c310000 { status = "okay";
${L4T}/bootloader/tegra234-firewall-config-base.dtsi
to allow SPE to read/write to the GTE register. GTE ISR is called when the FIFO reaches the GTE_FIFO_OCCUPANCY threshold. On successful execution, GTE ISR following message: