
NUC126
Aug. 08, 2018
Page
869
of 943
Rev 1.03
NUC12
6 S
E
RI
E
S
T
E
CH
NI
CA
L R
E
F
E
RE
NCE
MA
NUA
L
WKIF =
RFRTWKF
Write ‘1’ to
RFRTWKF
WKIF =
RS485WKF
Write ‘1’ to
RS485WKF
WKIF =
TOUTWKF
Write ‘1’ to
TOUTWKF
Auto-Baud
Rate
Interrupt
ABRINT
ABRIEN
ABRIF
ABRIF =
ABRDIF
Write
‘1’ to
ABRDIF
ABRIF =
ABRDTOIF
Write
‘1’ to
ABRDTOIF
Table 6.23-8 UART Controller Interrupt Source and Flag List
6.23.5.8 UART Function Mode
The UART controller provides UART function (Setting FUNCSEL (UART_FUNCSEL [1:0]) to ’00’ to
enable UART function mode). The UART baud rate is up to 1 Mbps.
The UART provides full-duplex and asynchronous communications. The transmitter and receiver
contain 16 bytes FIFO for payloads. User can program receiver buffer trigger level and receiver buffer
time-out detection for receiver. The transmitting data delay time between the last stop and the next
start bit can be programed by setting DLY (UART_TOUT [15:8]) register. The UART supports
hardware auto-flow control that provides programmable nRTS flow control trigger level. The number of
data bytes in RX FIFO is equal to or greater than RTSTRGLV (UART_FIFO[19:16]), the nRTS is de-
asserted.
UART Line Control Function
The UART controller supports fully programmable serial-interface characteristics by setting the
UART_LINE register. User can program UART_LINE register for the word length, stop bit and parity bit
setting. Table 6.23-9 and Table 6.23-10 list the UART word, stop bit length and the parity bit settings.
NSB
(UART_LINE[2])
WLS
(UART_LINE[1:0])
Word Length (Bit)
Stop Length (Bit)
0
00
5
1
0
01
6
1
0
10
7
1
0
11
8
1
1
00
5
1.5
1
01
6
2
1
10
7
2
1
11
8
2
Table 6.23-9 UART Line Control of Word and Stop Length Setting