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
M306H2FCFP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
with DATA ACQUISITION CONTROLLER
1. DESCRIPTION
The M306H2FCFP is single-chip microcomputer using the high-performance silicon gate CMOS process
using a M16C/60 Series CPU core and is packaged in a 116-pin plastic molded QFP. This single-chip
microcomputer operates using sophisticated instructions featuring a high level of instruction efficiency.
With 1M bytes of address space, this is capable of executing instructions at high speed. This also features
a built-in data acquisition circuit, making this correspondence to Teletext broadcasting service.
1.1 Features
• Memory capacity.................................. <ROM>128K bytes
<RAM>5K bytes
• Shortest instruction execution time ...... 100 ns (f(X
IN
)=10 MHz)
• Supply voltage ..................................... 4.75 V to 5.25V(at f(X
IN
)=10 MHz)
2.80V to 5.25V(at f(X
CIN
)=32kH
Z
, only in low power dissipation mode)
• Interrupts .............................................. 25 internal and 8 external interrupt sources, 4 software
interrupt sources; 7 levels (Including key input interrupt)
• Multifunction 16-bit timer ...................... 5 output timers + 6 input timers
• Serial I/O .............................................. 5 channels
UART/clock synchronous: 3
Clock synchronous: 2
• DMAC .................................................. 2 channels (trigger: 24 sources)
• A-D converter ....................................... 8 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 ............................... 87 lines
_______
• Input port .............................................. 1 port (P8
5
shared with NMI pin)
• Output port ........................................... 1 port (P11 shared with SLICEON pin)
• Chip select output ................................ 4 lines
• Clock generating circuit ....................... 2 built-in circuits
(built-in feedback resistor, and external ceramic or crystal oscillator)
• Data acquisition circuit ......................... For PDC, VPS, EPG-J, XDS and WSS
1.2 Applications
VCR, etc
Rev. 1.0
MITSUBISHI MICROCOMPUTERS
M306H2FCFP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
with DATA ACQUISITION CONTROLLER
Table of contents
1. DESCRIPTION ...................................................... 1
1.1 Features ........................................................... 1
1.2 Applications ..................................................... 1
1.3 Pin Configuration ............................................. 3
1.4 Block Diagram ................................................. 4
1.5 Performance Outline ........................................ 5
2. OPERATION OF FUNCTIONAL BLOCKS ............ 9
2.1 Memory ............................................................ 9
2.2 Central Processing Unit (CPU) ........................ 13
2.3 Reset ............................................................... 16
2.4 Processor Mode ............................................... 20
2.5 Clock Generating Circuit .................................. 31
2.6 Protection ......................................................... 40
2.7 Interrupt ........................................................... 41
2.8 Watchdog Timer .............................................. 61
2.9 DMAC .............................................................. 63
2.10 Timer .............................................................. 73
2.11 Serial I/O ........................................................ 91
2.12 A-D Converter ................................................ 132
2.13 D-A Converter ................................................ 142
2.14 CRC Calculation Circuit ................................. 144
2.15 Expansion Function ....................................... 146
2.16 Programmable I/O Ports ................................ 170
3. USAGE PRECAUTION .......................................... 180
4. ELECTRICAL CHARACTERISTICS ...................... 185
5. FLASH MEMORY .................................................. 203
5.1 Outline Performance ........................................ 203
5.2 Flash Memory mode ........................................ 204
5.3 CPU Rewrite Mode .......................................... 205
5.4 Functions To Inhibit Rewriting Flash Memory Version ....... 215
5.5 Parallel I/O Mode ............................................. 217
5.6 Standard serial I/O mode ................................. 218
5.7 Absolute maximum ratings .............................. 246
6. PACKAGE OUTLINE ............................................. 248
7. DIFFERENCES BETWEEN M306H2MC-XXXFP AND M306H2FCFP .... 249
Rev. 1.0
2
MITSUBISHI MICROCOMPUTERS
M306H2FCFP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
with DATA ACQUISITION CONTROLLER
1.3 Pin Configuration
Figures 1.3.1 shows the pin configuration (top view).
P2
1
/A
1
(/D
1
/D
0
)
P2
2
/A
2
(/D
2
/D
1
)
P2
3
/A
3
(/D
3
/D
2
)
P2
4
/A
4
(/D
4
/D
3
)
P2
5
/A
5
(/D
5
/D
4
)
P2
6
/A
6
(/D
6
/D
5
)
P2
7
/A
7
(/D
7
/D
6
)
P1
4
/D
12
P1
5
/D
13
/INT
3
P1
6
/D
14
/INT
4
P1
7
/D
15
/INT
5
P2
0
/A
0
(/D
0
/-)
P3
0
/A
8
(/-/D
7
)
P1
2
/D
10
P1
3
/D
11
V
CC
P3
1
/A
9
P3
2
/A
10
P3
3
/A
11
P3
7
/A
15
P3
5
/A
13
P3
6
/A
14
P3
4
/A
12
P4
0
/A
16
P4
1
/A
17
87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59
P4
2
/A
18
P1
0
/D
8
P1
1
/D
9
V
SS
P0
7
/D
7
P0
6
/D
6
P0
5
/D
5
P0
4
/D
4
P0
3
/D
3
P0
2
/D
2
P0
1
/D
1
P0
0
/D
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
VREF
AV
CC
P9
7
/ADTRG/S
IN4
V
DD
1
SYNCIN
SVREF
V
SS
1
V
DD
3
CVIN1
V
SS
3
FSCIN
P9
6
/ANEX1/S
OUT
4
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
1
2
3
4
5
6
7
8
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
58
57
56
55
54
53
52
51
50
49
48
47
46
P4
3
/A
19
P4
4
/CS0
P4
5
/CS1
P4
6
/CS2
P4
7
/CS3
P5
0
/WRL/WR
P5
1
/WRH/BHE
P5
2
/RD
P5
3
/BCLK
P5
4
/HLDA
P5
5
/HOLD
P5
6
/ALE
P5
7
/RDY/CLK
OUT
P6
0
/CTS
0
/RTS
0
P6
1
/CLK
0
P6
2
/R
X
D
0
P6
3
/T
X
D
0
P6
4
/CTS
1
/RTS
1
/CLKS
1
P6
5
/CLK
1
P6
6
/R
X
D
1
P6
7
/T
X
D
1
P11/SLICEON
M306H2FCFP
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
M1
M2
V
DD
2
LP4
LP3
LP2
V
SS
2
CNVss
P9
2
/TB2
IN
/S
OUT
3
P9
1
/TB1
IN
/S
IN
3
P8
7
/XC
IN
RESET
X
OUT
Vss
X
IN
P9
5
/ANEX0/CLK4
P9
0
/TB0
IN
/CLK3
BYTE
P9
3
/DA
0
/TB3
IN
P8
6
/XC
OUT
Vcc
P7
7
/TA3
IN
P7
6
/TA3
OUT
P7
3
/CTS
2
/RTS
2
/TA1
IN
P8
0
/TA4
OUT
116P6A-A
Figure 1.3.1 Pin configuration (top view)
Rev. 1.0
3
P7
1
/R
X
D
2
/SCL/TA0
IN
/TB5
IN
P7
0
/T
X
D
2
/SDA/TA0
OUT
P9
4
/DA
1
/TB4
IN
P8
1
/TA4
IN
P8
5
/NMI
P8
4
/INT
2
P8
3
/INT
1
P8
2
/INT
0
P7
2
/CLK
2
/TA1
OUT
P7
5
/TA2
IN
P7
4
/TA2
OUT
MITSUBISHI MICROCOMPUTERS
M306H2FCFP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
with DATA ACQUISITION CONTROLLER
1.4 Block Diagram
Figure 1.4.1 is a block diagram of the M306H2FCFP.
8
8
8
8
8
8
8
I/O ports
Port P0
Port P1
Port P2
Port P3
Port P4
Port P5
Port P6
Port P7
8
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
( 8 bits
X
8 channels
Expandable up to 10 channels)
System clock generator
X
IN
-X
OUT
X
CIN
-X
COUT
Clock synchronous SI/O
Port P8
7
UART/clock synchronous SI/O
(8 bits
X
3 channels)
CRC arithmetic circuit (CCITT
)(Polynomial : X
16
+X
12
+X
5
+1)
(8 bits
X
2 channels)
Port P8
5
Data acquisition controller
M16C/60 series16-bit CPU core
Registers
Program counter
PC
Stack pointer
ISP
USP
Vector table
INTB
Flag register
SB
FLG
Memory
ROM
(128K bytes)
RAM
(5K bytes)
Port P9
Watchdog timer
(15 bits)
8
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
Port P10
8
Multiplier
Port P11
Figure 1.4.1 Block diagram of M306H2FCFP
Rev. 1.0
4