BAT32G1x9 user manual | Chapter 14 Watchdog timer
482 / 1149
Rev.1.02
14.4.4
Setting of watchdog timer interval interrupts
By setting the bit7 (WDTINT) of the option byte (000C0H), an interval interrupt (INTWDTI) can be generated
when the overflow time is reached at 75% +1/2fIL.
Table 14-5
Watchdog timer interval interrupt settings
WDTINT
Watchdog timer interval interrupts the use/non-use
0
Interval interrupts are not used.
1
Interval interruptions occur when 75% +1/2f
IL of the
overflow time is reached.
Note: When running on the
X1
oscillating clock
after deactivating
deep sleep
mode, the
CPU
starts running after the
oscillation settling time has elapsed.
If the time from the time from the release of deep sleep mode to the timepiece overflow of the watchdog timer is
short, a return will occur during the oscillation stabilization time. Therefore, after de-deep sleep mode by interval
interrupt, if you want to run with the X1 oscillation clock and clear the watchdog timer, because the watchdog timer
is cleared after the oscillation stabilization time has elapsed, you must consider this situation to set the overflow
time.
Note: Continue counting even after intWDTI
is generated (continue until
"ACH"
is
written
to the allowed register
(WDTE) of the watchdog timer). If you
do not
write
"ACH"
to the
WDTE
register before the overflow time
, an
internal reset signal is generated.
14.4.5
Operation of the watchdog timer during LOCKUP
When the lockup control register lockcTL lockup_rst bit is set to 1, once the kernel enters the LOCKUP state,
the low-speed internal oscillator begins to vibrate, the watchdog timer automatically starts running, and the overflow
time control bit (WDCS2~WDCS0) is set to 3'b010, that is, the overflow time is set to 12.8ms.
14.4.6
WDTCFG is not configured when the watchdog timer is running
When WDTCFG is not configured, the watchdog timer automatically starts running, and the overflow time is
determined by the overflow time control bit (WDCS2~WDCS0) in the option byte.