Hi,
I want to use Jetson xavier AGX board extern 40 pin gpio,below is my operation. I find there’s no change in the level.The gpio is always low level.Can you give me some advise?
root@ubuntu:/sys/class/gpio# echo 352 > export
root@ubuntu:/sys/class/gpio# ls
export gpiochip305 gpiochip335 gpiochip504 PC.07 unexport
root@ubuntu:/sys/class/gpio# echo "out" > PC.07/
active_low direction power/ uevent
device/ edge subsystem/ value
root@ubuntu:/sys/class/gpio# echo "out" > PC.07/
active_low direction power/ uevent
device/ edge subsystem/ value
root@ubuntu:/sys/class/gpio# echo "out" > PC.07/direction
root@ubuntu:/sys/class/gpio# echo 1 > PC.07/value
root@ubuntu:/sys/class/gpio# echo 0 > PC.07/value
Hi xubin4952,
Are you using the devkit or custom board for AGX Xavier?
What’s your Jetpack version in use?
It seems PIN40(I2S_SDOUT) is PI.00
rather than PC.07
.
Please share the result of the following command for further check.
# cat /sys/kernel/debug/gpio|grep PI.00
Hi Kevin,
I am using devkit.Do you have a user guide for extern 40 pin?
R35.0
~$ sudo cat /sys/kernel/debug/gpio|grep PI.00
gpio-387 (PI.00
Hi Kevin,
Can you provide some advice?
You can download the Jetson AGX Xavier Developer Kit Carrier Board Specification
in Jetson Download Center | NVIDIA Developer for details.
xubin4952:
R35.0
Do you mean R35.5.0?
xubin4952:
gpio-387 (PI.00
Please run the following command to verify the controlling for PIN40 of 40-pins expansion header.
$ sudo su
# cd /sys/class/gpio
# echo 387 > export
# cat PI.00/direction
# cat PI.00/value
# echo out > PI.00/direction
# echo 1 > PI.00/value
# echo 0 > PI.00/value
Hi Kevin ,
Thank you for your reply!
KevinFFF:
Do you mean R35.5.0?
Yes
KevinFFF:
Please run the following command to verify the controlling for PIN40 of 40-pins expansion header.
$ sudo su
# cd /sys/class/gpio
# echo 387 > export
# cat PI.00/direction
# cat PI.00/value
# echo out > PI.00/direction
# echo 1 > PI.00/value
# echo 0 > PI.00/value
PIN40 of 40-pins expansion header can work now , thank you!
I want to know how to confirm the number of gpio pin like 387 for I2S_SDOUT(PI.00).
How to get the number of other pin?