cancel
Showing results for 
Search instead for 
Did you mean: 

Probelms whit sleep mode on stm32L053

isaac Lucero
Associate
Posted on July 11, 2017 at 20:52

Hi, I'm new whit this micro-controller and i have problems to enter in sleep mode on my board, i'm using systemworkbench based on eclipse and generate code whit stm32cubemx.  I've trying whit hal_pwr_entersleepmode function but looks like don't enter on sleep mode, i don't know if  needs to configure some stuff or exist another function that works. Please i need an simple example to how enter and wake up from sleep mode correctly. Thanks you so much. 

2 REPLIES 2
Nesrine M_O
Lead II
Posted on July 12, 2017 at 11:23

Hi

lucero.isaac

,

I recommend you to have a look to ready example under the STM32L0 firmware package :

STM32Cube_FW_L0_V1.9.0\Projects\STM32L053R8-Nucleo\Examples\PWR\PWR_SLEEP

-Nesrine-

Posted on July 13, 2017 at 20:12

Hi

ELMHIRI.Syrine

I will try, thanks you so much, i didn't know about that examples source.