cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between voltage regulator modes in stop mode [STM32F413VGTx]

ASchm.4
Associate

Question seems simple enough, but i cant find any information on this in the datasheet or refman:

When i put the mcu in stop-mode using the hal driver, i call this function:

HAL_PWR_EnterSTOPMode(PWR_MAINREGULATOR_ON, PWR_STOPENTRY_WFI);

The first parameter of this function can be either PWR_MAINREGULATOR_ON or PWR_LOWPOWERREGULATOR_ON.

The function seems to set the LPDS bit in PWR_CR register based on that parameter. According to the reference manual, this means:

0: Voltage regulator on during Stop mode.

1: Low-power Voltage regulator on during Stop mode.

That is not enough information to decide what i should go with for my application.

"Low-power Voltage regulator" implies that the MCU consumes less power in this mode. How much less? And what is the down-side of using the Low-power Voltage regulator?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

It increases the wakeup latency. I couldn't see any other downside.

0693W000005Ch61QAC.png

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

3 REPLIES 3
TDK
Guru

It increases the wakeup latency. I couldn't see any other downside.

0693W000005Ch61QAC.png

If you feel a post has answered your question, please click "Accept as Solution".
ASchm.4
Associate

Cool. im ok with that. Thanks for your reply

Robmar
Senior III

I can't find one working code example from STM, all are out of date, function and flag names out of date, or missing files for certain HAL definitions such as PWR_CPUCR_RETDS_CD

Another ST-Mess!