ST7MC1xx/ST7MC2xx
WINDOW WATCHDOG (Cont’d)
10.1.5 How to Program the Watchdog Timeout
Figure 35 shows the linear relationship between
the 6-bit value to be loaded in the Watchdog Coun-
ter (CNT) and the resulting timeout duration in mil-
liseconds. This can be used for a quick calculation
without taking the timing variations into account. If
Figure 35. Approximate Timeout Duration
3F
more precision is needed, use the formulae in Fig-
ure 36.
Caution: When writing to the WDGCR register, al-
ways write 1 in the T6 bit to avoid generating an
immediate reset.
38
30
28
20
18
10
08
00
1.5
18
34
50
65
82
98
Watchdog timeout (ms) @ 8 MHz fOSC2
114 128
62/309
1