M30622 Mitsubishi, M30622 Datasheet - Page 70

no-image

M30622

Manufacturer Part Number
M30622
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
Mitsubishi
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M30622-109GP
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
M30622ECFP
Manufacturer:
INFINEON
Quantity:
607
Part Number:
M30622ECFP
Manufacturer:
ST
0
Part Number:
M30622EECFP
Manufacturer:
MIT
Quantity:
20 000
Part Number:
M30622F8PA04GP
Manufacturer:
MIT
Quantity:
105
Part Number:
M30622F8PA04GP
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
M30622F8PA04GP
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
M30622F8PFP
Manufacturer:
MIT
Quantity:
20 000
Part Number:
M30622F8PFP#D5C
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
M30622F8PFP#U3C
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
M30622F8PFP#U5C
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
M30622F8PFPD5
Manufacturer:
RENESAS
Quantity:
893
Part Number:
M30622F8PFPU3C
Manufacturer:
RENESAS
Quantity:
5 002
Part Number:
M30622F8PFPU5U
Manufacturer:
STM
Quantity:
4 667
Part Number:
M30622F8PGP
Manufacturer:
MIT
Quantity:
20 000
Watchdog Timer
Watchdog Timer
With X
Watchdog timer period =
With X
Watchdog timer period =
Figure 1.15.1. Block diagram of watchdog timer
The watchdog timer has the function of detecting when the program is out of control. The watchdog timer is
a 15-bit counter which down-counts the clock derived by dividing the BCLK using the prescaler. A watchdog
timer interrupt is generated when an underflow occurs in the watchdog timer. When X
BCLK bit 7 of the watchdog timer control register (address 000F
16 or by 128). When X
of the watchdog timer control register (address 000F
lated as given below. The watchdog timer's period is, however, subject to an error due to the pre-scaler.
For example, suppose that BCLK runs at 10 MHz and that 16 has been chosen for the dividing ratio of the
pre-scaler, then the watchdog timer's period becomes approximately 52.4 ms.
The watchdog timer is initialized by writing to the watchdog timer start register (address 000E
a watchdog timer interrupt request is generated. The prescaler is initialized only when the microcomputer is
reset. After a reset is cancelled, the watchdog timer and prescaler are both stopped. The count is started by
writing to the watchdog timer start register (address 000E
Figure 1.15.1 shows the block diagram of the watchdog timer. Figure 1.15.2 shows the watchdog timer-
related registers.
Write to the watchdog timer
start register
(address 000E
Tentative Specifications REV.A
IN
CIN
RESET
S
chosen for BCLK
HOLD
BCLK
chosen for BCLK
pecifications in this manual are tentative and subject to change.
16
)
CIN
is selected as the BCLK, the prescaler is set for division by 2 regardless of bit 7
pre-scaler dividing ratio (16 or 128) X watchdog timer count (32768)
pre-scaler dividing ratio (2) X watchdog timer count (32768)
Prescaler
1/128
1/16
1/2
“CM07 = 0”
“WDC7 = 1”
“CM07 = 0”
“WDC7 = 0”
“CM07 = 1”
70
16
). Thus the watchdog timer's period can be calcu-
BCLK
16
).
BCLK
16
Watchdog timer
) selects the prescaler division ratio (by
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Set to
“7FFF
16
Mitsubishi microcomputers
IN
M16C / 62T Group
is selected for the
Watchdog timer
interrupt request
16
) and when

Related parts for M30622