2022-07-05 02:58 AM
Hello everyone,
I run the mcu in stop mode with this function below
void set_stop_mode(void)
{
HAL_SuspendTick();
HAL_PWR_EnableSleepOnExit();
HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);
}
System works in two interrupt below
1 - HAL_RTCEx_WakeUpTimerEventCallback and priority is 0
2 - EXTI4_15_IRQHandler and priority is 1
My goal:
A) While the 2 is running ,if the1 is fired -> The1 must be executed (success)
B) After the 1 has been completed, the 2 must be run again with interrupt signal(fail).
This B section doesn't work.
Addition: Both interrupts are working properly as individual. No problem with interrupt firing.
Thanks in advance