This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于CC1310看门狗的时钟问题

现在正想在SUB1G的15.4 stack中加入看门狗功能

设置看门狗resetValue = 10000 (10秒),一直不喂狗

发现要很长时间才能重启,而且不同状态下复位时间还不一样

如果在搜网的状态,大概需要30多秒才能重启

如果在已经和collector配对,polling周期为1s时,需要9分钟才能重启

从现象来看应该是和休眠模式有关系

TRM文档中有说watchdog的clk和系统clk有关系,休眠模式下系统时钟降频导致看门狗复位时长和配置的时间不符

There is a scalar with a fixed-division ratio of 32 of the MCU clock that is present. Regardless of the
settings in the PRCM:INFCLKDIVR, the PRCM:INFCLKDIVS, and the PRCM:INFCLKDIVDS registers, the
watchdog counts at a constant speed, as long as the MCU clock is not changing between the SCLK_HF
and SCLK_LF as a clock source.

不知道我的理解是否正确

另外,有没有办法配置休眠状态-正常运行状态切换时 看门狗的定时器时间和我们预设的一致?