Universal synchronous asynchronous receiver transmitter (USART)
36.4
USART implementation
The STM32L4x6 devices embed 3 USARTs, 2 UARTs and 1 LPUART. The
describes the features supported by each peripheral.
USART modes/features
Hardware flow control for modem
Continuous communication using DMA
Multiprocessor communication
Synchronous mode
Smartcard mode
Single-wire half-duplex communication
IrDA SIR ENDEC block
LIN mode
Dual clock domain and wakeup from Stop mode
Receiver timeout interrupt
Modbus communication
Auto baud rate detection
Driver Enable
LPUART/USART data length
1. X = supported.
36.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.
1180/1693
Table 191. STM32L4x6 USART/UART/LPUART features
(1)
DocID024597 Rev 3
USART1 USART2 USART3
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X (4 modes)
X
X
Table 191
UART4
UART5
X
X
X
X
X
X
X
X
X
X
-
-
X
-
-
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
7, 8 and 9 bits
RM0351
LPUART1
X
X
X
-
-
X
-
-
X
-
-
-
X
Need help?
Do you have a question about the STM32L4x6 and is the answer not in the manual?
Questions and answers