Page | 71
6.8.12
RS485 Testing
Please connect the RS485 interfaces on both SBC8600B and another device
according to the schematics and the diagram shown below:
Figure 12: RS485 Interface
The RS485 interface works under half-duplex mode, i.e. communication
works in both directions, but only in one direction at a time (not
simultaneously). Copy the file uart_test under linux\example\uart_test onto
the TF card, and then insert the card into the SBC8600B and execute the
following instructions:
root@SBC8600:~# cd /media/mmcblk0p1/
root@SBC8600:/media/mmcblk0p1# ./uart_test -d /dev/ttyO1 -b 115200
/dev/ttyO1 SEND: 1234567890
/dev/ttyO1 RECV 10 total
/dev/ttyO1 RECV: 1234567890
/dev/ttyO1 SEND: 1234567890
/dev/ttyO1 RECV 10 total
/dev/ttyO1 RECV: 1234567890
/dev/ttyO1 SEND: 1234567890
/dev/ttyO1 RECV 10 total
/dev/ttyO1 SEND: 1234567890
/dev/ttyO1 RECV 10 total
Summary of Contents for SBC8600B
Page 1: ...SBC8600B Single Board Computer Quick Start Guide Version 1 1 23rd Jan 2014...
Page 9: ...Page 2 1 3 Board Interfaces Figure 1 SBC8600B Interfaces...
Page 10: ...Page 3 1 4 System Block Diagram Figure 2 SBC8600B System Block Diagram...
Page 11: ...Page 4 1 5 Physical Dimensions Figure 3 MINI8600B Physical Dimensions...
Page 12: ...Page 5 Figure 4 SBC8600B Physical Dimensions...
Page 114: ...Page 107...