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.
Solution:
@Gendos Use a debugger to verify the state of the MCU just before entering Standby, also Double-check the RTC configuration to ensure it is set up correctly and is the only wake-up source. This might ahv been the reason for higher every consumption...
Jump to solution
1 Reply
Solution
Enthernet Code
@Gendos Use a debugger to verify the state of the MCU just before entering Standby, also Double-check the RTC configuration to ensure it is set up correctly and is the only wake-up source. This might ahv been the reason for higher every consumption