Questions regarding the use of GPIO in the extension header of the Jetson Orin Nano board based on Jetpack 6.0/6.1/6.2

Questions regarding the use of GPIO in the extension header of the Jetson Orin Nano board based on Jetpack 6.0/6.1/6.2.

  1. Problems installing and using Jetson.GPIO

    1. The rootubuntu:/home/sot# sudo pip3 install Jetson.GPIO command shows the following results.

      => Requirement already satisfied: Jetson.GPIO in /usr/lib/python3/dist-packages (2.1.7)
      => WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behavior
      with the system package manager.
      It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.13.1 documentation

    2. Running rootubuntu:/home/sot# python3 command results below.

      import time
      import Jetson.GPIO
      Traceback (most recent call last):
      File “”, line 1, in
      File “/usr/lib/python3/dist-packages/Jetson/init.py”, line1, in

      Exception: Could not determine Jetson model

    3. I wonder if the Jetpack version is a problem. What is the solution?

  2. We would like to control more than 8 GPIOs using the GPIO offset. What are the other GPIO offset address values?

    1. Tested Expansion Pin
      => Extension header No. 11, PR.04, offset = 0x98, busybox devmem 0x02430098 <= OK
      => Extension header No. 12, PH.07, offset = 0x88, busybox devmem 0x02430088 <= OK
      => Extension header No. 29, PQ.05, offset = 0x68, busybox devmem 0x02430068 <= OK
      => Extension header No. 31, PQ.06, offset = 0x70, busybox devmem 0x02430070 <= OK
  1. What are the offset addresses of extension headers 7, 13, 15, 16, 18, 19, 21-24, 26, 32, 33, 35-38, 40?

I look forward to hearing from you.

Thank you.

Hi ingyu1,

Are you using the devkit or custom board for Orin Nano?

From this information, please do not use sudo to install Jetson.GPIO or run it to prevent permission issue.

Do you want to control GPIO through Jetson.GPIO or DRA or gpiod like gpioset?

You can find more details in TRM document.

Thank you for your quick response.

We’re using Jetson Orin Nano Devkit, and we’re going to downgrade it from JetPack6.2 to JetPack5.x to facilitate Jetson.GPIO use.

I know pin 31 of the extension header of the Jetson Orin Nano board is PQ.06 (106), but after reviewing the TRM document with this name, I couldn’t find the offset value.

However, I found that the offset value was 0x70 through the Internet, and I found in the TRM document that the offset value was 0x70, “PADCTL_G3_SOC_GPIO33_0” or “PADCTL_G4_SOC_GPIO17_0” came out.

Q) May I know the mapping relationship between the name of the extension header pin of the Jetson Orin Nano board and the TRM document? For example, 13 of the extension pin is PY.00(122), and how to find the offset value in the TRM document?

I look forward to hearing from you.

Thank you.

Okay, you can also use Jetpack 5.1.4 for Orin Nano devkit.

It seems using Jetson.GPIO is the different method than finding the offset to control GPIO through DRA.
You can refer to the following thread to find them in TRM.
Calculating/Getting register adresses of gpio pins - #10 by KevinFFF

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