Some GPIO Pins on the Nvidia Jetson are not working

Hi,

i have the following Problem with my Nvidia Jetson AGX Orin Dev Kit:

Some of my GPIO Pins are constantly set to High or Low. I have already used the GPIO configuration tool to make sure that the problematic pins are correctly configured as GPIO pins.

I have completely reflashed the board and set up everything again.

I have also tried out the same script and configuration on one of our older jetsons where everything works perfectly

As i am currently suspecting a electrical issue i have measured the voltage on the pins with a external multimeter when executing my script that toggles the pins. With the multimeter i was able to notice small drop of a few millivolts when the pin switched to low and then again the same increase when it switched to high. matching perfectly with when my script switched the pins. But this is obviously a way to small drop to be noticable as a high low change.

Is there a electrical fault with my board or is there a way to fix this?

Thanks in advance

Hi bigbor14coe,

What’s the Jetpack version in use for AGX Orin?

What do you mean about “GPIO configuration tool”? Is it pinmux spreadsheet?

Could you get a scope and check its state and share the waveform with us for further check?

i am using Jetpack Version 7.2

i used this tool to set the functions of the pins: sudo /opt/nvidia/jetson-io/jetson-io.py

This tool can only configure the pinmux for the pins on 40-pins expansion header.
I would suggest using pinmux spreadsheet and refer to Jetson AGX Orin Platform Adaptation and Bring-Up — NVIDIA Jetson Linux Developer Guide to apply the change.

I followed the way outlined in the document but still got the same results.

I sadly do not have a scope to generate a waveform

Do you still know of any potential solution?

Do you mean the value of the pinmux register is the same after you have applied the change in pinmux spreadsheet?

The Pinmux values stay the same after the new method to set them. They still show correctly that the pins are configured as GPIO but physically nothing changed

Which pin are you trying to control?
Have you tried using gpioset to control it instead of your custom script?

Could you share the current pinmux register value?

Hi Kevin,

We’ve conducted some additional GPIO testing on the AGX Orin Developer Kit and can now provide more specific findings.

We tested 22 GPIO-capable pins on the 40-pin expansion header using libgpiod and external voltage measurements. Initially, 17 passed and 5 failed our manual checks:

Physical pin GPIO Observed issue PADCTL value
11 PR.04 Does not reach HIGH 0x00000000
13 PR.00 Does not reach HIGH 0x00000000
15 PN.01 Does not reach HIGH 0x00000005
35 PI.02 Does not reach LOW 0x00000006
36 PR.05 Does not reach HIGH 0x00000008

We recognize that pin 36 is marked as input-only in the carrier board specification, so we no longer consider that an unexpected failure.

We’ve investigated pin 13 (PR.00) in more detail.

1. GPIO controller state
We used gpioset (libgpiod 1.6.3) to request output HIGH:

sudo gpioset --mode=signal gpiochip0 108=1

While the request was active, /sys/kernel/debug/gpio reported:

gpio-620 (PR.00 |gpioset) out hi

However, physical header pin 13 remained at approximately 0 V, measured against header GND.

2. PADCTL register
Following NVIDIA’s documentation, we inspected PR.00’s PADCTL register at 0x02430080.

Initially:

0x00000000

We then tested the following runtime configuration:

sudo busybox devmem 0x02430080 w 0x00000004

Reading the register back returned 0x00000004, including while the GPIO was requested as output HIGH.

Still, the physical pin remained LOW.

We understand that the correct function selection is pad-specific, so we would appreciate confirmation that this is a valid GPIO output configuration for PR.00.

3. PWM ownership and debugging
/sys/kernel/debug/pwm shows only the pwm-fan consumer on 32a0000.pwm. All other PWM devices are unclaimed.

/sys/kernel/debug/pinctrl/ is not available on this installation, so we cannot currently inspect pinctrl ownership through debugfs.

4. Questions
Could you help us determine the next appropriate diagnostic step?

  • Is 0x00000004 a valid PADCTL configuration for PR.00 in GPIO output mode, or should a different function selector or drive configuration be used?
  • Are there additional GPIO controller or pad output-enable registers that we should inspect when the kernel reports out hi but the physical pin remains LOW?
  • Could the carrier-board TXB0108 level translator, a fault in it or its enable circuitry explain this behavior? Is there a hrecommended measurement point to distinguish a SoC-side problem from a carrier-board problem?
  • Do you have a reference set of working register values for PR.00 on the standard AGX Orin Developer Kit?

Our main concern is distinguishing an incorrect software configuration from a possible hardware fault ASAP.

Thanks for your help!

hello bigbor14coe,

let’s focus on pin-13/PR.00 first.
please disconnect external circuitry from the header and measure its voltage while holding the output LOW and HIGH in separate tests.
please provide the PADCTL readback and /sys/kernel/debug/gpio output during each test.

hey jerry,

sure. Here are our testing results:

First Try (High)

user@localhost:~$ sudo gpioset --mode=signal gpiochip0 108=1 &
[1] 6182
user@localhost:~$ sudo busybox devmem 0x02430080
0x00000000
user@localhost:~$ sudo grep PR.00 /sys/kernel/debug/gpio
 gpio-620 (PR.00               |gpioset             ) out hi

Voltage Output: 083,4mV

Second Try (Low)

user@localhost:~$ sudo gpioset --mode=signal gpiochip0 108=0 &
[1] 6225
user@localhost:~$ sudo busybox devmem 0x02430080
0x00000000
user@localhost:~$ sudo grep PR.00 /sys/kernel/debug/gpio
 gpio-620 (PR.00               |gpioset             ) out lo

Voltage Output: 084,5mV