How to enter stop mode and how to wake up ?
Hi list,
I'm using stm32f103 and stm32cude ide. And I'm also using FreeRTOS.
This is my stop mode code.
This code is called in TimerCallback which is created from FreeRTOS.
HAL_SuspendTick();
__HAL_RCC_PWR_CLK_ENABLE();
//HAL_PWR_EnterSTOPMode(PWR_MAINREGULATOR_ON, PWR_SLEEPENTRY_WFI);
HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_SLEEPENTRY_WFI);
HAL_ResumeTick();
SystemClock_Config();I need multi wakeup sources from stop mode. So I've set some pins of PortC to interrupt source. Those are EXTI0,1,2,3 and EXTI15_10.
I could wake up through touch interrupt (EXTI15_10) but I couldn't wake up from other pins.
Let me know how to fix it, please.
