Control GPIO pin

Hi team

I’m using jetson Agx orin custom board. I want to control the GPIO17(A54) . how can i control that Pin so that i can make that as high when the default state is low.

Hi sireesha,

What’s the Jetpack version in use?

Please configure it Output/Drive 0 as following in pinmux spreadsheet and refer to Jetson AGX Orin Platform Adaptation and Bring-Up — NVIDIA Jetson Linux Developer Guide to apply the change.
image
After booting up, you can simply run the following command to control it high.

# gpioset --mode=wait `gpiofind "PP.04"`=1

Thank I am able to control the gpio17.
How can i control the GP162_SPI5_MISO pin.it is already configured as MISO. what i have to do configured as GPIO output.

It seems this pin has been configured as GPIO(i.e. GPIO3_PAC.01) by default as following.
image
Please simply run the following command to control it.

# gpioset --mode=wait `gpiofind "PAC.01"`=0
# gpioset --mode=wait `gpiofind "PAC.01"`=1