SPRUJD3A July 2025 – October 2025 F28E120SB , F28E120SC
To complement the timeout mechanism, the watchdog also contains an optional "windowing" feature that requires a minimum delay between counter resets. This can help protect against error conditions that bypass large parts of the normal program flow but still include watchdog handling. Since watchdog runs on WROSCDIV8 (2.5MHz to 8.75MHz range), the WDWCR.MIN value configuration and the WDKEY update periodicity by software have to consider the frequency variance of WROSCDIV8. Table 3-11 shows the minimum and maximum values of window.
To set the window minimum, write the desired minimum watchdog count to the WDWCR register. This value takes effect after the next WDKEY sequence. From then on, any attempt to service the watchdog when WDCNTR is less than WDWCR triggers a watchdog interrupt or reset. When WDCNTR is greater than or equal to WDWCR, the watchdog can be serviced normally.
At reset, the window minimum is zero, which disables the windowing feature.
| WDCLK PRESCALE | WDCLK PRECLKDIV | WDWCR.MIN | WROSCDIV8 Frequency (Hz) | WDCLK Period (sec) | Window Minimum (sec) | Window Maximum (sec) |
|---|---|---|---|---|---|---|
| 1 | 512 | 32 | 2.50E+06 | 2.05E-04 | 2.05E-04 | 5.24E-02 |
| 8.75E+06 | 5.85E-05 | 1.87E-03 | 1.50E-02 |