Universal synchronous asynchronous receiver transmitter (USART)
Figure 246. USART block diagram
TX
IrDA
SIR
RX
ENDEC
SW_RX
block
nRTS
Hardware
flow
nCTS
controller
USARTDIV = DIV_Mantissa + (DIV_Fraction / 8 × (2 – OVER8))
745/1422
PWDATA
Write
(CPU or DMA)
Transmit data register (TDR)
Transmit Shift Register
CR3
DMAT
DMAR
SCEN
NACK
CR2
USART Address
Transmit
control
CR1
RXNE
IDLE
TXEIE
TCIE
TE
IE
IE
USART
interrupt
control
Transmitter
clock
/
[8 x (2 - OVER8)]
SAMPLING
DIVIDER
f
PCLKx(x=1,2)
Doc ID 018909 Rev 4
Read
(CPU or DMA)
Receive data register (RDR)
Receive Shift Register
GTPR
GT
PSC
CR2
HD
IRLP
IREN
LINE
UE
M
Wakeup
unit
CTS LBD
RE
RWU
SBK
USART_BRR
CR1
OVER8
Transmitter rate
TE
/
USARTDIV
DIV_Mantissa
15
Receiver rate
RE
Conventional baud rate generator
PRDATA
(Data register) DR
SCLK control
STOP[1:0]
CKEN CPOL CPHA LBCL
CR1
WAKE
PCE
PS
PEIE
Receiver
Receiver
clock
control
SR
TXE TC RXNE IDLE ORE NF FE
control
DIV_Fraction
4
0
control
RM0090
SCLK
PE
ai16099
Need help?
Do you have a question about the STM32F40 Series and is the answer not in the manual?
Questions and answers