Skip to main content
samuel23
Associate III
March 28, 2017
Question

STM32L1 and low power stop mode

  • March 28, 2017
  • 2 replies
  • 941 views
Posted on March 28, 2017 at 12:26

Hi,

I am using a

https://community.st.com/tags♯/?tags=stm32l1

on the STM32L152c-discovery and trying to reach a lower power consumption.

But I can't reach less than 0.6mA !!! (10x more than in theory).

Where this current is going?

Any idea?

HAL_Init();

HAL_PWREx_EnableUltraLowPower();

HAL_PWR_DisablePVD();

SysTick->CTRL=0;

HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON,PWR_STOPENTRY_WFE);

while(1);

Thanks!

#power #stm32l1 #stop-mode
This topic has been closed for replies.

2 replies

Khouloud GARSI
ST Employee
March 28, 2017
Posted on March 28, 2017 at 13:10

Hi

Samuel.Poiraud.005

‌,

I advice you to look at the 'PWR' example provided by ST under the path below:

'STM32Cube_FW_L1_V1.6.0\Projects\STM32L100C-Discovery\Examples\PWR'

The example has been tested with STM32L100C-Discovery board, but can be easily tailored to any other supported device and development board.

Khouloud.

samuel23
samuel23Author
Associate III
March 28, 2017
Posted on March 28, 2017 at 17:48

Thanks,

I compared and used this code, and get no difference in the current.

I found 300uA in the useless boot0 pull-up. So it remains only about 400uA.

I am not sure the MCU is eating this current, but there is nothing else on the board.

sima2
Associate III
October 12, 2018

Did you find a solution? I have the same trouble.