cancel
Showing results for 
Search instead for 
Did you mean: 

how does stm32L151ccu6 enter stop mode?

guo sir
Associate II
Posted on November 20, 2017 at 14:56

The original post was too long to process during our migration. Please click on the attachment to read the original post.
1 ACCEPTED SOLUTION

Accepted Solutions
Nesrine M_O
Lead II
Posted on November 20, 2017 at 16:15

Hi

,

Try to disable the

Systick interrupt

/* Enter Stop Mode */HAL_SuspendTick();HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);HAL_ResumeTick();

-Nesrine-

View solution in original post

3 REPLIES 3
Nesrine M_O
Lead II
Posted on November 20, 2017 at 16:15

Hi

,

Try to disable the

Systick interrupt

/* Enter Stop Mode */HAL_SuspendTick();HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);HAL_ResumeTick();

-Nesrine-

Posted on November 21, 2017 at 01:23

thank you for your reply .  I got it

Posted on April 25, 2018 at 16:15

Hi

ELMHIRI.Syrine

I am having a similar issue although I have been able to wake up from STOP mode. I have a device connected to an I2C and SPI port which work fine after this but I am losing a device connected to the UART port. Is there something special I have to do to before entering stop mode for UART ports?