cancel
Showing results for 
Search instead for 
Did you mean: 

Failing to achieve <1 mA current consumption in stop mode on STM32L053

JCard.3
Associate III

Hello,

I have a PCB with just an SWD connector and an STM32L053R8T6 populated.

WhatsApp Image 2025-04-27 at 17.47.21.jpeg

 

 

 

I'm running example code to measure standby and stop currents.  For standby, I'm reading 0.5 uA, which is within the limits given in the datasheet.

JCard3_0-1745768979646.png

I am not getting the expected results in STOP mode:  the current is ~14 uA instead of the expected <1 uA.

JCard3_1-1745769069898.png

The code I am using is from PWR/PWR_STOP/Src/main.c (attached), where it just enters STOP mode after a 2s delay.  I have not configured any wake up sources.

The current measurements are shown below.  One thing to notice is that some peripheral seems to be waking up every 2 minutes.  I ruled out the system tick and the watchdog.  The debugger is not attached to the connector when collecting these measurements.

JCard3_2-1745769229788.png

Below are the same measurements taken after changing the code as:

- HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFE);
+ HAL_PWR_EnterSTANDBYMode();

In standby mode the average current drops to 0.42 uA and there are no periodic wake ups.

JCard3_3-1745770039827.png

I have looked at this great post on low power modes and I think I'm addressing all the potential errors it describes.

Can anyone suggest what could be the cause for the excess consumption?  Or whether this periodic wake up is normal/expected?

Thank you!

0 REPLIES 0