|
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. |
微信公众号
手机版
评分
查看全部评分
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.
You can upload your project.
Then we can know what your problem is.
评分
查看全部评分