Serial Interface Testing; Buzzer Testing - Embest SBC8600B Quick Start Manual

Hide thumbs Also See for SBC8600B:
Table of Contents

Advertisement

6.8.13 Serial Interface Testing

Short the pins RX3V3 and TX3V3 of J5 on the board and copy the file
uart_test under linux\example\uart_test into TF card, and then insert it into
the board. Execute the following instructions in the terminal window;
root@SBC8600:~# cd /media/mmcblk0p1/
root@SBC8600:/media/mmcblk0p1# ./uart_test -d /dev/ttyO2 -b 115200
The following information in the terminal window indicates a successful test.
dev/ttyO2 SEND: 1234567890
/dev/ttyO2 RECV 10 total
/dev/ttyO2 RECV: 1234567890
/dev/ttyO2 SEND: 1234567890
/dev/ttyO2 RECV 10 total
/dev/ttyO2 RECV: 1234567890
/dev/ttyO2 SEND: 1234567890
/dev/ttyO2 RECV 10 total
/dev/ttyO2 RECV: 1234567890
/dev/ttyO2 SEND: 1234567890
/dev/ttyO2 RECV 10 total
/dev/ttyO2 RECV: 1234567890
/dev/ttyO2 SEND: 1234567890
/dev/ttyO2 RECV 10 total
/dev/ttyO2 RECV: 1234567890
The same testing method can be applied on serial interfaces 3, 4 and 5 of J6
and J7 on the SBC8600B

6.8.14 Buzzer Testing

1. Enable the buzzer;
root@SBC8600:~# echo 1 > /sys/class/misc/buzzer_ctl/state
2. Disable the buzzer
root@SBC8600:~# echo 0 > /sys/class/misc/buzzer_ctl/state
Page | 72

Advertisement

Table of Contents
loading

Table of Contents