How to control GPIO input/output and high/low levels from linux command line and driver。

I am new to Orin Nano development board. will need to use your own IMX415 camera in the project.
Need to control CAM0 PWDN, how to operate.
jetson36.6
orin Nano4G

Are you using JetPack 6.0?

You can download the pinmux from Download center (Jetson Nano Pinmux ) and see what is the GPIO ID: For example:

Jetson Nano Signal Name	 GPIO
CAM0_PWDN                GPIO3_PS.07

Then. use the command sudo gpiofind PS.07 to get the GPIO device and offset and sudo gpioset --mode=wait gpiochip# <offset>=1 to set the value.

Manuel Leiva
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com

I used jetpack6.0

Is this still an issue to support? Any result can be shared?

Hi 56101855,

Do you want to control the following pin?

If so, please run the following commands to verify.

$ sudo su
# gpioinfo|grep "PH.06"
# gpioset --mode=wait `gpiofind "PH.06"`=0
# gpioset --mode=wait `gpiofind "PH.06"`=1

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