cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Sleep

SARTHAK KELAPURE
Associate II
Posted on January 29, 2018 at 13:02

What is the best way to put STM32L0 micro-controllers to sleep for limited time duration(preferably using RTC)?

#stm32l0 #stm32-sleep
10 REPLIES 10
Antonio Vilei
Senior III
Posted on January 30, 2018 at 15:30

Hi,

as already said by Andrew, the best option really depends on the situation.

If you want to try different configurations, you'll find some examples in the STM32CubeL0 package in the

'Projects\{board name}\Examples\PWR' directory.

Among other things, there is an example, called 'PWR_STANDBY_RTC', where RTC is used to wake-up from standby mode.

Please refer to the datasheet and reference manual for more details about the different low-power states you can enter.

Best regards,

Antonio