Gpio; Gpio Pins; Gpio Loopback Test (Using Gpio2 And Gpio4 As Examples); Watchdog - Advantech RSB-3810 User Manual

Mediatek genio 1200 cortex a78 & a55 2.5" sbc with uio40-express
Table of Contents

Advertisement

3.10

GPIO

3.10.1

GPIO Pins

Table 3.1: UIO Extension 1 (UIO1)
Pin
GPIO2
GPIO4
Table 3.2: UIO Extension 2 (UIO2)
Pin
GPIO5
GPIO6
GPIO7
GPIO8
GPIO9
GPIO10
GPIO11
GPIO12
3.10.2

GPIO Loopback Test (Using GPIO2 and GPIO4 as examples)

Step 1: Connect GPIO2 and GPIO4
Step 2: Export GPIO interface
# echo 315 > /sys/class/gpio/export
# echo 316 > /sys/class/gpio/export
Step 3: Set GPIO direction
# echo out > /sys/class/gpio/gpio1/direction
# echo in > /sys/class/gpio/gpio2/direction
Step 4: Read value and set output value than check
# cat /sys/class/gpio/gpio2/value 0
# echo 1 > /sys/class/gpio/gpio1/value
# cat /sys/class/gpio/gpio2/value
1
3.11

Watchdog

3.11.1

Internal Watchdog

Step 1: System will reboot after 60 sec. androidboot.bootreason=HW_reboot
# stop watchdogd
Step 2: System will reboot after 60 sec. androidboot.bootreason=HW_reboot
# stop watchdogd && echo 1 > /dev/watchdog
RSB-3810 User Manual
Numbers
315
316
Numbers
317
318
319
320
321
322
323 or 408
324 or 409
38

Advertisement

Table of Contents
loading

Table of Contents