RM0367
Using Mute mode with Stop mode
If the LPUART is put into Mute mode before entering Stop mode:
•
Wakeup from Mute mode on idle detection must not be used, because idle detection
cannot work in Stop mode.
•
If the wakeup from Mute mode on address match is used, then the source of wake-up
from Stop mode must also be the address match. If the RXNE flag is set when entering
the Stop mode, the interface will remain in mute mode upon address match and wake
up from Stop.
•
If the LPUART is configured to wake up the MCU from Stop mode on START bit
detection, the WUF flag is set, but the RXNE flag is not set.
Determining the maximum LPUART baud rate allowing to wakeup correctly
from Stop mode when the LPUART clock source is the HSI clock
The maximum baud rate allowing to wakeup correctly from Stop mode depends on:
•
the parameter t
datasheet
•
the LPUART receiver tolerance provided in the
LPUART receiver to clock
Let us take this example: M bits = 01, 2 stop bits, BRR ≥ 4096.
In these conditions, according to
LPUART receiver tolerance is 4.42 %.
DTRA + DQUANT + DREC + DTCL + DWU < LPUART receiver tolerance
DWU max = t
Tbit Min = t
If we consider an ideal case where the parameters DTRA, DQUANT, DREC and DTCL are
at 0%, the DWU max is 4.42 %. In reality, we need to consider at least the HSI inaccuracy.
Let us consider the HSI inaccuracy = 1 %, t
main regulator in Run mode, Range 1 ):
DWU max = 4.42 % - 1 % = 3.42 %
Tbit min = 8.1 µs / (11 ₓ 3.42 %) = 2.5 μs.
In these conditions, the maximum baud rate allowing to wakeup correctly from Stop mode is
1/ 21.5 μs = 46 kbaud.
Low-power universal asynchronous receiver transmitter (LPUART)
(wakeup time from Stop mode) provided in the device
WULPUART
deviation.
/ (11 x Tbit Min)
WULPUART
/ (11 x DWU max)
WULPUART
RM0367 Rev 7
Section 30.4.5: Tolerance of the
Table 151: Tolerance of the LPUART
= 8.1 μs (in case of Stop mode with
WULPUART
receiver, the
855/1043
872
Need help?
Do you have a question about the STM32L0x3 and is the answer not in the manual?