IoTGateway/BSP/Android/Gettingstarted/How to use UART for rk

From ESS-WIKI
Revision as of 05:25, 16 November 2017 by Wei.zeng (talk | contribs)
Jump to: navigation, search

Overview

The Android/Linux UART/serial port access from user is through the tty-devices. The tty-devices have different names depending on UART driver on different board.

RS-485

RS-485 uses half-duplex communication, which means that one medium is shared for transmitting and receiving data. Therefore the system needs to control the RS-485 transceiver's transmit mode. Usually the UART RTS signal is used to switch the transmitter on and off.

Boards

RSB4680 Borad

COM Name Device

RS485 support

COM1
/dev/ttyS2

COM2
/dev/ttyS4
Yes
COM3


COM4


COM5


COM6








 ROM3420 COM.png