Gendos
Gendos
DIIDevHeads IoT Integration Server
Created by Gendos on 6/24/2024 in #pcb-and-analog
Why is power consumption higher in standby mode than stop mode on an STM32F411CEU6?
Hey, anyone who might have a clue what's going on? Currently doing some energy-measurements on an STM32F411CEU6-based development board. When entering standby-mode the energy consumption during run-mode as well as sleep is higher than when using stop-mode. Why?
HAL_Delay(1000);
__HAL_PWR_CLEAR_FLAG(PWR_FLAG_WU);
__HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(&hrtc, RTC_FLAG_WUTF);

HAL_PWR_EnterSTANDBYMode();
HAL_Delay(1000);
__HAL_PWR_CLEAR_FLAG(PWR_FLAG_WU);
__HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(&hrtc, RTC_FLAG_WUTF);

HAL_PWR_EnterSTANDBYMode();
is all I am doing. HSE and LSE are enabled, RTC is setup to wake-up the MCU at 1Hz. Power consumption using these 4 lines increased from 14.5mA to 20mA (status LEDs and whatnot) in run-mode and 1.5mA to 2.2mA when in low-power.
3 replies