Download Print this page

ST STM32L4+ Series Reference Manual page 1748

Hide thumbs Also See for STM32L4+ Series:

Advertisement

Universal synchronous/asynchronous receiver transmitter (USART/UART)
Note:
In master mode, the SCLK pin operates in conjunction with the TX pin. Thus, the clock is
provided only if the transmitter is enabled (TE=1) and data are being transmitted
(USART_TDR data register written). This means that it is not possible to receive
synchronous data without transmitting data.
Figure 502. USART data clock timing diagram in synchronous master mode
Idle or preceding
transmission
Clock (CPOL=0, CPHA=0)
Clock (CPOL=0, CPHA=1)
Clock (CPOL=1, CPHA=0)
Clock (CPOL=1, CPHA=1)
Data on TX
(from master)
Data on RX
(from slave)
Capture strobe
1748/2301
Figure 501. USART example of synchronous master transmission
USART
Start
0
LSB
Start
0
LSB
RX
TX
SCLK
(M bits =00)
M bits = 00 (8 data bits)
1
2
3
4
1
2
3
4
RM0432 Rev 6
Data out
Data in
Synchronous device
(e.g. slave SPI)
Clock
Stop
*
*
*
*
5
6
7
Stop
MSB
5
6
7
MSB
*
*LBCL bit controls last data pulse
RM0432
MSv31158V1
Idle or next
transmission
MSv34709V2

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32L4+ Series and is the answer not in the manual?

Subscribe to Our Youtube Channel