Skip to main content
ASchm.4
Associate
November 24, 2020
Solved

Difference between voltage regulator modes in stop mode [STM32F413VGTx]

  • November 24, 2020
  • 3 replies
  • 2383 views

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?

Best answer by TDK

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

0693W000005Ch61QAC.png

3 replies

TDK
TDKAnswer
Super User
November 26, 2020

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
ASchm.4Author
Associate
December 1, 2020

Cool. im ok with that. Thanks for your reply

Robmar
Senior II
March 12, 2024

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!