Hi experts,
The Safety Manual has the following description:
My understanding is:
1. If the previous watchdog is not disabled, to make the new window effective, it needs to refresh or timeout based on the old window;
2. If the previous watchdog is disabled, the new window will take effect immediately after setting.
Is my understanding right?
But after testing, I found that disable the watchdog in INIT_FS, and set a new window in normal operation, the new window will not take effect immediately, but needs to be refreshed once, and the refresh time can be arbitrary.Is the safety manual wrong or do I understand it wrong?
Thanks
先确认这个:
首先这两个参数是可以通过register 0x4B 在normal的情况下更改,
这两个参数可以在喂狗后的情况下生效,也可以WD timeout后的情况下生效。
可以确认Normal状态可以更改,而且需要刷新一次才生效。
目前我们在初始化里面禁了狗,完成初始化后设置一个新的窗口,测试发现如果设置了新的之后完全不喂,不会复位(配置了一次不喂或喂错就复位);
量了波形,如果设置新的之后立即喂一次,会立即复位。如果在开窗时间内只喂一次,之后会以新的窗口时间复位。
你在初始化时候禁了狗,后面再normal的时候又设置这两个参数,你设置后有没有读一下,看看这个寄存器写的有效吗?
读过,参数写进去了的