Figure 336. Lpuart_Ker_Ck Clock Divider Block Diagram - ST STM32WL5 Series Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Hide thumbs Also See for STM32WL5 Series:
Table of Contents

Advertisement

Low-power universal asynchronous receiver transmitter (LPUART)
Selecting the clock source
The choice of the clock source is done through the Clock Control system (see Section Reset
and clock controller (RCC)). The clock source must be selected through the UE bit, before
enabling the LPUART.
The clock source must be selected according to two criteria:
Possible use of the LPUART in low-power mode
Communication speed.
The clock source frequency is lpuart_ker_ck.
When the dual clock domain and the wakeup from low-power mode features are supported,
the lpuart_ker_ck clock source can be configured in the RCC (see Section Reset and clock
controller (RCC)). Otherwise, the lpuart_ker_ck is the same as lpuart_pclk.
The lpuart_ker_ck can be divided by a programmable factor in the LPUART_PRESC
register.
lpuart_ker_ck
Some lpuart_ker_ck sources enable the LPUART to receive data while the MCU is in low-
power mode. Depending on the received data and wakeup mode selection, the LPUART
wakes up the MCU, when needed, in order to transfer the received data by software reading
the LPUART_RDR register or by DMA.
For the other clock sources, the system must be active to enable LPUART communications.
The communication speed range (specially the maximum communication speed) is also
determined by the clock source.
The receiver samples each incoming baud as close as possible to the middle of the baud-
period. Only a single sample is taken of each of the incoming bauds.
Note:
There is no noise detection for data.
Framing error
A framing error is detected when the stop bit is not recognized on reception at the expected
time, following either a de-synchronization or excessive noise.
When the framing error is detected:
the FE bit is set by hardware;
the invalid data is transferred from the Shift register to the LPUART_RDR register.
no interrupt is generated in case of single byte communication. However this bit rises at
the same time as the RXNE bit which itself generates an interrupt. In case of
1226/1461

Figure 336. lpuart_ker_ck clock divider block diagram

LPUARTx_PRESC[3:0]
RM0453 Rev 1
lpuart_ker_ck_pres
LPUARTx_BRR
oversampling
RM0453
register and
MSv40859V1

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF