EasyManuals Logo

ST STM32L4 5 Series User Manual

ST STM32L4 5 Series
1830 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1378 background imageLoading...
Page #1378 background image
Low-power universal asynchronous receiver transmitter (LPUART) RM0351
1378/1830 DocID024597 Rev 5
Figure 434. TC/TXE behavior when transmitting
Break characters
Setting the SBKRQ bit transmits a break character. The break frame length depends on the
M bits (see Figure 432).
If a ‘1’ is written to the SBKRQ bit, a break character is sent on the TX line after completing
the current character transmission. The SBKF bit is set by the write operation and it is reset
by hardware when the break character is completed (during the stop bits after the break
character). The LPUART inserts a logic 1 signal (STOP) for the duration of 2 bits at the end
of the break frame to guarantee the recognition of the start bit of the next frame.
In the case the application needs to send the break character following all previously
inserted data, including the ones not yet transmitted, the software should wait for the TXE
flag assertion before setting the SBKRQ bit.
Idle characters
Setting the TE bit drives the LPUART to send an idle frame before the first data frame.
41.4.3 LPUART receiver
The LPUART can receive data words of either 7 or 8 or 9 bits depending on the M bits in the
LPUART_CR1 register.
Start bit detection
In LPUART, for START bit detection, a falling edge should be detected first on the Rx line,
then a sample is taken in the middle of the start bit to confirm that it is still ‘0’. If the start
sample is at ‘1’, then the noise error flag (NF) is set, then the START bit is discarded and the
receiver waits for a new START bit. Else, the receiver continues to sample all incoming bits
normally.
7;OLQH
/38$57B'5
)UDPH
7;(IODJ
)
7&IODJ
)
)UDPH
6RIWZDUHZDLWVXQWLO7;( 
DQGZULWHV)LQWR'5
6RIWZDUHZDLWVXQWLO
7;( DQGZULWHV
)LQWR'5
7&LVQRWVHW
EHFDXVH7;( 
6RIWZDUHZDLWVXQWLO7& 
)UDPH
7&LVVHW
EHFDXVH7;( 
6HWE\KDUGZDUH
FOHDUHGE\VRIWZDUH
6HWE\KDUGZDUH
FOHDUHGE\VRIWZDUH
6HWE\KDUGZDUH
6HWE\KDUGZDUH
,GOHSUHDPEOH
)
6RIWZDUH
HQDEOHVWKH
/38$57
7&LVQRWVHW
EHFDXVH7;( 
6RIWZDUHZDLWVXQWLO7;( 
DQGZULWHV)LQWR'5
06Y9

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32L4 5 Series Specifications

General IconGeneral
BrandST
ModelSTM32L4 5 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals