5 years, 2 months ago.

Serial class and sleep mode

Hi! My mbed application don't sleep if i use UART with mbed::Serial class. Now i disable clock of my UART peripherial to use sleep mode, but it looks strange. I can't understand what method i can use with STM32 target to free UART and use sleep modes?

1 Answer

5 years, 2 months ago.

Hi Su,

This might be interesting for you, STM HAL is locking the sleep.

https://github.com/ARMmbed/mbed-os/issues/11361#issuecomment-526147964

Thanks, Desmond