STOP Mode, RTC wakeup timer isr, gpio isr and priority
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-07-05 2: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
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
