NUC970 Technical Reference Manual
Publication Release Date: Dec. 15, 2015
- 425 -
Revision V1.30
NUC97
0
T
E
CHNIC
A
L
RE
F
E
RE
N
CE
MA
NUA
L
Program Sequence example:
Program FUN_SEL(UA_FUN_SEL[2:0]) to select RS-485 function.
Program the RX_DIS(UA_FCR[8]) to determine enable or disable RS-485 receiver
Program the RS485_NMM(UA_ALT_CSR[6]) or RS485_AAD(UA_ALT_CSR[9]) mode.
If the RS-485_AAD mode is selected, the ADDR_MATCH is programmed for auto address match
value.
Determine auto direction control by programming RS-485_AUD.
Figure 5.16-10 RS-485 Frame Structure
LIN (Local Interconnection Network) Mode
5.16.5.8
The UART supports LIN function. The LIN mode is selected by setting the
(FUN_SEL(UA_FUN_SEL[2:0]) = 001). The UART support LIN break/delimiter generation and
break/delimiter detection in LIN master mode, support header detection and automatic
resynchronization in LIN slave mode.
Start
bit
D0 D1
D2 D3 D4 D5 D6 D7
Tx
P
STOP
RTS
Drive Enable
RX
TX
RTS
Drive Enable
Differential Bus
RS-485 transceiver
UART / RS485 Controller