Hi NV_Team,
I am using Jetson AGX Orin(R36.3.0), I have followed the entire instruction manual, and SPE gpio-app works fine as the document.
I have several question about SPE.
-
How can I pass parameters to gpio_app_task(void *pvParameters) , because I want to dynamic change the GPIO_OUT_SET_DELAY value, can we transfer it through (void *pvParameters).
-
GTE can only get input timestamp? If we want to get output gpio timestamp, how to implement ?
void gte_app_init(void)
{
/* Enable GPIO_APP_IN GPIO GTE timestamp */
tegra_gte_slice_set_enable_mask(&tegra_gte_id_aon,
2, /* slice number 2 */
BIT(GTE_SLICE_IRQ_GPIO));
error_t ret = tegra_gte_setup(&tegra_gte_id_aon, GTE_TEST_FIFO_OCCUPANCY,
gte_irq_callback, 0, 0, 0);
if (ret)
error_hook("GTE setup failed\r\n");
/* Enable timestamping on GPIO_APP_IN at GPIO controller */
ret = tegra_gpio_enable_timestamp(GPIO_APP_IN);
if (ret)
error_hook("gpio_enable_timestamp -failed\r\n");
}