Jetson-io.py Does not have GPIO configuration option

Need to enable 8 gpio output pins and I don’t see the options for gpio. It has spi, uart and some other stuff. Do I need to create an overlay from scratch to enable those pins?
jetson-io.py

Hi foxsquirrel1,

Are you using the devkit or custom board for Orin Nano?
What’s the Jetpack version in use?

Which GPIOs do you want to use?
Please describe the details of your requirement.

You can use either Jetson-IO or pinmux spreadsheet to configure the pinmux for your use case.

Hi @KevinFFF
Orin Nano devkit

fred@orin1:~$ dpkg-query --show nvidia-l4t-core
nvidia-l4t-core	36.4.0-20240912212859
fred@orin1:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.5 LTS"

GPIO 09,12,01,11,13,07
Outputs
Really need 8 but the diagram in jetson-io only displays 6. Assume the 6 can be accessed without adjusting the mux. I can go without 2 of the spi.

I have been looking for the detailed instructions on creating an overlay and have not found it yet. Also need to find the .dtsi so I can get the proper node names.

Do you have a link to instructions that will fully explain the overlay creation.

Also, does libgpiod work with the jetson os? I have code from another project that will be used.

No options for GPIO exist in this version.


What do you mean about 6 and 8?
If you want to use the pin as GPIO, please just configure them from pinmux spreadsheet instead of using Jetson-IO, which is used to enable some functions like SPI, PWM…etc
Please also refer to the Jetson Orin Nano Developer Kit Carrier Board Specification for the pin definition of different expansion header.

You can check Configuring the Jetson Expansion Headers — NVIDIA Jetson Linux Developer Guide 1 documentation for this use case.

Yes, it could work on Orin Nano with JP6.

@KevinFFF

Thank you very much for sharing the dt info, your help and the help of others on this forum is extremely helpful.

1 Like

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