cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WLE5 wake up from stopmode using LPUART with LSE

APell.3
Associate

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

0 REPLIES 0