你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

STM32F0 WINDOW WATCHDOG EWI PROBLEM

[复制链接]
hellonsn 提问时间:2018-7-24 16:23 /
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.  

收藏 1 评论3 发布时间:2018-7-24 16:23

举报

3个回答
奏奏奏 回答时间:2018-7-24 18:01:29
Use a timer to feed.

评分

参与人数 1蝴蝶豆 +2 收起 理由
zero99 + 2

查看全部评分

hellonsn 回答时间:2018-7-25 09:10:12

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.
奏奏奏 回答时间:2018-7-25 09:23:22
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蝴蝶豆 +3 收起 理由
zero99 + 3

查看全部评分

关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新和工艺
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版