
M0A21/M0A23 Series
May 06, 2022
Page
416
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
6.11 UART Interface Controller (UART)
6.11.1 Overview
The chip provides two channels of Universal Asynchronous Receiver/Transmitters (UART). The UART
controller performs serial-to-parallel conversion on data received from the peripheral and parallel-to-
serial conversion on data transmitted from the CPU. Each UART controller channel supports eleven
types of interrupts. The UART controller supports flow control function. The UART controller also
supports LIN, IrDA SIR, RS-485, and Single-wire function modes and auto-baud rate measuring
function.
6.11.2 Features
Full-duplex asynchronous communications
Separates receive and transmit 16/16 bytes entry FIFO for data payloads
Supports hardware auto-flow control
Programmable receiver buffer trigger level
Supports programmable baud rate generator for each channel individually
Supports nCTS, incoming data, Received Data FIFO reached threshold and RS-485
Address Match (AAD mode) wake-up function
Supports 8-bit receiver buffer time-out detection function
Programmable transmitting data delay time between the last stop and the next start bit by
setting DLY (UART_TOUT[15:8])
Supports Auto-Baud Rate measurement and baud rate compensation function
–
Supports 9600 bps for UART_CLK is selected LXT.
Supports break error, frame error, parity error and receive/transmit buffer overflow
detection function
Fully programmable serial-interface characteristics
–
Programmable number of data bit, 5-, 6-, 7-, 8- bit character
–
Programmable parity bit, even, odd, no parity or stick parity bit generation and
detection
–
Programmable stop bit, 1, 1.5, or 2 stop bit generation
Supports IrDA SIR function mode
–
Supports for 3/16 bit duration for normal mode
Supports LIN function mode
–
Supports LIN master/slave mode
–
Supports programmable break generation function for transmitter
–
Supports break detection function for receiver
–
Supports LIN slave header time-out detection function
–
Supports LIN response time-out detection function
–
Supports LIN wake-up function
Supports RS-485 function mode
–
Supports RS-485 9-bit mode
–
Supports hardware or software enables to program nRTS pin to control RS-485