# Jetson Xavier NX 40 pin GPIO Header

**URL:** <https://forums.developer.nvidia.com/t/jetson-xavier-nx-40-pin-gpio-header/251228>\
**Category:** Jetson Xavier NX\
**Tags:** gpio\
**Created:** [April 25, 2023, 12:03pm UTC](https://forums.developer.nvidia.com/t/jetson-xavier-nx-40-pin-gpio-header/251228 "2023-04-25T12:03:08Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![shreyas.pa](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@shreyas.pa](https://forums.developer.nvidia.com/u/shreyas.pa)\
**Post date:** [April 25, 2023, 12:03pm UTC](https://forums.developer.nvidia.com/t/jetson-xavier-nx-40-pin-gpio-header/251228/1 "2023-04-25T12:03:08Z")

</div>

Hello,

I am working on Xavier NX with L4T 35.2.1.

The voltage for the 40-pin GPIO Header pins is expected to be 3.3V. But We are seeing the voltage to be around 0.4V of the GPIO “I2S0\_DOUT - PT.06” pin when made high from the sysfs entry.  
When set to 0 we are seeing 0V as expected. But when it is made HIGH it is reaching only 0.4V.  
We have not seen this issue in the old L4T 32.5 version but exists with 35.2.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:** [April 26, 2023, 2:39am UTC](https://forums.developer.nvidia.com/t/jetson-xavier-nx-40-pin-gpio-header/251228/3 "2023-04-26T02:39:46Z")

</div>

Hi shreyas.pa,

Are you using the devkit or custom board for Xavier NX?

Have you tried latest [R35.3.1](https://developer.nvidia.com/embedded/jetson-linux-r3531)?

Could you help to provide the command you use to pull PT.06 to high and we can reproduce locally on the devkit?

---

<div class="post-metadata">

**Author:** ![shreyas.pa](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@shreyas.pa](https://forums.developer.nvidia.com/u/shreyas.pa)\
**Post date:** [April 26, 2023, 6:29am UTC](https://forums.developer.nvidia.com/t/jetson-xavier-nx-40-pin-gpio-header/251228/4 "2023-04-26T06:29:46Z")

</div>

Hi @KevinFFF

I am using Jetson Xavier NX devkit.

This was working properly with 32.5. I have not tried with 35.3.1, we just ported from 32.5 to 35.2.1. and are testing. Apart from this everything seems fine. I have tried probing with the multimeter as well as oscilloscope, but results are same.

Commands used to configure PT.06:  
echo 463 \> /sys/class/gpio/export  
echo out \> /sys/class/gpio/PT.06/direction  
echo 1 \> /sys/class/gpio/PT.06/value

I can confirm that, this is not an HW issue since the old version works well with this setup and have tried with 2 devkits.

Thanks,  
Shreyas

---

<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:** [April 26, 2023, 8:15am UTC](https://forums.developer.nvidia.com/t/jetson-xavier-nx-40-pin-gpio-header/251228/5 "2023-04-26T08:15:23Z")

</div>

Could you help to capture the pinmux condiguration of PT.06?

```auto
$cat /sys/kernel/debug/pinctrl/2430000.pinmux/pinconf-groups|grep -i pt6

```

---

<div class="post-metadata">

**Author:** ![shreyas.pa](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@shreyas.pa](https://forums.developer.nvidia.com/u/shreyas.pa)\
**Post date:** [April 27, 2023, 7:24am UTC](https://forums.developer.nvidia.com/t/jetson-xavier-nx-40-pin-gpio-header/251228/6 "2023-04-27T07:24:36Z")

</div>

Hi @KevinFFF ,

Sorry, found out to be an issue with the HW.

The voltage levels are fine with one more Jetson devkit. We have a FPGA board from lattice which isconnected to Jetson Xavier NX over 40-pin header. My motive is to flash the FPGA board from Lattice Radiant Tool. We have 3 GPIO’s from the 40 pin header which are used for this purpose.

- GPIO07 PR.00 (443) - ProgramN GPIO-\> For Programming the FPGA
- I2S0\_DOUT PT.06 (463) - Mux Selection GPIO → Should be 1 for flashing the FPGA board from Lattice radiant tool and should be 0 to upgrade firmware from Jetson.
- UART1\_CTS PR.05 (448) - Jtag Disable → For disabling Jtag if FW upgrade to be done from Jetson.

The requirements to flash the FPGA board through the tool is to make these 3 GPIO’s HIGH.  
Even though the GPIO’s are high, flashing is still failing. It fails to scan the board from the Radiant tool.

With the same HW setup and with L4T 32.5 BSP running on it, the FPGA flashing operation is successful. But fails with L4T 35.2.1.  
What could be causing a failure? Apart from the L4T version there isn’t any change in FPGA board or the firmware.

Thanks,  
Shreyas

---

<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:** [April 27, 2023, 10:09am UTC](https://forums.developer.nvidia.com/t/jetson-xavier-nx-40-pin-gpio-header/251228/7 "2023-04-27T10:09:27Z")

</div>

> [@shreyas.pa](#):
>
> The requirements to flash the FPGA board through the tool is to make these 3 GPIO’s HIGH.

So, could you pull these 3 GPIO to high with L4T 35.2.1 before flashing FPGA?

> [@shreyas.pa](#):
>
> With the same HW setup and with L4T 32.5 BSP running on it, the FPGA flashing operation is successful. But fails with L4T 35.2.1.  
> What could be causing a failure?

Sorry, we don’t have this FPGA board and the flashing process for this FPGA board.  
Do you have any log or know which part failed during flash?

---

<div class="post-metadata">

**Author:** ![shreyas.pa](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@shreyas.pa](https://forums.developer.nvidia.com/u/shreyas.pa)\
**Post date:** [April 27, 2023, 12:45pm UTC](https://forums.developer.nvidia.com/t/jetson-xavier-nx-40-pin-gpio-header/251228/9 "2023-04-27T12:45:10Z")

</div>

Hi @KevinFFF ,

Yes we will pull these GPIOs high before flashing the FPGA board. All the voltage levels seems to be fine 0V when pulled low and 3.3V when pulled high.

Attaching failure log and working log(with 32.5).  
[fpga\_flash\_failure\_35.2.1\_log.txt](https://forums.developer.nvidia.com/uploads/short-url/81WE3oE76a3W4GDPnei0GsAeo1G.txt) (3.7 KB)  
[fpga\_success\_32.5\_log.txt](https://forums.developer.nvidia.com/uploads/short-url/2xkZCIIwVEKjohk9mr9pUgO42AG.txt) (8.6 KB)

---

<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:** [April 28, 2023, 2:33am UTC](https://forums.developer.nvidia.com/t/jetson-xavier-nx-40-pin-gpio-header/251228/10 "2023-04-28T02:33:20Z")

</div>

> [@shreyas.pa](#):
>
> Yes we will pull these GPIOs high before flashing the FPGA board. All the voltage levels seems to be fine 0V when pulled low and 3.3V when pulled high.

If the GPIO behavior is expected, I might could not help you more with FPGA update issue as I mentioned before. We don’t know your FPGA flash process, and it seems another topic to discuss with..

---

<div class="post-metadata">

**Author:** ![shreyas.pa](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@shreyas.pa](https://forums.developer.nvidia.com/u/shreyas.pa)\
**Post date:** [April 28, 2023, 7:17am UTC](https://forums.developer.nvidia.com/t/jetson-xavier-nx-40-pin-gpio-header/251228/11 "2023-04-28T07:17:52Z")

</div>

Okay we will debug this.

Thanks for your support : )

---

<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:** [May 30, 2023, 7:39am UTC](https://forums.developer.nvidia.com/t/jetson-xavier-nx-40-pin-gpio-header/251228/13 "2023-05-30T07:39:28Z")

</div>

Closed on May 30, 2023, 7:39am UTC

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