M30280FCHP#U5B Renesas Electronics America, M30280FCHP#U5B Datasheet - Page 108

IC M16C/28 MCU FLASH 128K 80LQFP

M30280FCHP#U5B

Manufacturer Part Number
M30280FCHP#U5B
Description
IC M16C/28 MCU FLASH 128K 80LQFP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/Tiny/28r
Datasheet

Specifications of M30280FCHP#U5B

Core Processor
M16C/60
Core Size
16-Bit
Speed
20MHz
Connectivity
I²C, IEBus, SIO, UART/USART
Peripherals
DMA, POR, PWM, Voltage Detect, WDT
Number Of I /o
71
Program Memory Size
128KB (128K x 8)
Program Memory Type
FLASH
Ram Size
12K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 24x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
80-LQFP
For Use With
R0K330290S000BE - KIT EVAL STARTER FOR M16C/29M30290T2-CPE - EMULATOR COMPACT M16C/26A/28/29M30290T2-CPE-HP - EMULATOR COMPACT FOR M16C/TINY
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
M30280FCHP#U5BM30280FCHP#U3B
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Company:
Part Number:
M30280FCHP#U5B
Manufacturer:
Renesas Electronics America
Quantity:
135
Company:
Part Number:
M30280FCHP#U5B
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Company:
Part Number:
M30280FCHP#U5BM30280FCHP#U7B
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Company:
Part Number:
M30280FCHP#U5BM30280FCHP#U9B
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R
R
M
10. Watchdog Timer
e
E
1
. v
J
Figure 10.1 Watchdog Timer Block Diagram
6
The watchdog timer is the function that detects when a program is out of control. Use the watchdog timer is
recommended to improve reliability of the system. The watchdog timer contains a 15-bit counter which is
decremented by the CPU clock that the prescaler divides. The PM12 bit in the PM1 register determines whether
to generate a watchdog timer interrupt request or reset the watchdog timer when the watchdog timer underflows.
The PM12 bit can only be set to “1” (reset). Once the PM12 bit is set to “1”, it cannot be changed to “0” (watchdog
timer interrupt) by program. Refer to “5.3 Watchdog Timer Reset” for watchdog timer reset.
When the main clock, on-chip oscillator clock, or PLl clock runs as CPU clock, the WDC7 bit in the WDC register
determines whether the prescaler divides the clock by 16 or 128. When the sub clock runs as CPU clock, the
prescaler divides the clock by 2 regardless of the WDC7 bit setting. Watchdog timer cycle is calculated as
follows. Marginal errors, due to the prescaler, may occur in watchdog timer cycle.
For example, when CPU clock is set to 16 MHz and the divide-by-N value for the prescale ris set to 16, the
watchdog timer period is approx. 32.8 ms.
The watchdog timer is initialized by writing to the WDTS register. The prescaler is initialized after reset. Note that
the watchdog timer and the prescaler both are inactive after reset, so that the watchdog timer is activated to start
counting by writing to the WDTS register.
Write the WDTS register with shorter cycle than the watchdog timer cycle. Set the WDTS register also in the
beginning of the watchdog timer interrupt routine.
In stop mode and wait mode, the watchdog timer and prescaler are stopped. Counting is resumed from the held
value when the modes or state are released.
Figure 10.1 shows the block diagram of the watchdog timer. Figure 10.2 shows the watchdog timer-related
registers.
0
C
With main clock source chosen for CPU clock, on-chip oscillator clock, PLL clock
Watchdog timer period =
With sub-clock chosen for CPU clock
Watchdog timer period =
2
9
0 .
2 /
Internal reset signal
(low active)
B
CPU clock
0
0
8
0
4
G
J
7
a
Write to WDTS register
o r
0 -
. n
u
2
3
p
0
, 1
0
(
M
2
0
1
0
6
7
C
2 /
, 8
On-chip oscillator clock
page 86
M
Prescaler
1
1/128
6
1/16
1/2
C
f o
2 /
Prescaler dividing (16 or 128) X Watchdog timer count (32768)
Prescaler dividing (2) X Watchdog timer count (32768)
8
3
CM07 = 0
WDC7 = 1
CM07 = 1
) B
CM07 = 0
WDC7 = 0
8
5
PM22 = 0
PM22 = 1
CPU clock
CPU clock
Watchdog timer
Set to 7FFF
16
PM12 = 0
PM12 = 1
10. Watchdog Timer
Reset
Watchdog timer
interrupt request

Related parts for M30280FCHP#U5B