Question
HAL_Delay / HAL_SuspendTick ?
I am trying to run code in LPSleep mode. I found a video that seems to describe the use of SuspendTick and ResumeTick to do this. I have created a small example where I push a button it jumps into an EXTI handler and toggles an LED. Within this ISR I am calling HAL_Delay for debounce, however I am finding that my code hangs up in app_entry.c HAL_Delay function. Can someone tell me when you go into low power mode should you be changing the Timebase Source in the .ioc file to something other than SysTick?


