![]() |
Jetson Sensor Processing Engine (SPE) Developer Guider35.3.1 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/t19x/target_specific.mk
, set ENABLE_GPIO_APP := 1
, rebuild the application, and copy the output to ${L4T}/bootloader/spe_t194.bin
.Linux_for_Tegra/sources/hardware/nvidia/platform/t19x/galen/kernel-dts/common/tegra194-p2822-0000-a00.dtsi
. 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/platform/t23x/concord/kernel-dts/cvb/tegra234-p3737-0000-a00.dtsi
. ${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/platform/t23x/p3768/kernel-dts/cvb/tegra234-p3768-0000-a0.dtsi
. ${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: