Jetson Orin Nano - GPIO Problem

Hello,

I am having a GPIO problem on my Jetson Orin Nano. None of the pins generate a HIGH output. Below is the code I am working with:

import RPi.GPIO as GPIO

GPIO.setmode(GPIO.BOARD)
pin_number = 33 # I have also tried with 26, 28, 31, 38, 40
GPIO.setup(pin_number, GPIO.OUT, initial=1)
GPIO.output(pin_number, 1)

The OS version of Jetson Orin Nano is R36 (release), REVISION: 3.0

This code works on my Jetson Nano with Jetpack 4.6. What might be problem?

Thanks a lot

Hi sencer.yucel,

Are you using the devkit or custom board for Orin Nano?

Could your refer to Jetson.GPIO to control GPIO through python script?

I am using devkit. I’ve already referred to that repo but nothing changed. Pins work as expected if they are set to input mode, but nothing changes on them in output mode.

I think the issue may be caused from the pinmux.
Most of the pin are configured as Input by default.
Please configure them as Output or Bidirectional in pinmux spreadsheet before use them as Output.

Would downgrading the board to Jetpack 5.x.x solve the problem?

I think JP5 could work if you don’t configure the pin as output in pinmux.
The sysfs to control GPIO is also available in JP5 but removed in JP6.

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