The UART controller includes the following features:
- Fully programmable serial interface
- 5, 6, 7 or 8 data bits
- Even, odd, stick, or no-parity bit generation and detection
- 1 or 2 stop bit generation
- LSB-first or MSB-first data transmit and receive
- Line-break detection
- Glitch filter on the input signals
- Programmable baud-rate generation with oversampling by 16, 8 or 3
- Separated transmit and receive 4 depth FIFOs reduce CPU interrupt service loading
- Supports DMA data transfer
- Standard FIFO-level and End-of-Transmission interrupts
- Active in all low-power mode including stop and standby mode
- Support for waking up SYSOSC via an asynchronous fast clock request upon start bit detection when operating in low power modes (supports up to 19200B rates when using SYSOSC in FCL mode (1% accuracy)
- Support loopback mode operation
- Support hardware flow control
- Support 9-bit multi-drop configuration
- Protocols supported:
- Local Interconnect Network (LIN) support
- DALI
- IrDA
- ISO7816 Smart card
- RS485
- Manchester coding
- Idle-Line Multiprocessor
There are two types of UART instances: Extend and Main. The following table compares the features of UART Extend and UART Main.
Table 19-1 UART Extend and Main Features(1)
Features |
UART Extend |
UART Main (PD0) |
Instances |
UART0, UART1(2)(4) |
UART1-UART4 |
Hardware flow control |
Yes |
Yes |
Oversampling options |
3, 8, 16 |
3, 8, 16 |
Separate transmit and receive FIFOs |
Yes |
Yes |
Active in STOP and STANDBY modes |
Yes(2) |
Yes(2) |
Wake-up with start bit |
Yes(3) |
Yes(3) |
Digital Glitch filter |
Yes |
No |
Analog Glitch filter |
Yes |
Sometimes |
9-bit multi-drop configuration |
Yes |
Yes |
Idle-Line Multiprocessor |
Yes |
Yes |
RS-485 |
Yes |
Yes |
Support LIN mode |
Yes |
- |
Support DALI |
Yes |
- |
Support IrDA |
Yes |
- |
Support ISO7816 Smart card |
Yes |
- |
Support Manchester code |
Yes |
- |
(1) Refer to the device-specific data sheet for the device-specific configuration of UART extend and UART main modules and their power domains.
(2) UART can be active in all low-power modes including STOP and STANDBY unless the UART instance is in power domain 1 (PD1). Refer to device-specific data sheet for UART instances and power domains
(3) Only UART instance in power domain 0 (PD0).
(4) UART1 is UART Extend in MSPM0Lx22x devices only.