Question about GPIO

Hello,

Xavier NX carrier board J12 Pin31 and P32 is GPIO#11 and GPIO#07, I want use these two as in/output gpio.
“echo NUMtoGPIO#11 > /sys/class/gpio/export”
Where can I get the NUM for specific GPIO?

Thanks

Hi,

I am not entirely sure, since I don’t have a Jetson NX, but there is an excel table with all the info of the GPIO.
According to the manual, in the GPIO changes

Welcome — Jetson Linux<br/>Developer Guide 34.1 documentation

And following to:

https://developer.nvidia.com/embedded/downloads#?search=Xavier%20NX%20Pinmux

You can download the excel Jetson Xavier NX Pinmux Table with all the numeration.
So for instance, GPIO#11 would num 216?

Thanks,

I know how to calc NUM for GPIOXX now.

GPIO#11 shuold be gpio422.