# How to access all 40 GPIO headers

**URL:** <https://forums.developer.nvidia.com/t/how-to-access-all-40-gpio-headers/260862>\
**Category:** Jetson Orin NX\
**Tags:** gpio\
**Created:** [July 24, 2023, 6:38pm UTC](https://forums.developer.nvidia.com/t/how-to-access-all-40-gpio-headers/260862 "2023-07-24T18:38:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eldho\_K\_K](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Eldho\_K\_K](https://forums.developer.nvidia.com/u/Eldho_K_K)\
**Post date:** [July 24, 2023, 6:38pm UTC](https://forums.developer.nvidia.com/t/how-to-access-all-40-gpio-headers/260862/1 "2023-07-24T18:38:39Z")

</div>

Hi,

i tried accessing GPIOs using Jetson.GPIO libabry and i was getting invalid value error for GPIO \< 20 and the when i tried configuring it using `sudo /opt/nvidia/jetson-io/jetson-io.py` only 20 GPIOs are accessible, Is it possible to access rest of them?

 ![2023-07-25 00_00_35-Window](https://global.discourse-cdn.com/nvidia/original/4X/c/5/a/c5a2735c4be5c259e53043980bd78d8433216739.png)

---

<div class="post-metadata">

**Author:** ![KevinFFF](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kevinfff/32/15508_2.png) [@KevinFFF](https://forums.developer.nvidia.com/u/KevinFFF)\
**Post date:** [July 25, 2023, 3:06am UTC](https://forums.developer.nvidia.com/t/how-to-access-all-40-gpio-headers/260862/3 "2023-07-25T03:06:26Z")

</div>

Hi Eldho\_K\_K,

Are you using the Orin Nano devkit(p3768) for Orin NX?  
If not, you could not use Jetson-IO to configure 40-pins header.  
Jetson-IO would not work for the custom carrier board due to different board design.

What’s your Jetpack version in use?

---

<div class="post-metadata">

**Author:** ![Eldho\_K\_K](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Eldho\_K\_K](https://forums.developer.nvidia.com/u/Eldho_K_K)\
**Post date:** [July 25, 2023, 3:57am UTC](https://forums.developer.nvidia.com/t/how-to-access-all-40-gpio-headers/260862/4 "2023-07-25T03:57:39Z")

</div>

Hi @KevinFFF,

I have Jetson Orin NX [this](https://www.seeedstudio.com/reComputer-J4011-p-5585.html).

Jetpack installed is 5.1.1

---

<div class="post-metadata">

**Author:** ![KevinFFF](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kevinfff/32/15508_2.png) [@KevinFFF](https://forums.developer.nvidia.com/u/KevinFFF)\
**Post date:** [July 25, 2023, 9:00am UTC](https://forums.developer.nvidia.com/t/how-to-access-all-40-gpio-headers/260862/5 "2023-07-25T09:00:34Z")

</div>

> [@Eldho\_K\_K](#):
>
> I have Jetson Orin NX [this](https://www.seeedstudio.com/reComputer-J4011-p-5585.html).

It seems a custom board from SeeedStudio.  
Those 40 pins may not the same as the devkit so that you could not use Jetson-IO to configure them.

You should use pinmux spreadsheet or modify the pinmux dtsi directly.

---

<div class="post-metadata">

**Author:** ![Eldho\_K\_K](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Eldho\_K\_K](https://forums.developer.nvidia.com/u/Eldho_K_K)\
**Post date:** [July 25, 2023, 12:17pm UTC](https://forums.developer.nvidia.com/t/how-to-access-all-40-gpio-headers/260862/6 "2023-07-25T12:17:47Z")

</div>

Okay thanks

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [August 16, 2023, 1:17am UTC](https://forums.developer.nvidia.com/t/how-to-access-all-40-gpio-headers/260862/8 "2023-08-16T01:17:57Z")

</div>

Closed on August 16, 2023, 1:17am UTC

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