Skip to main content
crackl1ng
Associate III
Feb 7, 2022 1:52 PM UTC
Solved

STM32L4R: Is it possible to go from Low-Power-Run Mode to STOP2-Mode and start in Low-Power-Run-Mode after exiting STOP2-Mode?

Hello STM32-Community,

I'm getting mixed results checking up this question. In the power consumption calculator (PCC) there is the following diagram displayed:0693W00000JOq99QAD.pngAs you can see it should not be possible to enter STOP2 from LOWPOWER_RUN. However the sequence generator allows me to use it, even though its red underlined in the sequences:

0693W00000JOq5IQAT.png 

Therefore I wanted to ask, is it possible to enter the STOP2 mode from low power run? And if not, why? I couldn't find an answer to the low-power manual from STM32, as well as the reference manual.

Kind regards

crackl1ng

This topic has been closed for replies.
Simon.T
Simon.TBest answer
ST Employee
Feb 7, 2022 3:19 PM UTC

Hello @crackl1ng​ ,

 

Yes you are right. It's not possible to make the transition from LOWPOWER_RUN to STOP2. It's mandatory to pass through the RUN MODE.

 

Regards,

 

Simon

5 replies

Simon.T
Simon.TBest answer
ST Employee
Feb 7, 2022 3:19 PM UTC

Hello @crackl1ng​ ,

 

Yes you are right. It's not possible to make the transition from LOWPOWER_RUN to STOP2. It's mandatory to pass through the RUN MODE.

 

Regards,

 

Simon

crackl1ng
crackl1ngAuthor
Associate III
Feb 7, 2022 4:10 PM UTC

Thank you for your reply.

As it seems it is also not possible to return to LOWPOWER_RUN from STOP1. I've tested it out, but the SystemClock jumps back to 48 MHz. Are there different STOP1-Modes?

Simon.T
ST Employee
Feb 8, 2022 8:20 AM UTC

Hello @crackl1ng​ 

It could be possible to return in LOWPOWER RUN from stop1. Make sure to have STOPWUCK=0 (register RCC_CFGR) and LPR=1 (RCC_CFGR).

Let me know if it's working.

Regards,

Simon