10.11 Button Test
Power adapter and Allspark Orin NX main unit.
1 min read · English documentationButton Test
Test Equipment
Power adapter and Allspark-Orin NX main unit.
Test Objective
Test the functionality of the button-related circuitry.
Test Procedure
Test the USER Button First
| Hardware Pin Name | Internal Software Name | Internal Software Number |
|---|---|---|
| gpio08 | PQ.02 | 450 |
- Enter the password to become the superuser.
sudo su
- Export GPIO 450 as follows.
echo 450 > /sys/class/gpio/export
- Set the GPIO as an input.
echo in > /sys/class/gpio/PQ.02/direction
- Hold down the USER button and enter the command to verify that the level is low. Release the USER button and enter the command to verify that the level is high.
cat /sys/class/gpio/PQ.02/value

RST Button Test
Press and hold RST for one second, and then release it. The onboard computer restarts.
REC Button Test
Refer to the OTG test procedure in Section 3.4.1.
