Universal synchronous asynchronous receiver transmitter (USART)
RM0365
837/1080
DocID025202 Rev 7
29.4 USART
implementation
Table 152. STM32F302xx USART features
USART
modes/features
(1)
STM32F302xB/C
STM32F302xD/E
STM32F302x6/8
USART1/
USART2/
USART3
UART4
UART5
USART1/
USART2/
USART3
UART4
UART5
USART1
USART2/
USART3
Hardware flow control for
modem
X
-
-
X
-
-
X
X
Continuous
communication using
DMA
X
X
-
X
X
-
X
X
Multiprocessor
communication
X
X
X
X
X
X
X
X
Synchronous mode
X
-
-
X
-
-
X
X
Smartcard mode
X
(2)(3)
-
-
X
(4)
-
-
X
(4)
-
Single-wire Half-duplex
communication
X
X
X
X
X
X
X
X
IrDA SIR ENDEC block
X
X
X
X
X
X
X
-
LIN mode
X
X
X
X
X
X
X
-
Dual clock domain and
wakeup from Stop mode
X
X
X
X
X
X
X
-
Receiver timeout
interrupt
X
X
X
X
X
X
X
-
Modbus communication
X
X
X
X
X
X
X
-
Auto baud rate detection
X
(4 modes)
-
-
X
(4 modes)
-
-
X
(4 modes)
-
Driver Enable
X
-
-
X
-
-
X
X
USART data length
8 and 9 bits
7, 8 and 9 bits
7, 8 and 9 bits
1. X = supported.
2. CK output is disabled when UE bit = 0.
3. With the following limitation for STM32F302xB/C: If the USART is used in smartcard mode and the card cannot use the
default communication parameters after Answer To Reset and doesn’t support clock stop, it is not possible to use CK to clock
the card. This is due to the fact that the USART and its clock output must be disabled while reprogramming some of the
parameters.
4. CK is always available when CLKEN = 1, regardless of the UE bit value.