Universal synchronous/asynchronous receiver transmitter (USART/UART) RM0367
766/1043 RM0367 Rev 7
29.4 USART implementation
29.5 USART functional description
Any USART bidirectional communication requires a minimum of two pins: Receive data In
(RX) and Transmit data Out (TX):
• RX: Receive data Input.
This is the serial data input. Oversampling techniques are used for data recovery by
discriminating between valid incoming data and noise.
• TX: Transmit data Output.
When the transmitter is disabled, the output pin returns to its I/O port configuration.
When the transmitter is enabled and nothing is to be transmitted, the TX pin is at high
level. In Single-wire and Smartcard modes, this I/O is used to transmit and receive the
data.
Table 139. STM32L0x3 USART/LPUART features
(1)
USART modes/features USART1/2 USART4 USART5 LPUART1
Hardware flow control for modem X X - X
Continuous communication using DMA X X X X
Multiprocessor communication X X X X
Synchronous mode X X X -
Smartcard mode X - - -
Single-wire Half-duplex communication X X X X
Ir SIR ENDEC block X - - -
LIN mode X - - -
Dual clock domain and wakeup from Stop mode X - - X
Receiver timeout interrupt X - - -
Modbus communication X - - -
Auto baud rate detection X - - -
Driver Enable X X X X
USART/LPUART data length 7
(2)
, 8 and 9 bits
1. X = supported.
2. In 7-bit data length mode, Smartcard mode, LIN master mode and Auto baud rate (0x7F and 0x55 frames) detection are not
supported.