watchdog time range in Psoc 4

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

cross mob
XiaoPing_Yang
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

Hi  Sir ,

      What's the watchdog time range coud be set in Psoc 4?That is not written in datasheet  or TRM . There must be official official description somewhere.

      Thanks.

0 Likes
1 Solution
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

首先WDT的时钟是来自32KHz的低频时钟,这个时钟的精度(accuracy)是+-60%。下面所讨论的时间是基于32KHz描述。

PSoC 系列的分为PSoC4000, PSoC4S,PSoC4100S Plus,  PSoC4M,PSoC4L:

PSoC4000/PSoC4s:match 的值是16bit,并且计数器不能级联,所以最大set 0xffff, 这样算出来是2s。

PSoC42/4M/4L/4S plus: match 的值是16bit,但是可以支持级联,所以最大可以支持0xffff+0xffff,这样算出来应该是4s。

欢迎指正。

View solution in original post

0 Likes
3 Replies
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

首先WDT的时钟是来自32KHz的低频时钟,这个时钟的精度(accuracy)是+-60%。下面所讨论的时间是基于32KHz描述。

PSoC 系列的分为PSoC4000, PSoC4S,PSoC4100S Plus,  PSoC4M,PSoC4L:

PSoC4000/PSoC4s:match 的值是16bit,并且计数器不能级联,所以最大set 0xffff, 这样算出来是2s。

PSoC42/4M/4L/4S plus: match 的值是16bit,但是可以支持级联,所以最大可以支持0xffff+0xffff,这样算出来应该是4s。

欢迎指正。

0 Likes

Hi Lingling

     最小值应该是一个计数,三次,ILO 大部分是40Khz, 25us *3 吧?

0 Likes

这个具体的是40KHz还是32K,看芯片。

不需要乘以3。

就是(1/40Khz)*match 或者(1/40Khz)*(match0+match1)

如果三次不响应中断,则芯片reset。

所以如果你问不相应wdt的中断,多久芯片reset那确实是需要乘以3的。

0 Likes