Why are basic peripherals not working in sleep mode?
Hi I am using stm32l452RC for my project. When I put the MCU to sleep using HAL_PWR_EnterSLEEPMode(PWR_MAINREGULATOR_ON, PWR_SLEEPENTRY_WFI)
all my general purpose timers are not running. I use HAL_SuspendTick() before making the MCU go into sleep mode. To wakeup and comeback form sleep mode I use a push button whose action will be to resume systick again......I use HAL_ResumeTick() for resuming systick.
My first question is Why do my peripherals dont work when I enter slee mode
Second question is ,Is it necessary to sto and resume systick in the course of sleep operation? Can someone answer ASAP.