M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 441

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
426
Watchdog Timer
2.11 Watchdog Timer
2.11.1 Overview
The watchdog timer can detect a runaway program using its 15-bit timer prescaler. The following is an
overview of the watchdog timer.
(1) Watchdog timer start procedure
(2) Watchdog timer stop conditions
(3) Watchdog timer initialization
(4) Runaway detection
(5) Watchdog timer cycle
When reset, the watchdog timer is in stopped state. Writing to the watchdog timer start register
initializes the watchdog timer to 7FFF
timer, once started operating, cannot be stopped by any means other than stopping conditions.
The watchdog timer stops in any one of the following states:
(a) Period in which the CPU is in stopped state
(b) Period in which the CPU is in waiting state
(c) Period in which the microcomputer is in hold state
The watchdog timer is initialized to 7FFF
(a) When the watchdog timer writes to the watchdog timer start register while a count is in progress
(b) When the watchdog timer underflows
When the watchdog timer underflows, a watchdog timer interrupt occurs. In writing a program, write to
the watchdog timer start register before the watchdog timer underflows. The watchdog timer interrupt
occurs regardless of the status of the interrupt enable flag (I flag). In processing a watchdog timer
interrupt, set the software reset bit to “1” to reset software.
The watchdog timer cycle varies depending on the BCLK and the frequency division ratio of the
prescaler selected.
Table 2.11.1. The watchdog timer cycle
Note: An error due to the prescaler occurs.
CM07
0
0
0
0
0
1
Invalid
CM06
0
0
0
1
0
Invalid
Invalid
CM17
0
1
0
1
16
Invalid
Invalid
CM16
and causes it to start performing a down count. The watchdog
0
1
0
1
16
in the cases given below, and begins a down count.
16MHz
32kHz
8MHz
4MHz
1MHz
2MHz
BCLK
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
WDC7
Invalid
0
1
0
1
0
1
0
1
0
1
Approx. 262.1ms (Note)
Approx. 524.3ms (Note)
Approx. 131.1ms (Note)
Approx. 524.3ms (Note)
Approx. 262.1ms (Note)
Approx. 32.8ms (Note)
Approx. 65.5ms (Note)
Approx. 1.049s (Note)
Approx. 4.194s (Note)
Approx. 2.097s (Note)
Approx. 2s (Note)
Mitsubishi microcomputers
M16C / 62 Group
Period

Related parts for M30622MA-XXXFP