STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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){ ...

PGood.1 by Associate II
  • 263 Views
  • 0 replies
  • 0 kudos