Datasheet
ST72321Rx ST72321ARx ST72321Jx
53/193
WATCHDOG TIMER (Cont’d)
10.1.4 How to Program the Watchdog Timeout
Figure 2 shows the linear relationship between the
6-bit value to be loaded in the Watchdog Counter
(CNT) and the resulting timeout duration in milli-
seconds. This can be used for a quick calculation
without taking the timing variations into account. If
more precision is needed, use the formulae in Fig-
ure 3.
Caution: When writing to the WDGCR register, al-
ways write 1 in the T6 bit to avoid generating an
immediate reset.
Figure 33. Approximate Timeout Duration
CNT Value (hex.)
Watchdog timeout (ms) @ 8 MHz. f
OSC2
3F
00
38
128
1.5 65
30
28
20
18
10
08
503418 82 98 114