Hi @TomasVaverka
The manual describes: "At power-on reset, the first successful watchdog refresh must be sent within less than 256 ms, which is the default watchdog period. If not, the watchdog error counter will be incremented (see section 20.2.2 Watchdog error counter)."
Based on this description, I conducted an experiment where after the system is powered on, I did not execute the wd refresh and observed how long it would take for the system to reset. My code was similar to this:
Std_ReturnType Sbc_fs23_WdRefresh(void)
{
Std_ReturnType eReturnValue = E_OK;
uint16 u16WdToken = 0U;
while(1);
......
do not do any code
......
}
Through monitoring the device reset, I found that it reset after approximately 850ms. Why is it not 256ms but 850ms?What FS23 factors are related to device reboot?
below is the waveform I measured, the green line is level of reset pin.
gumu_0-1731235658734.png
Thanks!