Skip to main content
crackl1ng
Associate III
February 7, 2022
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?

  • February 7, 2022
  • 5 replies
  • 2375 views

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.
Best answer by Simon.T

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 TALAS

5 replies

Simon.T
Simon.TBest answer
ST Employee
February 7, 2022

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 TALAS

crackl1ng
crackl1ngAuthor
Associate III
February 7, 2022

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
February 8, 2022

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