Serial Interface Testing; Buzzer Testing - Embest SBC8600B User Manual

Hide thumbs Also See for SBC8600B:
Table of Contents

Advertisement

Embest Technology Co., Ltd

3.11.14 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 to TF card, and then instert it on the board. Execute the following
instructions in the terminal window;
root@arm:~ # /embest/uart_test -d /dev/ttyS2 -b 115200
The following information in the terminal window indicates a successful testing.
dev/ttyO2 SEND: 1234567890
/dev/ttyS2 RECV 10 total
/dev/ttyS2 RECV: 1234567890
/dev/ttyS2 SEND: 1234567890
/dev/ttyS2 RECV 10 total
/dev/ttyS2 RECV: 1234567890
/dev/ttyS2 SEND: 1234567890
/dev/ttyS2 RECV 10 total
/dev/ttyS2 RECV: 1234567890
/dev/ttyS2 SEND: 1234567890
/dev/ttyS2 RECV 10 total
/dev/ttyS2 RECV: 1234567890
/dev/ttyS2 SEND: 1234567890
/dev/ttyS2 RECV 10 total
/dev/ttyS2 RECV: 1234567890
The same testing method can be applied on UART3, UART4 and UART5 of J6 and J7 on
SBC8600B

3.11.15 Buzzer Testing

Enable the buzzer;
root@arm:~# echo 1 > /sys/class/leds/buzzer/brightness
Disable the buzzer
root@arm:~# echo 0 > /sys/class/ leds/buzzer/brightness
Copyright © 2017 Embest Technology
SBC8600B-UM-V2.0
80

Advertisement

Table of Contents
loading

Table of Contents