cancel
Showing results for 
Search instead for 
Did you mean: 

Sleep, stop and standby modes do not significantly reduce current consumption

j_filipe
Associate III

Greetings, 
I'm having an issue with low-power modes. I'm using a STM32U585 MCU and while in run mode it is consuming around 100mA, which is a lot. I tried to enter in Sleep, Stop and Standby modes right after the main declaration:

int main(void)
{
   HAL_Init();
   SystemPower_Config();
   SystemClock_Config();
   PeriphCommonClock_Config();

   HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_SLEEPENTRY_WFI);

   ...

The thing is, the current just drops from 100mA to 70mA, which is still a lot. 
Any clue why the circuit is consuming so much current? 

Thank you

 

4 REPLIES 4
j_filipe
Associate III

Note: 
In the HAL_PWR_EnterSTOPMode function, the 2nd argument is PWR_STOPENTRY_WFI, not Sleep.

Andrew Neil
Super User

You need to give more details: How to write your question to maximize your chances to find a solution.

In particular, what hardware are you using?

How are you measuring the current?

How are you sure you're measuring only the MCU's current consumption?

Have you tried the ST examples on an ST board?

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
KDJEM.1
ST Employee

Hello @j_filipe;

 

I recommend you to refer to How to minimize the power consumption in low power mode: An example using NUCLEO-F401RE board FAQ to minimize the power consumption. The purpose of this article is to share tips for power consumption optimization while describing steps to achieve it.

Please set all free pins as analog to optimize the power consumption.

I advise you to look at  PWR_STANDBY and PWR_SLEEP examples may help you. 

 

Thank you.

Kaouthar

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

TDK
Super User

100 mA is too much for the CPU alone. My guess is other components on the board are using most of that current.

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