Jetson Orin Nano GPIO pins changing default state

Hey!

I so I want to change the default high state of the GPIO pins on my Jetson Orin Nano that has jetpack 6.1 (R36, revision 4.0).

For example if I want to control something through the GPIO pins of my jetson when I set it to low, it does only for some microseconds but then keeps it always high, using the below code.

“the normal setup code using GPIO.BOARD”
pin =33
gpio.output(pin,0)

The above lines of code should keep the pin to low unless I again set it to high, that’s how it works in raspberry pi gpio pins as well. But in jetson it is doing only for a microsecond and then turns it back to high always.

how can I change this behaviour of the jetson orin nano gpio pins in the jetpack version 6.1 or above?

Please help me with this issue ASAP.

Thanks!

Hi jurathi2,

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

It seems you are trying to control PIN33 of 40 pins expansion header as following.
image

Have you configured the pinmux for PH.00 as Output/Drive 0 in pinmux spreadsheet before use?

I am using the devkit. No I haven’t configured pinmux. Could you please guide me or provide me resources using which I can configure the pinmux?