Question
Power consumption in standby mode STM32H742VIH
I have problems with power consumption. In standby power consumption seems to we be way over the documented ~1,97 uA. Current codes gives consumption around 300 uA. Is there something more that needs to be taken into account when putting the CPU to standby? Code is generated latest version on CubeIde.
int main(void)
{
HAL_Init();
SystemClock_Config();
MX_GPIO_Init();
if(__HAL_PWR_GET_FLAG(PWR_FLAG_SB)){
__HAL_PWR_CLEAR_FLAG(PWR_CPU_FLAGS);
}
HAL_SuspendTick();
HAL_PWR_EnterSTANDBYMode();
for(;;){
}
}