cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 LOw power mode

Bs.1
Associate II

Hi,

I am trying to put my STM32 part in sleep mode.

I have attached the code here.

As per my understanding to go into sleep mode HAL_PWR_EnterSLEEPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);

API is provided.

even though I used below lines, my board current is 3mA

HAL_SuspendTick();

HAL_PWR_EnterSLEEPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);

& if I remove those lines then also current will be the 3mA.

I am using digital multimeter to measure the current in board, connecting in series with my sypply .

Can any one help me to how to go into sleep mode??

Thanks in advance...

0 REPLIES 0