STM32H723VET Lowest power mode questions using Cube IDE
I am using the Cube IDE to put the STM32H723VET into standby (which to my knowledge is the lowest power consumption). The code below is what I use, I just want to make sure this is doing things correctly and I haven't missed any settings or anything I haven't stopped. It does go to sleep and wake up but the current is higher than I think it should be. Trying to rule out something easy before I dig into Hardware!!
__HAL_PWR_CLEAR_FLAG(PWR_FLAG_WU); //clear WU flag
HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN4); //enable WU pin
HAL_SuspendTick();
HAL_PWR_EnterSTANDBYMode();