NVIDIA Jetson AGX Xavier GPIO Header Pinout not working

I’ve been trying to use my AGX’s gpio pins for a simple push button. I’ve tried the same push button on my Jetson NX and it’s working fine. But the AGX seems to not be reading the input from the Button.
The output pins on the AGX (Such as the 3.3V pin) works fine but all the other input pins don’t read anything. Is this a common problem with AGX and how can I fix it?

My AGX info:
NVIDIA Jetson AGX Xavier [16GB]
L4T 32.3.1 [ JetPack 4.3 ]
Ubuntu 18.04.5 LTS
Kernel Version: 4.9.140-tegra
CUDA Architecture: 7.2
OpenCV version: 4.1.1
OpenCV Cuda: NO
Vulcan: 1.1.70

hello farshad.bolouri,

did you using 40‑pin expansion header?
here’s Jetson-IO tool to simplify the configuration of the I/Os exposed by the 40‑pin expansion header.
please check developer guide, Configuring the 40-Pin Expansion Header for reference,

Yes that’s what I’m talking about. The 40pin expansion header.
The output pins such as the 3.3v pin (pin 1) work fine. But the input pins such as (pin 15) don’t read any signals. I’ve done the same exact procedure with my Jetson Xavier NX and it works fine but the AGX doesn’t read any signals.

Thank You

hello farshad.bolouri,

it’s pin15, GPIO3_PN.01, gpio number is 393.
are you able to see the pin state change via sysnode?
for example,

# echo 393 > /sys/class/gpio/export
# cd /sys/class/gpio/gpio393
# cat value

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