Wakeup from sleep HAL_TIM_PeriodElapsedCallback interupt on a STM32L031 commenting out HAL_PWR_EnableSleepOnExit (); and HAL_SuspendTick(); the LED flashes
Im trying to reduce power by putting the a STM32l031 to sleep between timer interupts. It goes to sleep but never wakes upvoid HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef * htim) { if (htim -> Instance == TIM21) { Strobe++; if (Strobe==8352){ ...