2017-03-28 03:26 AM
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-mode2017-03-28 04:10 AM
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.
2017-03-28 10:48 AM
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.
2018-10-12 07:48 AM
Did you find a solution? I have the same trouble.