Skip to main content
APell.3
Visitor II
Mar 28, 2023 1:15 PM UTC
Question

STM32WLE5 wake up from stopmode using LPUART with LSE

Hello,

to get a lower power consumption in my application i would like to go in stop mode 2 and wake up shortly to receive some characters on the LPUART.

But unfortunately my mcu does not wake up. I can see with the debugger that the send Byte is in the DR of the LPUART and after leaving the stop mode I also end up in the LPUART_ISR.

It seems to me that I forget something or do something wrong. Therefore I am looking for help here.

Currently I set the following registers before entering stop mode 2

in LPUART1->CR1 USART_CR1_UESM

in LPUART1->CR3 USART_CR3_WUFIE

in LPUART1->ICR USART_CR3_WUCF

LSE is running and propagated and selected for LPART1 by 9600 Baud

This topic has been closed for replies.