p6 的 WDT 在Hibernate模式是否可以工作

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
user_4363331
Level 1
Level 1
5 replies posted First question asked First reply posted

大家好!我在这个帖子PSoC 6 Watchdog 看到介绍WDT在Hibernate模式下是可以工作的,但是这里却,却没提到

1.png,我把CE220607的deep sleep 模式改为Hibernate模式,实际WDT在Hibernate模式是不工作的,但在deep sleep 模式工作,附件是示例。

0 点赞
1 解答
lock attach
Attachments are accessible only for community members.
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Hi ,

系统在休眠状态下的时候,16bit free-running 的wdt是可以作为唤醒源的。

附件是我写的测试代码,请参考。如果有什么问题,我们再继续讨论。

关于free running wdt可以作为休眠唤醒源, 在很多AN中都有提到:

1: TRM: https://www.cypress.com/documentation/technical-reference-manuals/psoc-6-mcu-psoc-63-ble-architectur...

2:Low power AN: https://www.cypress.com/file/385936/download

在原帖中查看解决方案

0 点赞
3 回复数
lock attach
Attachments are accessible only for community members.
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Hi ,

系统在休眠状态下的时候,16bit free-running 的wdt是可以作为唤醒源的。

附件是我写的测试代码,请参考。如果有什么问题,我们再继续讨论。

关于free running wdt可以作为休眠唤醒源, 在很多AN中都有提到:

1: TRM: https://www.cypress.com/documentation/technical-reference-manuals/psoc-6-mcu-psoc-63-ble-architectur...

2:Low power AN: https://www.cypress.com/file/385936/download

0 点赞

你好!

      非常感谢你的回答,我看了你的附件测试代码,但是这不是我想要的效果,我希望是WDT进中断来唤醒,,不是通过复位,不知道WDT能否做到类似外部中断触发的效果来唤醒?

0 点赞
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

芯片进入hibernate之后,唤醒事件发生之后,是需要进行一次reset才能让芯片进入正常工作模式的。

这个reset并不是wdt导致的,而是hibernate的唤醒机制决定的。