STM32F0 WINDOW WATCHDOG EWI PROBLEM
WWDG HAS an EWI (early wakeup interrupt) that we can use ? the question is can we refresh the downcounter in the EWI interrupt handler function to avoid system reset ??I tried to do it ,but seems it doesn't work , and after the interrupt , the WWDG triggerred a system reset even the downcounter has been refreshed in the interrtupt handler.
So could anyone give some advice on that situation?? thanks a lot.
Use a timer to feed. 奏奏奏 发表于 2018-7-24 18:01
Use a timer to feed.
That is from the user mannual:
In some applications, the EWI interrupt can be used to manage a software system check
and/or system recovery/graceful degradation, without generating a WWDG reset. In this
case, the corresponding interrupt service routine (ISR) should reload the WWDG counter to avoid the WWDG reset, then trigger the required actions.
But I tried to reload the counter in ISR , but a system reset happened after the interrupt.
hellonsn 发表于 2018-7-25 09:10
That is from the user mannual:
In some applications, the EWI interrupt can be used to manage a so ...
You can upload your project.
Then we can know what your problem is.
页:
[1]