Rs485 Testing - Embest SBC8600B Quick Start Manual

Hide thumbs Also See for SBC8600B:
Table of Contents

Advertisement

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
Page | 71

Advertisement

Table of Contents
loading

Table of Contents