Failed to set GPIO on JP6

Hello,

I’m trying to use the GPIO on Agx Orin (Running JP6.0). I’ve followed the instruction here to change a the pin to GPIO output dynamically.
The command I used to configure the GPIO is:
sudo busybox devmem 0x02435008 w 0x004

I can see that the pin (GPIO_08, pin 16 on the 40 header) has been set to output mode with gpioinfo tool.
image

But when I used the jetson-gpio to set this pin output state, it doesn’t work. Measured with multimetter, the output never changes.

The tricky thing is I did the same thing on (GPIO_33, pin 7 on the 40 header), it worked fine.

Please help with this, anything I did wrong?

Hi,
There is a known issue in GPIO control. Please apply the patch and rebuild kernel:

Jetson/L4T/r36.3.x patches - eLinux.org
[GPIO] Fix bit 10(SFIO) been set by gpiod

And please use libgpiod.

Thanks. Will try it.

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