AnsweredAssumed Answered

Nucleo-L053R8 (Standby Mode)

Question asked by Tanomsup.Nathapol on Jan 27, 2017
Latest reply on Jan 30, 2017 by Khouloud G

Hello, I got stuck in a power mode on Nucleo-L053R8 for a week. My desire is going to make this board consume an energy lowest as possible when it is on standby mode. I used this code

 

/*Disable clock to unused peripheral*/

__GPIOC_CLK_DISABLE();

__GPIOH_CLK_DISABLE();

__GPIOA_CLK_DISABLE();

__GPIOB_CLK_DISABLE();

__GPIOD_CLK_DISABLE();

__SYSCFG_CLK_DISABLE();

__PWR_CLK_DISABLE();

 

SysTick->CTRL=0x00;

 

HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN2); __HAL_PWR_CLEAR_FLAG(PWR_FLAG_WU);

 

HAL_PWR_EnterSTANDBYMode(); 

 

I got 18 uA on my ammeter but reference manual claims only 0.27 uA so what else do I need to turn off  to get lowest power consumption as possible.

Outcomes