stm32duino / STM32LowPower

Arduino Low Power library for STM32
190 stars 53 forks source link

No serial output after first wake from deepsleep #110

Closed miroslavpetrov closed 3 months ago

miroslavpetrov commented 5 months ago

Describe the bug Using the unmodified example AlarmTimedWakeup.ino from the library and Seeed Lora-E5 Mini board, after the first wake up from deepsleep there is no output on the serial console.

To Reproduce Upload AlarmTimedWakeup example to the board.

Expected behavior I expect the serial port to continue working after wake up

Desktop (please complete the following information):

Hardware (please complete the following information):

miroslavpetrov commented 4 months ago

@fpistm any ideas?

fpistm commented 4 months ago

No. I will check when I will have some time.

fpistm commented 3 months ago

Hi @miroslavpetrov I've reproduced and try to debug deeply but hard with this series as debug with low power mode is a nightmare (several issue document in the errata sheet). In the case of STM32WL, the deepsleep rely on STOP 2 mode and so it requires to properly init the Serial after the deepsleep.