想请教下Jetson Agx Orin 32G能否把GPIO中断封装成函数接口来调用,如果可以这样使用的话,是否有类似的例程可以学习下?
*** Please note that this reply is generated by LLM automatically ***
The question seems to be incomplete, but I’ll provide information on the Jetson AGX Orin series, specifically the Jetson AGX Orin 32GB module.
The Jetson AGX Orin 32GB module is a production module that is part of the Jetson AGX Orin series. It has 32GB of memory and is compatible with the Jetson AGX Orin reference carrier board (P3737-0000). The module is flashed with QSPI-NOR and eMMC.
Here’s a comparison with other modules in the Jetson AGX Orin series:
- Jetson AGX Orin Developer Kit (P3701-0000): This is a development module with 32GB of memory, and it’s part of the developer kit. It’s flashed with QSPI-NOR and eMMC.
- Jetson AGX Orin 64GB-DRAM (P3701-0005): This is a production module with 64GB of memory, and it’s compatible with the Jetson AGX Orin reference carrier board (P3737-0000). It’s flashed with QSPI-NOR and eMMC.
- Jetson AGX Orin Industrial (P3701-0008): This is a production module with 64GB of memory, and it’s compatible with the Jetson AGX Orin reference carrier board (P3737-0000). It’s flashed with QSPI-NOR and eMMC.
In terms of GPIO, the Jetson AGX Orin series has a 40-pin expansion header that provides access to various GPIO signals, including:
- 12x GPIO pins
- 2x I2C pins
- 2x SPI pins
- 2x UART pins
- 1x CAN pin
- 1x PWM pin
However, the specific GPIO configuration may vary depending on the carrier board and the module being used.
It’s worth noting that the Jetson AGX Orin series has a different boot flow compared to other Jetson modules. The boot flow involves the following stages:
- BootROM
- Bootloader components (TegraBoot and UEFI)
- Partition configuration
- MB1 platform configuration
The Jetson AGX Orin series also has different software features and configurations compared to other Jetson modules. For more information, please refer to the NVIDIA Jetson Linux Developer Guide.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***
Hi 2799029655,
Are you using the devkit or custom board for AGX Orin?
What’s the Jetpack version in use?
Sorry that I’m not clear about your requirement and the use case.
Could you elaborate on them?
我们使用的是自研的主板,Jetpack用的有5.1.5和6.2;要求就是类似GPIO通过接收到的高低电平来产生中断,就是想做个验证,具体的实际用例没有
You can configure the pin as Input/Int PD in pinmux spreadsheet and simply run gpiomon command to verify interrupt count.
请问下,jetpack5.1.5能否使用Jetson.GPIO来封装函数?
设置GPIO为中断引脚,除了修改pinmux是否需要修改设备树?
Do you mean if jetson-gpio can work with Jetpack 5.1.5?
If so, the answer is YES.
If you use the pinmux spreadsheet, it will generate the pinmux dtsi, which will be loaded in early boot stage(MB1).
For the kernel device tree, it may depend on your use case.
I don’t think you need to modify the kernel device tree if you just run gpiomon to monitor the pin state change.