To all our customers
Regarding the change of names mentioned in the document, such as Mitsubishi
Electric and Mitsubishi XX, to Renesas Technology Corp.
The semiconductor operations of Hitachi and Mitsubishi Electric were transferred to Renesas
Technology Corporation on April 1st 2003. These operations include microcomputer, logic, analog
and discrete devices, and memory chips other than DRAMs (flash memory, SRAMs etc.)
Accordingly, although Mitsubishi Electric, Mitsubishi Electric Corporation, Mitsubishi
Semiconductors, and other Mitsubishi brand names are mentioned in the document, these names
have in fact all been changed to Renesas Technology Corp. Thank you for your understanding.
Except for our corporate trademark, logo and corporate statement, no changes whatsoever have been
made to the contents of the document, and these changes do not constitute any alteration to the
contents of the document itself.
Note : Mitsubishi Electric will continue the business operations of high frequency & optical devices
and power devices.
Renesas Technology Corp.
Customer Support Dept.
April 1, 2003
Mitsubishi microcomputers
M16C / 62 Group (80-pin)
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Description
The M16C/62 (80-pin version) group of single-chip microcomputers are built using the high-performance
silicon gate CMOS process using a M16C/60 Series CPU core and are packaged in a 80-pin plastic molded
QFP. These single-chip microcomputers operate using sophisticated instructions featuring a high level of
instruction efficiency. With 1M bytes of address space, they are capable of executing instructions at high
speed. They also feature a built-in multiplier and DMAC, making them ideal for controlling office, communi-
cations, industrial equipment, and other high-speed processing applications.
The M16C/62 (80-pin version) group includes a wide range of products with different internal memory types
and sizes and various package types.
Features
• Memory capacity .................................. ROM (See Figure 1.1.4. ROM Expansion)
RAM 3K to 20K bytes
• Shortest instruction execution time ...... 62.5ns (f(X
IN
)=16MH
Z
, V
CC
=5V)
100ns (f(X
IN
)=10MH
Z
, V
CC
=3V, with software one-wait) : Mask ROM, flash memory 5V version
142.9ns (f(X
IN
)=7MH
Z
, V
CC
=3V, with software one-wait) : One-time PROM version
• Supply voltage ..................................... 4.2 to 5.5V (f(X
IN
)=16MH
Z
, without software wait) : Mask ROM, flash memory 5V version
4.5 to 5.5V (f(X
IN
)=16MH
Z
, without software wait) : One-time PROM version
2.7 to 5.5V (f(X
IN
)=10MH
Z
with software one-wait) : Mask ROM, flash memory 5V version
2.7 to 5.5V (f(X
IN
)=7MH
Z
with software one-wait) : One-time PROM version
• Low power consumption ...................... 25.5mW ( f(X
IN
)=10MH
Z
, with software one-wait, V
CC
= 3V)
• Interrupts .............................................. 25 internal and 5 external interrupt sources, 4 software
interrupt sources; 7 levels (including key input interrupt)
• Multifunction 16-bit timer ...................... 5 output timers + 6 input timers (3 for timer function only)
• Serial I/O .............................................. 5 channels (2 for UART or clock synchronous, 1 for UART, 2 for clock synchronous)
• DMAC .................................................. 2 channels (trigger: 24 sources)
• A-D converter ....................................... 10 bits X 8 channels (Expandable up to 10 channels)
• D-A converter ....................................... 8 bits X 2 channels
• CRC calculation circuit ......................... 1 circuit
• Watchdog timer .................................... 1 line
• Programmable I/O ............................... 70 lines
_______
• Input port .............................................. 1 line (P8
5
shared with NMI pin)
• Clock generating circuit ....................... 2 built-in clock generation circuits
(built-in feedback resistor, and external ceramic or quartz oscillator)
Note: Memory expansion mode and microprocessor mode are not supported.
Applications
Audio, cameras, office equipment, communications equipment, portable equipment
------Table of Contents------
About the M16C/62 (80-pin version) group ..... 7
Central Processing Unit (CPU) ..................... 11
Reset ............................................................. 14
Processor Mode ............................................ 21
Clock Generating Circuit ............................... 26
Protection ...................................................... 35
Interrupts ....................................................... 36
Watchdog Timer ............................................ 56
DMAC ........................................................... 58
Timer ............................................................. 68
Serial I/O ....................................................... 86
A-D Converter ............................................. 126
D-A Converter ............................................. 136
CRC Calculation Circuit .............................. 138
Programmable I/O Ports ............................. 140
Electric Characteristics ............................... 154
Flash memory version ................................. 192
1
Mitsubishi microcomputers
M16C / 62 Group (80-pin)
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Pin Configuration
Figures 1.1.1 show the pin configurations (top view).
PIN CONFIGURATION (top view)
P2
2
P2
3
P2
4
P2
5
P2
6
P2
7
P3
0
P3
1
P3
2
60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41
P3
3
P3
4
P3
5
P3
6
P3
7
P4
0
P4
1
P4
2
40
39
38
37
36
35
34
33
P0
7
P2
0
P2
1
P0
6
P0
5
P0
4
P0
3
P0
2
P0
1
P0
0
P10
7
/AN
7
/KI3
P10
6
/AN
6
/KI2
P10
5
/AN
5
/KI1
P10
4
/AN
4/
KI0
P10
3
/AN
3
P10
2
/AN
2
P10
1
/AN
1
AV
SS
P10
0
/AN
0
V
REF
AVcc
P9
7
/AD
TRG
/S
IN
4
P9
6
/ANEX1/S
OUT
4
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
1
2
3
4
5
6
7
8
9 10 11 12 13 14 15 16 17 18 19 20
P4
3
P5
0
P5
1
P5
2
P5
3
P5
4
P5
5
P5
6
P5
7
/CLK
OUT
P6
0
/CTS
0
/RTS
0
P6
1
/CLK
0
P6
2
/RxD
0
P6
3
/T
X
D
0
P6
4
/CTS
1
/RTS
1
/CTS
0
/CLKS
1
P6
5
/CLK
1
P6
6
/RxD
1
P6
7
/T
X
D
1
P7
0
/TxD
2
/SDA/TA0
OUT
P7
1
/RxD
2
/SCL/TA0
IN
/TB5
IN
P7
6
/TA3
OUT
M16C/62 Group (80-pin version)
32
31
30
29
28
27
26
25
24
23
22
21
P9
5
/ANEX0/CLK4
P9
4
/DA
1
/TB4
IN
P9
3
/DA
0
/TB3
IN
P9
2
/TB2
IN
/S
OUT
3
P9
0
/TB0
IN
/CLK3
CNVss(BYTE)
P8
7
/X
CIN
P8
6
/X
COUT
RESET
X
OUT
V
SS
X
IN
V
CC
P8
5/
NMI
P8
4
/INT
2
P8
3
/INT
1
P8
2
/INT
0
P8
1
/TA4
IN
P8
0
/TA4
OUT
P7
7
/TA3
IN
Package: 80P6S-A
Figure 1.1.1. Pin configuration (top view)
2
Mitsubishi microcomputers
M16C / 62 Group (80-pin)
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Block Diagram
Figure 1.1.2 is a block diagram of the M16C/62 (80-pin version) group.
Block diagram of the M16C/62 (80-pin version) group
8
8
8
4
8
8
I/O ports
Port P0
Port P2
Port P3
Port P4
Port P5
Port P6
Port P7
Internal peripheral functions
Timer
Timer TA0 (16 bits)
Timer TA1 (16 bits)
Timer TA2 (16 bits)
Timer TA3 (16 bits)
Timer TA4 (16 bits)
Timer TB0 (16 bits)
Timer TB1 (16 bits)
Timer TB2 (16 bits)
Timer TB3 (16 bits)
Timer TB4 (16 bits)
Timer TB5 (16 bits)
A-D converter
(10 bits
X
8 channels
Expandable up to 10 channels)
System clock generator
X
IN
-X
OUT
X
CIN
-X
COUT
Clock synchronous SI/O
4
Port P8
UART/clock synchronous SI/O
(8 bits
X
3 channels)(Note 3)
CRC arithmetic circuit (CCITT )
(Polynomial : X
16
+X
12
+X
5
+1)
(8 bits
X
2 channels)
7
Port P8
5
M16C/60 series16-bit CPU core
Registers
Program counter
PC
Memory
ROM
(Note 1)
RAM
(Note 2)
Watchdog timer
(15 bits)
DMAC
(2 channels)
D-A converter
(8 bits X 2 channels)
R0H
R0L
R0H
R0L
R1H
R1L
R1H
R1L
R2
R2
R3
R3
A0
A0
A1
A1
FB
FB
SB
Port P9
Vector table
INTB
7
Stack pointer
ISP
USP
Flag register
FLG
Port P10
Multiplier
8
Note 1: ROM size depends on MCU type.
Note 2: RAM size depends on MCU type.
Note 3: One of three channels is used for UART and IIC mode only.
Figure 1.1.2. Block diagram of M16C/62 (80-pin version) group
3
Mitsubishi microcomputers
M16C / 62 Group (80-pin)
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Performance Outline
Table 1.1.1 is a performance outline of M16C/62 (80-pin version) group.
Table 1.1.1. Performance outline of M16C/62 (80-pin version) group
Item
Performance
Number of basic instructions
91 instructions
Shortest instruction execution time
62.5ns(f(X
IN
)=16MH
Z
, V
CC
=5V)
100ns (f(X
IN
)=10MH
Z
, V
CC
=3V, with software one-wait)
: Mask ROM, flash memory 5V version
142.9ns (f(X
IN
)=7MH
Z
, V
CC
=3V, with software one-wait)
Memory
capacity
I/O port
Input port
Multifunction
timer
TB0, TB2, TB3, TB4, TB5
TA1, TA2
TB1
UART0, UART1, UART2
SI/O3, SI/O4
ROM
RAM
P0 to P10 (except P8
5
)
P8
5
TA0, TA3, TA4
: One-time PROM version
(See the figure 1.1.3. ROM Expansion)
3K to 20K bytes
8 bits x 10, 7 bits x 1
1 bit x 1
16 bits x 3 (timer mode, internal/external event count,
one-shot timer mode and pulse width measurement mode)
16 bits x 5 (timer mode, internal/external event count
and pulse period/pulse width measurement mode)
16 bits x 2 (timer mode, internal event count and
a trigger through one-shot timer mode occurs.)
16 bits x 1 (timer mode and internal event count)
(UART or clock synchronous) x 2, UART x 1(UART2)
(Clock synchronous) x 2 (SI/O3 is output only)
10 bits x (8 + 2) channels
8 bits x 2
2 channels (trigger: 24 sources)
CRC-CCITT
15 bits x 1 (with prescaler)
25 internal and 5 external sources, 4 software sources, 7 levels
2 built-in clock generation circuits
(built-in feedback resistor, and external ceramic or quartz oscillator)
4.2 to 5.5V (f(X
IN
)=16MH
Z
, without software wait)
: Mask ROM, flash memory 5V version
4.5 to 5.5V (f(X
IN
)=16MH
Z
, without software wait)
: One-time PROM version
2.7 to 5.5V (f(X
IN
)=10MH
Z
with software one-wait)
: Mask ROM, flash memory 5V version
2.7 to 5.5V (f(X
IN
)=7MH
Z
with software one-wait)
: One-time PROM version
25.5mW (f(X
IN
) = 10MH
Z
, V
CC
=3V with software one-wait)
5V
5mA
Serial I/O
A-D converter
D-A converter
DMAC
CRC calculation circuit
Watchdog timer
Interrupt
Clock generating circuit
Supply voltage
Power consumption
I/O
I/O withstand voltage
characteristics Output current
Device configuration
CMOS high performance silicon gate
Package
100-pin plastic mold QFP
Note : M16C/62 (80-pin version) group does not support memory expansion or microprocessor mode.
4