7.3 Buttons
When flashing an image file, press the REC button before applying power and hold it for 3 seconds to enter OTG mode.
1 min read · English documentationRecovery Button
When flashing an image file, press the REC button before applying power and hold it for 3 seconds to enter OTG mode.
Reset Button
Press and hold the RST button for 1 second to restart the system.
User-Programmable Button
Internally, this is a standard bidirectional GPIO mapped to port 450. Users can define its function.
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

