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?
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.