RENESAS M30823MW

M32C/82 Group
SINGLE-CHIP 16/32-BIT CMOS MICROCOMPUTER
REJ03B0032-0120Z
Rev.1.20
Jun. 01, 2004
1. Overview
The M32C/82 group microcomputer is a single-chip control unit that utilizes high-performance silicon gate
CMOS technology with the M32C/80 series CPU core. The M32C/82 group is available in 144-pin and 100pin plastic molded LQFP/QFP packages.
With a 16-Mbyte address space, this microcomputer combines advanced instruction manipulation capabilities to process complex instructions by less bytes and execute instructions at higher speed.
It incorporates a multiplier and DMAC adequate for office automation, communication devices and industrial
equipments and other high-speed processing applications.
1.1 Applications
Audio, cameras, office equipment, communications equipment, portable equipment, etc.
Rev.1.00 Jun. 01, 2004 page 1
of 83
M32C/82 Group
1. Overview
1.2 Difference between the M32C/82 Group and the M32C/83 Group
The M32/C82 group microcomputer has less peripheral functions than the M32C/83 group
miccrocomputer. The intelligent I/O group 3, CAN and the A/D1 converter are not provided in the M32C/82
group. Interrupt requests, and as a result interrupts, DMAC, and DMACII, caused by these peripheral
functions are not available in the M32C/82 group.
Rev.1.20 Jun. 01, 2004 page 2
of 80
M32C/82 Group
1. Overview
1.2 Performance Outline
Tables 1.1 and 1.2 list performance outlines of the M32C/82 group.
Table 1.1 M32C/82 Group Performance (144-Pin Package)
CPU
Item
Basic instructions
Shortest instruction execution time
Operation mode
Address space
Memory capacity
Peripheral Port
function Multifunction timer
Intelligent I/O
Serial I/O
A/D converter
D/A converter
DMAC
DMAC II
DRAMC
CRC calculation circuit
XY converter
Watchdog timer
Interrupt
Clock generating circuit
Oscillation stop detect function
Electric Supply voltage
characteristics
Power consumption
Operating ambient temperature
Package
Performance
108 instructions
33 ns (f(BCLK)=30 MHz, VCC=4.2 V to 5.5 V)
50 ns (f(BCLK)=20 MHz, VCC=3.0 V to 5.5 V)
Single-chip mode, Memory expansion mode and Microprocessor mode
16 Mbytes
See Table 1.3
123 I/O pins and 1 input pin
Timer A: 16 bits x 5 channels, Timer B: 16 bits x 6 channels
Three-phase motor control circuit
Time measurement function: 16 bits x 12 channels
Waveform generating function: 16 bits x 20 channels
Communication function (Clock synchronous serial I/O, Clock
asynchronous serial I/O, HDLC data processing, Clock synchronous variable length serial I/O, IEBus(1))
5 channels
Clock synchronous serial I/O, Clock asynchronous serial I/O,
IEBus(1), I2C bus(2)
10-bit A/D converter: 1 circuit, 34 channels
8 bits x 2 channels
4 channels
Can be activated by all peripheral function interrupt factors
Immediate transfer, Calculation transfer and Chain transfer functions
_______
_______
CAS-before-RAS refresh, self-refresh, EDO, FP
CRC-CCITT
16 bits x 16 bits
15 bits x 1 channel (with prescaler)
41 internal and 8 external sources, 5 software sources
Interrupt priority level: 7
4 circuits
Main clock oscillation circuit(*), Sub clock oscillation circuit(*),
On-chip oscillator, PLL frequency synthesizer
(*)Equipped with a built-in feedback resistor. Ceramic resonator
or crystal oscillator must be connected externally
Main clock oscillation stop detect function
4.2 V to 5.5 V (f(BCLK)=30 MHz)
3.0 V to 5.5 V (f(BCLK)=20 MHz, through VDC)
3.0 V to 3.6 V (f(BCLK)=20 MHz, not through VDC)
28 mA (VCC=5 V, f(BCLK)=30 MHz)
17 mA (VCC=3.3 V, f(BCLK)=20 MHz)
470 µA (VCC=5 V, f(XCIN)=32 kHz, in wait mode)
340 µA (VCC=3.3 V, f(XCIN)=32 kHz, through VDC in wait mode)
5.0 µA (VCC=3.3 V, f(XCIN)=32 kHz, not through VDC in wait mode)
0.4 µA (VCC=5 V, f(XCIN)=32 kHz, in stop mode)
0.4 µA (VCC=3.3 V, f(XCIN)=32 kHz, in stop mode)
–20 to 85oC, –40 to 85oC (optional)
144-pin plastic molded LQFP
NOTES:
1. IEBus is a trademark of NEC Electronics Corporation.
2. I2C bus is a trademark of Koninklijke Philips Electronics N. V.
All options are on a request basis.
Rev.1.20 Jun. 01, 2004 page 3
of 80
M32C/82 Group
1. Overview
Table 1.2 M32C/82 Group Performance (100-Pin Package)
CPU
Item
Basic instructions
Shortest instruction execution time
Operation mode
Address space
Memory capacity
Peripheral Port
function Multifunction timer
Intelligent I/O
Serial I/O
A/D converter
D/A converter
DMAC
DMAC II
DRAMC
CRC calculation circuit
X Y converter
Watchdog timer
Interrupt
Clock generating circuit
Oscillation stop detect function
Electric Supply voltage
characteristics
Power consumption
Operating ambient temperature
Package
Performance
108 instructions
33 ns (f(BCLK)=30 MHz, VCC=4.2 V to 5.5 V)
50 ns (f(BCLK)=20 MHz, VCC=3.0 V to 5.5 V)
Single-chip mode, Memory expansion mode and Microprocessor mode
16 Mbytes
See Table 1.3
87 I/O pins and 1 input pin
Timer A: 16 bits x 5 channels, Timer B: 16 bits x 6 channels
Three-phase motor control circuit
Time measurement function: 16 bits x 5 channels
Waveform generating function: 16 bits x 8 channels
Communication function (Clock synchronous serial I/O, Clock
asynchronous serial I/O, HDLC data processing, Clock synchronous variable length serial I/O, IEBus(1))
5 channels
Clock synchronous serial I/O, Clock asynchronous serial I/O,
IEBus(1), I2C bus(2)
10-bit A/D converter: 1 circuit, 26 channels
8 bits x 2 channels
4 channels
Can be activated by all peripheral function interrupt factors
Immediate transfer, Calculation transfer and Chain transfer functions
_______
_______
CAS-before-RAS refresh, self-refresh, EDO, FP
CRC-CCITT
16 bits x 16 bits
15 bits x 1 channel (with prescaler)
41 internal and 8 external sources, 5 software sources
Interrupt priority level: 7
4 circuits
Main clock oscillation circuit(*), Sub clock oscillation circuit(*),
On-chip oscillator, PLL frequency synthesizer
(*)Equipped with a built-in feedback resistor. Ceramic resonator
or crystal oscillator must be connected externally
Main clock oscillation stop detect function
4.2 V to 5.5 V (f(BCLK)=30 MHz)
3.0 V to 5.5 V (f(BCLK)=20 MHz, through VDC)
3.0 V to 3.6 V (f(BCLK)=20 MHz, not through VDC)
28 mA (VCC=5 V, f(BCLK)=30 MHz)
17 mA (VCC=3.3 V, f(BCLK)=20 MHz)
470 µA (VCC=5 V, f(XCIN)=32 kHz, in wait mode)
340 µA (VCC=3.3 V, f(XCIN)=32 kHz, through VDC in wait mode)
5.0 µA (VCC=3.3 V, f(XCIN)=32 kHz, not through VDC in wait mode)
0.4 µA (VCC=5 V, f(XCIN)=32 kHz, in stop mode)
0.4 µA (VCC=3.3 V, f(XCIN)=32 kHz, in stop mode)
–20 to 85oC, –40 to 85oC (optional)
100-pin plastic molded LQFP/QFP
NOTES:
1. IEBus is a trademark of NEC Electronics Corporation.
2. I2C bus is a trademark of Koninklijke Philips Electronics N. V.
All options are on a request basis.
Rev.1.20 Jun. 01, 2004 page 4
of 80
M32C/82 Group
1. Overview
1.3 Block Diagram
Figure 1.1 shows a block diagram of the M32C/82 group microcomputer.
The M32C/82 group microcomputer contains ROM and RAM as memory to store instructions and data,
CPU to execute calculations and peripheral functions such as interrupt, timer, serial I/O, DMAC, CRC
calculation circuit, A/D converter, D/A converter, DRAMC, intelligent I/O and ports.
8
8
8
8
8
8
8
8
Port P0
Port P1
Port P2
Port P3
Port P4
Port P5
Port P6
Port P7
Peripheral functions
A/D converter
1 circuit
Standard 10 inputs
Maximum 34 inputs(2)
Timer (16 bits)
Timer A 5 channels
Timer B 6 channels
Clock generating circuit
XIN - XOUT
XCIN - XCOUT
On-chip oscillator
PLL frequency synthesizer
Three-phase motor control circuit
UART/Clock synchronous serial I/O
5 channels
DMAC
Watchdog timer (15 bits)
XY converter
16 bits x 16 bits
DMACII
D/A converter
(8-bit x 2 circuits)
CRC calculation circuit (CCITT)
X16+X12+X5+1
Intelligent I/O
( 3 groups )
DRAMC
M32C/80 series CPU core
(2)
Time measurement 12 channels
Wave generating 20 channels(2)
Communication function
Clock synchronous serial I/O, UART,
IEBus, HDLC data processing
R0H
R0L
R1H
R1L
ISP
R3
USP
Port P14
8
Port P13
7
Port P12
8
SVF
FB
SVP
SB
VCT
Port P11
8
(Note1)
NOTES:
1. Ports P11 to P15 are provided in the 144-pin package only.
2. Included in the 144-pin package only.
Figure 1.1 M32C/82 Group Block Diagram
Rev.1.20 Jun. 01, 2004 page 5
of 80
RAM
PC
A1
Port P15
ROM
INTB
R2
A0
Memory
FLG
5
Port P10
8
Multiplier
Port P9
8
P85
Port P8
7
M32C/82 Group
1. Overview
1.4 Product Information
Renesas plans to release the following products in the M32C/82 group:
(1) Support for the masked ROM version
(2) ROM/RAM capacity
(3) Package
100P6S-A : Plastic molded QFP
100P6Q-A : Plastic molded LQFP
144P6Q-A : Plastic molded LQFP
RAM size
(Byte)
M30828MH-XXXGP
31K
M30826MH-XXXGP
M30826MH-XXXFP
24K
M30825MW-XXXGP
M30825MH-XXXGP
M30823MW-XXXGP
M30823MH-XXXGP
M30823MW-XXXFP
M30823MH-XXXFP
320K
384K
ROM size
(Byte)
Figure 1.2 ROM/RAM
Table 1.3 M32C/82 Group
Type number
ROM capacity
RAM capacity
M30825MW-XXXGP
M30823MW-XXXGP
Package type
144P6Q-A
320 Kbytes
24 Kbytes
100P6Q-A
M30823MW-XXXFP
100P6S-A
M30825MH-XXXGP
144P6Q-A
M30823MH-XXXGP
384 Kbytes
24 Kbytes
M30823MH-XXXFP
144P6Q-A
384 Kbytes
M30826MH-XXXFP
Rev.1.20 Jun. 01, 2004 page 6
100P6Q-A
100P6S-A
M30828MH-XXXGP
M30826MH-XXXGP
Remarks
31 Kbytes
100P6Q-A
100P6S-A
of 80
Masked ROM
M32C/82 Group
1. Overview
M30 82 3 M H GP
Package type options:
FP = Package 100P6S-A
GP = Package 100P6Q-A, 144P6Q-A
ROM capacity:
W = 320K bytes
H = 384K bytes
Memory type:
M = Masked ROM version
Shows RAM capacity, pin count, etc
(Value itself has no specific meaning)
M32C/82 Group
M16C Family
Figure 1.3 Product Numbering System
Rev.1.20 Jun. 01, 2004 page 7
of 80
M32C/82 Group
1. Overview
1.5 Pin Assignments
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
109
72
110
71
111
70
112
69
113
68
114
67
115
66
116
65
117
64
118
63
119
62
120
61
121
60
122
59
123
58
124
57
125
56
M32C/82 GROUP
126
127
55
54
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
SRxD4 / SDA4 / TxD4 / ANEX1 / P96
CLK4 / ANEX0 / P95
SS4 / RTS4 / CTS4 / TB4IN / DA1 / P94
SS3 / RTS3 / CTS3 / TB3IN / DA0 / P93
IEOUT / ISTxD2 / OUTC20 / SRxD3 / SDA3 / TxD3 / TB2IN / P92
IEIN / ISRxD2 / STxD3 / SCL3 / RxD3 / TB1IN / P91
CLK3 / TB0IN / P90
P146
P145
P144
OUTC17 / INPC17 / P143
OUTC16 / INPC16 / P142
OUTC15 / P141
OUTC14 / P140
BYTE
CNVss
VCONT / XCIN / P87
XCOUT / P86
RESET
XOUT
Vss
XIN
Vcc
NMI / P85
INT2 / P84
INT1 / P83
INT0 / P82
U / TA4IN / P81
BE0IN / ISRxD0 / INPC02 / U / TA4OUT / P80
ISCLK0 / OUTC01 / INPC01 / TA3IN / P77
BE0OUT / ISTxD0 / OUTC00 / INPC00 / TA3OUT / P76
BE1IN / ISRxD1 / OUTC12 / INPC12 / W / TA2IN / P75
ISCLK1 / OUTC11 / INPC11 / W / TA2OUT / P74
BE1OUT / ISTxD1 / OUTC10 / SS2 / RTS2 / CTS2 / V / TA1IN / P73
CLK2 / V / TA1OUT / P72
(3)
IEIN / ISRxD2 / OUTC22 / STxD2 / SCL2 / RxD2 / TA0IN / TB5IN / P71
19
37
18
38
144
17
39
143
16
40
142
15
41
141
14
42
140
13
43
139
12
44
138
11
45
137
10
46
136
9
47
135
8
48
134
7
49
133
6
50
132
5
51
131
4
52
130
3
53
129
2
128
1
D8 / P10
AN07 / D7 / P07
AN06 / D6 / P06
AN05 / D5 / P05
AN04 / D4 / P04
P114
OUTC13 / P113
BE1IN / ISRxD1 / OUTC12 / INPC12 / P112
ISCLK1 / OUTC11 / INPC11 / P111
BE1OUT / ISTxD1 / OUTC10 / P110
AN03 / D3 / P03
AN02 / D2 / P02
AN01 / D1 / P01
AN00 / D0 / P00
INPC07 / AN157 / P157
INPC06 / AN156 / P156
OUTC05 / INPC05 / AN155 / P155
OUTC04 / INPC04 / AN154 / P154
INPC03 / AN153 / P153
BE0IN / ISRxD0 / INPC02 / AN152 / P152
ISCLK0 / OUTC01 / INPC01 / AN151 / P151
Vss
BE0OUT / ISTxD0 / OUTC00 / INPC00 / AN150 / P150
Vcc
KI3 / AN7 / P107
KI2 / AN6 / P106
KI1 / AN5 / P105
KI0 / AN4 / P104
AN3 / P103
AN2 / P102
AN1 / P101
AVss
AN0 / P100
VREF
AVcc
STxD4 / SCL4 / RxD4 / ADTRG / P97
107
108
P11 / D9
P12 / D10
P13 / D11
P14 / D12
P15 / D13 / INT3
P16 / D14 / INT4
P17 / D15 / INT5
P20 / A0 ( / D0 ) / AN20
P21 / A1 ( / D1 ) / AN21
P22 / A2 ( / D2 ) / AN22
P23 / A3 ( / D3 ) / AN23
P24 / A4 ( / D4 ) / AN24
P25 / A5 ( / D5 ) / AN25
P26 / A6 ( / D6 ) / AN26
P27 / A7 ( / D7 ) / AN27
Vss
P30 / A8 ( MA0 ) ( / D8 )
Vcc
P120 / OUTC30 / ISTxD3
P121 / OUTC31 / ISCLK3
P122 / OUTC32 / ISRxD3
P123 / OUTC33
P124 / OUTC34
P31 / A9 ( MA1 ) ( / D9 )
P32 / A10 ( MA2 ) ( / D10 )
P33 / A11 ( MA3 ) ( / D11 )
P34 / A12 ( MA4 ) ( / D12 )
P35 / A13 ( MA5 ) ( / D13 )
P36 / A14 ( MA6 ) ( / D14 )
P37 / A15 ( MA7 ) ( / D15 )
P40 / A16 ( MA8 )
P41 / A17 ( MA9 )
Vss
P42 / A18 ( MA10 )
Vcc
P43 / A19 ( MA11 )
Figures 1.4 to 1.6 show pin assignments (top view).
NOTES:
1. P64 / CTS1 / RTS1 / SS1 / OUTC21 / ISCLK2
2. P70 / TA0OUT / TxD2 / SDA2 / SRxD2 / OUTC20 / ISTxD2 / IEOUT
3. P70 and P71 are ports for the N-channel open drain output.
Figure 1.4 Pin Assignment for 144-Pin Package
Rev.1.20 Jun. 01, 2004 page 8
of 80
144P6Q-A
P44 / CS3 / A20 (MA12)
P45 / CS2 / A21
P46 / CS1 / A22
P47 / CS0 / A23
P125
P126
P127
P50 / WRL / WR / CASL
P51 / WRH / BHE / CASH
P52 / RD / DW
P53 / CLKOUT / BCLK / ALE
P130 / OUTC24
P131 / OUTC25
Vcc
P132 / OUTC26
Vss
P133 / OUTC23
P54 / HLDA / ALE
P55 / HOLD
P56 / ALE / RAS
P57 / RDY
P134 / OUTC20 / ISTxD2 / IEOUT
P135 / OUTC22 / ISRxD2 / IEIN
P136 / OUTC21 / ISCLK2
P137 / OUTC27
P60 / CTS0 / RTS0 / SS0
P61 / CLK0
P62 / RxD0 / SCL0 / STxD0
P63 / TxD0 / SDA0 / SRxD0
P64(1)
P65 / CLK1
Vss
P66 / RxD1 / SCL1 / STxD1
Vcc
P67 / TxD1 / SDA1 / SRxD1
P70(2, 3)
M32C/82 Group
1. Overview
Table 1.4 Pin Characteristics for 144-Pin Package
Pin
No
Control
pin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 BYTE
16 CNVSS
17 XCIN/VCONT
18 XCOUT
19 RESET
20 XOUT
21 VSS
22 XIN
23 VCC
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 VCC
40
41 VSS
42
43
44
45
46
47
48
Port
Interrupt
pin
P96
P95
P94
P93
P92
Timer pin
TB4IN
TB3IN
TB2IN
P91
P90
P146
P145
P144
TB1IN
TB0IN
UART pin
Intelligent I/O pin
TxD4/SDA4/SRxD4
CLK4
CTS4/RTS4/SS4
CTS3/RTS3/SS3
TxD3/SDA3/SRxD3
RxD3/SCL3/STxD3
CLK3
P143
P142
P141
P140
ANEX1
ANEX0
DA1
DA0
OUTC20/IEOUT/ISTxD2
IEIN/ISRxD2
INPC17/OUTC17
INPC16/OUTC16
OUTC15
OUTC14
P87
P86
P85
P84
P83
P82
NMI
INT2
INT1
INT0
P81
P80
P77
P76
P75
P74
P73
P72
P71
P70
P67
TA4IN/U
TA4OUT/U
TA3IN
INPC02/ISRxD0/BE0IN
INPC01/OUTC01/ISCLK0
INPC00/OUTC00/ISTxD0/BE0OUT
INPC12/OUTC12/ISRxD1/BE1IN
TA3OUT
TA2IN/W
TA2OUT/W
TA1IN/V
TA1OUT/V
TB5IN/TA0IN
TA0OUT
CTS2/RTS2/SS2
CLK2
RxD2/SCL2/STxD2
TxD2/SDA2/SRxD2
TxD1/SDA1/SRxD1
P66
RxD1/SCL1/STxD1
P65
P64
P63
P62
P61
CLK1
CTS1/RTS1/SS1
TxD0/SDA0/SRxD0
RxD0/SCL0/STxD0
CLK0
CTS0/RTS0/SS0
P60
P137
Rev.1.20 Jun. 01, 2004 page 9
INPC11/OUTC11/ISCLK1
OUTC10/ISTxD1/BE1OUT
OUTC22/ISRxD2/IEIN
OUTC20/ISTxD2/IEOUT
OUTC21/ISCLK2
OUTC27
of 80
Analog pin
Bus control pin
M32C/82 Group
1. Overview
Table 1.4 Pin Characteristics for 144-Pin Package (Continued)
Pin
No
Control
pin
49
50
51
52
53
54
55
56
57 VSS
58
59 VCC
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74 VCC
75
76 VSS
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91 VCC
92
93 VSS
94
95
96
Port
Interrupt
pin
Timer pin
P136
P135
P134
P57
P56
P55
UART pin
Intelligent I/O pin
Analog pin
Bus control pin
OUTC21/ISCLK2
OUTC22/ISRxD2/IEIN
OUTC20/ISTxD2/IEOUT
RDY
ALE/RAS
HOLD
P54
HLDA/ALE
P133
OUTC23
P132
OUTC26
P131
P130
OUTC25
OUTC24
P53
P52
P51
CLKOUT/BCLK/ALE
RD/DW
WRH/BHE/CASH
P50
P127
P126
WRL/WR/CASL
P125
P47
P46
P45
CS0/A23
CS1/A22
CS2/A21
P44
P43
CS3/A20(MA12)
A19(MA11)
P42
A18(MA10)
P41
P40
A17(MA9)
A16(MA8)
A15(MA7)(/D15)
P37
P36
A14(MA6)(/D14)
A13(MA5)(/D13)
P35
P34
P33
A12(MA4)(/D12)
A11(MA3)(/D11)
A10(MA2)(/D10)
A9(MA1)(/D9)
P32
P31
P124
P123
P122
P121
P120
P30
P27
P26
P25
Rev.1.20 Jun. 01, 2004 page 10 of 80
A8(MA0)(/D8)
AN27
AN26
AN25
A7(/D7)
A6(/D6)
A5(/D5)
M32C/82 Group
1. Overview
Table 1.4 Pin Characteristics for 144-Pin Package (Continued)
Pin
No
Control
pin
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
Port
Interrupt
pin
Timer pin
UART pin
Intelligent I/O pin
P24
P23
P22
P21
P20
P17
P16
P15
P14
P13
P12
Analog pin
AN24
AN23
AN22
AN21
AN20
INT5
INT4
INT3
D13
D12
D11
D10
P11
P10
P07
P06
P05
P04
P114
P113
P112
AN07
AN06
D9
D8
D7
D6
AN05
AN04
D5
D4
AN03
AN02
D3
D2
D1
D0
OUTC13
INPC12/OUTC12/ISRxD1/BE1IN
P111
P110
P03
P02
INPC11/OUTC11/ISCLK1
OUTC10/ISTxD1/BE1OUT
P01
P00
P157
P156
P155
INPC07
INPC06
INPC05/OUTC05
AN01
AN00
AN157
AN156
AN155
126
127
128
129
P154
P153
P152
P151
INPC04/OUTC04
INPC03
INPC02/ISRxD0/BE0IN
INPC01/OUTC01/ISCLK0
AN154
AN153
AN152
AN151
130 VSS
131
132 VCC
P150
INPC00/OUTC00/ISTxD0/BE0OUT
AN150
135
136
137
138
139
140 AVSS
141
142 VREF
143 AVCC
144
P107
P106
P105
P104
A4(/D4)
A3(/D3)
A2(/D2)
A1(/D1)
A0(/D0)
D15
D14
122
123
124
125
133
134
Bus control pin
AN7
KI3
KI2
KI1
KI0
AN6
AN5
AN4
P103
P102
P101
AN3
AN2
AN1
P100
AN0
RxD4/SCL4/STxD4
P97
Rev.1.20 Jun. 01, 2004 page 11
of 80
ADTRG
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
30
SRxD4 / SDA4 / TxD4 / ANEX1 / P96
CLK4 / ANEX0 / P95
SS4 / RTS4 / CTS4 / TB4IN / DA1 / P94
SS3 / RTS3 / CTS3 / TB3IN / DA0 / P93
IEOUT / ISTxD2 / OUTC20 / SRxD3 / SDA3 / TxD3 / TB2IN / P92
IEIN / ISRxD2 / STxD3 / SCL3 / RxD3 / TB1IN / P91
CLK3 / TB0IN / P90
BYTE
CNVss
VCONT / XCIN / P87
XCOUT / P86
RESET
XOUT
Vss
XIN
Vcc
NMI / P85
INT2 / P84
INT1 / P83
INT0 / P82
U / TA4IN / P81
BE0IN / ISRxD0 /INPC02 / U / TA4OUT / P80
NOTES:
1. P64 / CTS1 / RTS1 / SS1 / OUTC21 / ISCLK2
2. P97 / ADTRG / RxD4 / STxD4 / SCL4
3. P70 and P71 are ports for the N-channel open drain output.
Figure 1.5 Pin assignment for 100-Pin Package
Rev.1.20 Jun. 01, 2004 page 12 of 80
ISCLK0 / OUTC01 / INPC01 / TA3IN / P77
BE0OUT / ISTxD0 / OUTC00 / INPC00 / TA3OUT / P76
BE1IN / ISRxD1 / OUTC12 / INPC12 / W / TA2IN / P75
ISCLK1 / OUTC11 / INPC11 / W / TA2OUT / P74
BE1OUT / ISTxD1 / OUTC10 / SS2 / RTS2 / CTS2 / V / TA1IN / P73
CLK2 / V / TA1OUT / P72
(3)IEIN / ISRxD2 / OUTC22 / STxD2 / SCL2 / RxD2 / TA0IN / TB5IN / P71
(3)IEOUT / ISTxD2 / OUTC20 / SRxD2 / SDA2 / TxD2 / TA0OUT / P70
P22 / A2 ( / D2 ) / AN22
P23 / A3 ( / D3 ) / AN23
P24 / A4 ( / D4 ) / AN24
P25 / A5 ( / D5 ) / AN25
P26 / A6 ( / D6 ) / AN26
P27 / A7 ( / D7 ) / AN27
Vss
P30 / A8 ( MA0 ) ( / D8 )
Vcc
P31 / A9 ( MA1 ) ( / D9 )
P32 / A10 ( MA2 ) ( / D10 )
70
69
68
67
66
65
64
63
62
61
60
P40 / A16 ( MA8 )
P41 / A17 ( MA9 )
P42 / A18 ( MA10 )
P43 / A19 ( MA11 )
54
53
52
51
P37 / A15 ( MA7 ) ( / D15 )
P21 / A1 ( / D1 ) / AN21
71
P36 / A14 ( MA6 ) ( / D14 )
P20 / A0 ( / D0 ) / AN20
72
55
P17 / D15 / INT5
73
P35 / A13 ( MA5 ) ( / D13 )
P16 / D14 / INT4
74
56
P15 / D13 / INT3
75
57
P14 / D12
76
P33 / A11 ( MA3 ) ( / D11 )
P13 / D11
77
P34 / A12 ( MA4 ) ( / D12 )
P12 / D10
78
58
P11 / D9
79
59
P10 / D8
80
M32C/82 Group
1. Overview
D7 / AN07 / P07
81
50
D6 / AN06 / P06
82
49
P45 / CS2 / A21
D5 / AN05 / P05
83
48
P46 / CS1 / A22
D4 / AN04 / P04
84
47
P47 / CS0 / A23
D3 / AN03 / P03
85
46
P50 / WRL / WR / CASL
D2 / AN02 / P02
86
45
P51 / WRH / BHE / CASH
D1 / AN01 / P01
87
44
P52 / RD / DW
D0 / AN00 / P00
88
43
P53 / CLKOUT / BCLK / ALE
KI3 / AN7 / P107
89
42
P54 / HLDA / ALE
KI2 / AN6 / P106
90
41
P55 / HOLD
KI1 / AN5 / P105
91
40
P56 / ALE / RAS
KI0 / AN4 / P104
92
39
P57 / RDY
AN3 / P103
93
38
P60 / CTS0 / RTS0 / SS0
AN2 / P102
94
37
P61 / CLK0
AN1 / P101
95
36
P62 / RxD0 / SCL0 / STxD0
AVss
96
35
P63 / TxD0 / SDA0 / SRxD0
AN0 / P100
97
34
P64(1)
VREF
98
33
P65 / CLK1
AVcc
99
32
P66 / RxD1 / SCL1 / STxD1
(2)P97
100
31
P67 / TxD1 / SDA1 / SRxD1
M32C/82 GROUP
P44 / CS3 / A20 (MA12)
100P6S-A
M32C/82 Group
P37 / A15 ( MA7 ) ( / D15 )
P40 / A16 ( MA8 )
P41 / A17 ( MA9 )
51
P32 / A10 ( MA2 ) ( / D10 )
58
52
P31 / A9 ( MA1 ) ( / D9 )
59
P36 / A14 ( MA6 ) ( / D14 )
Vcc
60
53
P30 / A8 ( MA0 ) ( / D8 )
61
P35 / A13 ( MA5 ) ( / D13 )
Vss
62
54
P27 / A7 ( / D7 ) / AN27
63
55
P26 / A6 ( / D6 ) / AN26
64
P33 / A11 ( MA3 ) ( / D11 )
P25 / A5 ( / D5 ) / AN25
65
P34 / A12 ( MA4 ) ( / D12 )
P24 / A4 ( / D4 ) / AN24
66
56
P23 / A3 ( / D3 ) / AN23
67
57
P22 / A2 ( / D2 ) / AN22
68
P17 / D15 / INT5
71
P20 / A0 ( / D0 ) / AN20
P16 / D14 / INT4
72
P21 / A1 ( / D1 ) / AN21
P15 / D13 / INT3
73
69
P14 / D12
74
70
P13 / D11
75
1. Overview
D10 / P12
76
50
D9 / P11
77
49
P43 / A19 ( MA11 )
D8 / P10
78
48
P44 / CS3 / A20 (MA12)
D7 / AN07 / P07
79
47
P45 / CS2 / A21
D6 / AN06 / P06
80
46
P46 / CS1 / A22
D5 / AN05 / P05
81
45
P47 / CS0 / A23
D4 / AN04 / P04
82
44
P50 / WRL / WR / CASL
D3 / AN03 / P03
83
43
P51 / WRH / BHE / CASH
D2 / AN02 / P02
84
42
P52 / RD / DW
D1 / AN01 / P01
85
41
P53 / CLKOUT / BCLK / ALE
D0 / AN00 / P00
86
40
P54 / HLDA / ALE
KI3 / AN37 / P107
87
39
P55 / HOLD
KI2 / AN36 / P106
88
38
P56 / ALE / RAS
KI1 / AN35 / P105
89
37
P57 / RDY
KI0 / AN34 / P104
90
36
P60 / CTS0 / RTS0 / SS0
AN33 / P103
91
35
P61 / CLK0
AN32 / P102
92
34
P62 / RxD0 / SCL0 / STxD0
AN31 / P101
93
33
P63 / TxD0 / SDA0 / SRxD0
AVss
94
32
P64(1)
AN30 / P100
95
31
P65 / CLK1
VREF
96
30
P66 / RxD1 / SCL1 / STxD1
M32C/82 GROUP
P42 / A18 ( MA10 )
16
17
18
19
20
INT2 / P84
INT1 / P83
INT0 / P82
U / TA4IN / P81
BE0IN / ISRxD0 /INPC02 / U / TA4OUT / P80
25
15
NMI / P85
BE1OUT / ISTxD1 / OUTC10 / SS2 / RTS2 / CTS2 / V / TA1IN / P73
14
Vcc
24
13
XIN
ISCLK1 / OUTC11 / INPC11 / W / TA2OUT / P74
12
Vss
23
11
XOUT
BE1IN / ISRxD1 / OUTC12 / INPC12 / W / TA2IN / P75
10
RESET
22
9
XCOUT / P86
21
8
VCONT / XCIN / P87
ISCLK0 / OUTC01 / INPC01 / TA3IN / P77
7
CNVss
BE0OUT / ISTxD0 / OUTC00 / INPC00 / TA3OUT / P76
6
BYTE
P72 / TA1OUT / V / CLK2
5
26
CLK3 / TB0IN / P90
100
4
P71(3, 4)
CLK4 / ANEX0 / P95
IEIN/ ISRxD2 / STxD3 / SCL3 / RxD3 / TB1IN / P91
27
3
99
IEOUT/ ISTxD2 / OUTC20 / SRxD3 / SDA3 / TxD3 / TB2IN / P92
P70(2, 4)
SRxD4 / SDA4 / TxD4 / ANEX1 / P96
2
P67 / TxD1 / SDA1 / SRxD1
28
1
29
98
SS3 / RTS3 / CTS3 / TB3IN / DA0 / P93
97
SS4 / RTS4 / CTS4 / TB4IN / DA1 / P94
AVcc
STxD4 / SCL4 / RxD4 / ADTRG / P97
NOTES:
1. P64 / CTS1 / RTS1 / SS1 / OUTC21 / ISCLK2
2. P70 / TA0OUT / TxD2 / SDA2 / SRxD2 / OUTC20 / ISTxD2 / IEOUT
3. P71 / TA0IN / TB5IN / RxD2 / SCL2 / STxD2 / OUTC22 / ISRxD2 / IEIN
4. P70 and P71 are ports for the N-channel open drain output.
Figure 1.6 Pin Assignment for 100-Pin Package
Rev.1.20 Jun. 01, 2004 page 13
of 80
100P6Q-A
M32C/82 Group
1. Overview
Table 1.5 Pin Characteristics for 100-Pin Package
Package
Pin No
FP GP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Control
pin
Port
P94
P93
P92
21
22
P77
P76
25
26
27
28
23
24
25
26
P75
P74
P73
29
30
31
27
28
29
32
33
34
35
36
37
30
31
32
42
43
44
45
46
47
48
49
50
TB4IN
TB3IN
TB2IN
43
44
45
46
47
48
TB1IN
TB0IN
Bus control pin
ANEX1
ANEX0
DA1
DA0
CLK4
CTS4/RTS4/SS4
CTS3/RTS3/SS3
TxD3/SDA3/SRxD3
RxD3/SCL3/STxD3
CLK3
Analog
pin
OUTC20/IEOUT/ISTxD2
IEIN/ISRxD2
VSS
XIN
VCC
23
24
38
39
40
41
Intelligent I/O pin
RESET
XOUT
P85
P84
P83
P82
P81
P80
33
34
35
36
37
38
39
40
41
42
UART pin
TxD4/SDA4/SRxD4
3
P91
4
P90
5
6 BYTE
7 CNVSS
8 XCIN/VCONT P87
P86
9 XCOUT
10
11
12
13
14
15
Timer pin
P96
P95
99
100
1
2
16
17
18
19
20
17
18
19
20
21
22
Interrupt
pin
P72
P71
P70
P67
P66
NMI
INT2
INT1
INT0
TA4IN/U
TA4OUT/U
TA3IN
INPC02/ISRxD0/BE0IN
INPC01/OUTC01/ISCLK0
INPC00/OUTC00/ISTxD0/BE0OUT
TA3OUT
TA2IN/W
TA2OUT/W
TA1IN/V
TA1OUT/V
CTS2/RTS2/SS2
CLK2
RxD2/SCL2/STxD2
TB5IN/TA0IN
TA0OUT
TxD2/SDA2/SRxD2
TxD1/SDA1/SRxD1
RxD1/SCL1/STxD1
P65
P64
P63
P62
P61
P60
P57
P56
P55
P54
P53
P52
P51
P50
P47
P46
P45
P44
Rev.1.20 Jun. 01, 2004 page 14 of 80
CLK1
CTS1/RTS1/SS1
TxD0/SDA0/SRxD0
RxD0/SCL0/STxD0
CLK0
CTS0/RTS0/SS0
INPC12/OUTC12/ISRxD1/BE1IN
INPC11/OUTC11/ISCLK1
OUTC10/ISTxD1/BE1OUT
OUTC22/ISRxD2/IEIN
OUTC20/ISTxD2/IEOUT
OUTC21/ISCLK2
RDY
ALE/RAS
HOLD
HLDA/ALE
CLKOUT/BCLK/ALE
RD/DW
WRH/BHE/CASH
WRL/WR/CASL
CS0/A23
CS1/A22
CS2/A21
CS3/A20(MA12)
M32C/82 Group
1. Overview
Table 1.5 Pin Characteristics for 100-Pin Package (Continued)
Package
pin No
Control
pin
Port
Interrupt
pin
Timer pin
UART pin
Intelligent I/O pin
Analog
pin
Bus control pin
FP GP
51
52
53
49
50
51
P43
P42
P41
54
55
56
57
58
59
60
61
52
53
54
55
56
57
58
59
P40
62
63
64
65
66
60
61
62
63
64
67
68
69
70
71
72
65
66
67
68
69
70
73
74
71
72
75
76
77
78
73
74
75
76
79
80
81
77
78
79
82
83
84
85
86
87
80
81
82
83
84
85
88
89
90
91
86
87
88
89
92
93
94
95
96
97
98
90
91
92
93
94
95
96
99
100
97
98
A19(MA11)
A18(MA10)
A17(MA9)
A16(MA8)
A15(MA7)(/D15)
A14(MA6)(/D14)
A13(MA5)(/D13)
A12(MA4)(/D12)
A11(MA3)(/D11)
P37
P36
P35
P34
P33
P32
P31
A10(MA2)(/D10)
A9(MA1)(/D9)
P30
A8(MA0)(/D8)
VCC
VSS
P27
P26
AN27
AN26
P25
P24
P23
P22
AN25
AN24
AN23
AN22
P21
P20
P17
P16
AN21
AN20
P15
P14
P13
INT5
INT4
INT3
A7(/D7)
A6(/D6)
A5(/D5)
A4(/D4)
A3(/D3)
A2(/D2)
A1(/D1)
A0(/D0)
D15
D14
D13
D12
D11
P12
P11
P10
D10
D9
D8
P07
P06
AN07
AN06
D7
D6
P05
P04
P03
AN05
AN04
AN03
D5
D4
D3
P02
P01
P00
AN02
AN01
AN00
D2
D1
D0
P107
P106
P105
P104
P103
P102
P101
KI3
AN7
AN6
AN5
KI2
KI1
KI0
AN4
AN3
AN2
AN1
AVSS
P100
AN0
VREF
AVCC
P97
Rev.1.20 Jun. 01, 2004 page 15
RxD4/SCL4/STxD4
of 80
ADTRG
M32C/82 Group
1. Overview
1.6 Pin Description
Table 1.6 Pin Description (100-Pin and 144-Pin Packages)
Symbol
Function
I/O type
VCC
VSS
Power supply input
I
I
Apply 3.0 to 5.5 V to the VCC pins.
Apply 0 V to the VSS pin.
CNVSS
CNVSS
I
Switches processor mode. Connect this pin to VSS to start up in single-chip
mode (memory expansion mode). Connect this pin to VCC to start up in
RESET
Reset input
I
microprocessor mode.
___________
The microcomputer is in a reset state when applying "L" to the RESET pin.
XIN
XOUT
Clock input
Clock output
I
O
I/O pins for the main clock oscillation circuit. Connect a ceramic resonator or
crystal oscillator between XIN and XOUT. To use an external clock, input the
I
clock to XIN and leave XOUT open.
Switches the data bus in external memory space 3. The data bus is 16 bits wide
____________
BYTE
Input to switch
external data bus
width
Description
when the BYTE pin is held "L" and 8 bits wide when the BYTE pin is held "H".
Set to either. Connect this pin to V SS when an external bus is not used.
AVCC
Analog power
supply input
I
Applies power supply for the A/D converter and D/A converter. Connect this
pin to VCC.
AVSS
Analog power
supply input
I
Applies power supply for the A/D converter and D/A converter. Connect this
pin to VSS.
VREF
Reference voltage
input
I
Applies reference voltage for the A/D converter.
P00 to P07
I/O port P0
I/O
8-bit I/O ports in CMOS having a direction register to select input or output.
Each pin is set as an input port or output port. An input port in single-chip
mode can be set for a pull-up or for no pull-up in 4-bit unit by program. When
these pins are used as bus control pins in memory expansion mode and
microprocessor mode, internal pull-up resistor cannot be selected. Ports used
D0 to D7
Data bus
I/O
as input ports can be set for a pull-up or for no pull-up in the modes above.
Inputs and outputs data (D0 to D7) when these pins are set as the separate bus.
AN00 to AN07
P10 to P17
Analog input pin
I/O port P1
I
I/O
Analog input pins for the A/D converter
8-bit I/O ports having equivalent functions to P0
________
______
________
______
INT3 to INT5
INT interrupt input
pin
D8 to D15
P20 to P27
Data bus
I/O port P2
I/O
I/O
Inputs and outputs data (D 8 to D15) when these pins are set as the separate bus.
8-bit I/O ports having equivalent functions to P0
A0 to A7
A0/D0 to
Address bus
Address bus/data
O
I/O
Outputs 8 low-order address bits (A0 to A7).
Inputs and outputs data (D0 to D7) and outputs 8 low-order address bits (A0 to
A7/D7
AN20 to AN27
bus
Analog input pin
I
P30 to P37
A8 to A15
I/O port P3
Address bus
I/O
O
8-bit I/O ports having equivalent functions to P0
Outputs 8 middle-order address bits (A8 to A15).
A8/D8 to
A15/D15
Address bus/data
bus
I/O
Inputs and outputs data (D8 to D15) and outputs 8 middle-order address bits
(A8 to A15) by time-sharing when external 16-bit data bus is set as the multi-
MA0 to MA7
Address bus
O
I : Input
O : Output
I
Input pins for the INT interrupt
A7) by time-sharing when these pins are set as the multiplexed bus.
Analog input pins for A/D converter
plexed bus.
Outputs row addresses and column addresses by time-sharing when accessing
the DRAM area.
I/O : Input and output
Rev.1.20 Jun. 01, 2004 page 16 of 80
M32C/82 Group
1. Overview
Table 1.6 Pin Description (100-Pin and 144-Pin Packages) (Continued)
Symbol
Function
I/O type
Description
P40 to P47
I/O port P4
I/O
8-bit I/O ports having equivalent functions to P0
A16 to A22,
_____
A23
Address bus
O
Outputs 8 high-order address bits (A16 to A22, A23).
______
The highest-order bit (A23) inversed is also output.
CS0 to CS3
Chip-select
O
Outputs CS0 to CS3 signals. CS0 to CS3 are chip-select signals specifying an
external space.
MA8 to MA12
Address bus
O
Outputs row addresses and column addresses by time-sharing when accessing
the DRAM area.
P50 to P57
CLKOUT
I/O port P5
Clock output
I/O
O
8-bit I/O ports having equivalent functions to P0
Outputs the main clock divided by 8 or divided by 32 or the clock having the
Bus control pin
O
______
______
_______
______
_______
_______
_______
same frequency as the sub clock from P53.
________
WRL
______
WR
_________
WRH
________ _________
______ ________
_____
_________
________
O
O
Outputs WRL, WRH, (WR, BHE), RD, BCLK, HLDA and ALE signals. WRL
_________
_______
______
and WRH or BHE and WR can be switched by program.
________ _________
_____
WRL, WRH and RD are selected
BHE
_____
RD
O
O
The WRL signal becomes "L" by writing data to an even address in an external
memory space.
BCLK
__________
HLDA
O
O
The WRH signal becomes "L" by writing data to an odd address in an external
memory space.
I
O
The RD pin signal becomes "L" by reading data in an external memory space.
______ ________
_____
WR, BHE and RD are selected
I
The WR signal becomes "L" by writing data to an external memory space.
_____
The RD signal becomes "L" by reading data in an external memory space.
________
________
_________
__________
_____
HOLD
ALE
________
______
RDY
________
The BHE signal becomes "L" by accessing an odd address.
______ ________
_____
Select WR, BHE and RD for an external 8-bit data bus.
__________
While the HOLD pin is held "L", the microcomputer is placed in a hold state.
_________
In a hold state, HLDA outputs a "L" signal.
ALE is a signal latching the address.
________
While the RDY pin is held "L", the microcomputer is placed in a wait state.
______
______
DW
_________
CASL
DRAM bus control
pin
O
O
The DW signal becomes "L" by writing data to the DRAM area.
_________
_________
CASL and CASH are signals indicating a timing to latch column addresses.
O
O
The CASL signal becomes "L" by accessing an even address.
__________
The CASH signal becomes "L" by accessing an odd address.
I/O port P6
I/O
RAS is a signal latching row addresses.
8-bit I/O ports having equivalent functions to P0
UART pin
I
O
_________
_________
CASH
_______
RAS
_______
P60 to P67
_________
_________
CTS0, CTS1
_________ _________
RTS0, RTS1
______
I/O pins for UART0 (P60 to P63) and UART1 (P64 to P67)
______
SS0, SS1
CLK0, CLK1
I
I/O
RxD0, RxD1
SCL0, SCL1
I
I/O
STxD0, STxD1
TxD0, TxD1
O
O
SDA0, SDA1
SRxD0, SRxD1
I/O
I
ISCLK2
OUTC21
Intelligent I/O pin
I/O
O
ISCKL2 inputs and outputs the clock for the intelligent I/O communication
function.
OUTC21 outputs the clock for the waveform generating function.
I : Input
O : Output
I/O : Input and output
Rev.1.20 Jun. 01, 2004 page 17
of 80
M32C/82 Group
1. Overview
Table 1.6 Pin Description (100-Pin and 144-Pin Packages) (Continued)
Symbol
P70 to P77
Function
I/O type
Description
I/O port P7
I/O
8-bit I/O ports having equivalent functions to P0
(P70 and P71 are ports for the N-channel open drain output.)
TA0OUT to TA3OUT Timer A pin
TA0IN to TA3IN
I/O
I
I/O pins for timer A0 to A3
TB5IN
Timer B pin
Three-phase motor
I
O
Input pin for timer B5
V-phase output pin
control output pin
UART pin
O
I
W-phase output pin
I/O pins for UART2
___
V, V
___
W, W
_________
CTS2
_________
RTS2
______
SS2
O
I
CLK2
RxD2
I/O
I
SCL2
STxD2
I/O
O
TxD2
SDA2
O
I/O
SRxD2
INPC00, INPC01 Intelligent I/O pin
INPC11, INPC12
OUTC00, OUTC01
I
I
INPC00, INPC01, INPC11 and INPC12 are input pins for the time measure-
O
ment function.
OUTC00, OUTC01, OUTC10 to OUTC12, OUTC20 and OUTC22 are output
OUTC10 to OUTC12
OUTC20, OUTC22
pins for the waveform generating function.
ISCLK0 and ISCLK1 input and output the clock for the intelligent I/O communi-
ISCLK0, ISCLK1
ISTxD0 to ISTxD2
I/O
O
cation function.
ISRxD1, ISRxD2, IEIN and BE1IN input received data for the intelligent I/O
ISRxD1, ISRxD2
IEOUT
I
O
communication function.
ISTxD0 to ISTxD2, IEOUT, BE0OUT and BE1OUT output transmit data for the
IEIN
BE0OUT
I
O
intelligent I/O communication function.
BE1OUT
BE1IN
O
I
I : Input
O : Output
I/O : Input and output
Rev.1.20 Jun. 01, 2004 page 18 of 80
M32C/82 Group
1. Overview
Table 1.6 Pin Description (100-Pin and 144-Pin Packages) (Continued)
Symbol
Function
I/O type
I/O
P80 to P84,
P86, P87
I/O port P8
XCIN
XCOUT
Sub clock
VCONT
Low-pass filter connect
I
O
Timer A pin
I/O
I
I/O pins for timer A4
Three-phase motor
control output pin
O
U-phase output pins
TA4IN
___
U, U
________
________
I/O pins for the sub clock oscillation circuit. Connect a crystal oscillator
between XCIN and XCOUT.
Connects the low-pass filter to the VCONT pin when using the PLL frequency
synthesizer. Connect P86 to VSS to stabilize the PLL frequency.
pin for PLL frequency
synthesizer pin
TA4OUT
Description
I/O ports having equivalent functions to P0
______
______
INT0 to INT2
INT interrupt input
pin
I
Input pins for the INT interrupt
INPC02
Intelligent I/O pin
I
I
INPC02 is an input pin for the time measurement function.
ISRxD0
BE0IN
_______
_______
P85/NMI
NMI interrupt input
P90 to P97
pin
I/O port P9
I
I
I/O
I
ISRxD0 and BE0IN input received data for the intelligent I/O communication function.
_______
Input pin for the NMI interrupt.
Pin states can be read by the P8_5 bit in the P8 register.
8-bit I/O ports having equivalent functions P0.
The PRCR register prevents PD9 and PS3 registers from rewriting.
TB0IN to TB4IN Timer B pin
_________ __________
CTS3, CTS4
UART pin
_________ _________
RTS3, RTS4
_______ _______
SS3, SS4
I
O
I
CLK3, CLK4
RxD3, RxD4
I/O
I
SCL3, SCL4
STxD3, STxD4
I/O
O
TxD3, TxD4
SDA3, SDA4
O
I/O
SRxD3, SRxD4
DA0, DA1
D/A output pin
I
O
Output pins for the D/A converter
ANEX0,
ANEX1,
I/O
I
ANEX0 is an extended analog I/O pin for the A/D converter.
ANEX1 is an extended analog input pin for the A/D converter.
I
O
ADTRG is an A/D trigger input pin.
OUTC20 is an output pin for the waveform generating function.
ISTxD2
IEOUT
O
O
ISTxD2 and IEOUT output transmit data for the intelligent I/O communication
function.
IEIN
ISRxD2
I
I
ISRxD2 and IEIN input received data for the intelligent I/O communication
function.
A/D related pin
___________
__________
ADTRG
OUTC20
Intelligent I/O pin
P100 to P107
KI0 to KI3
I/O port P10
Key input interrupt
AN0 to AN7
pin
Analog input pin
_____
_____
I : Input
Input pins for timers B0 to B4
I/O pins for UART3 (P90 to P93) and UART4 (P94 to P97)
O : Output
I/O
I
I
8-bit I/O ports having equivalent functions to P0
Input pins for the key input interrupt
Analog input pins for the A/D converter
I/O : Input and output
Rev.1.20 Jun. 01, 2004 page 19
of 80
M32C/82 Group
1. Overview
Table 1.6 Pin Description (144-Pin Package only) (Continued)
Symbol
Function
I/O type
I/O port P11
P110 to P114
INPC11, INPC12 Intelligent I/O pin
OUTC10 to OUTC13
ISCLK1
ISRxD1
BE1IN
ISTxD1
BE1OUT
P120 to P127
I/O port P12
I/O port P13
P130 to P137
OUTC20 to OUTC27 Intelligent I/O pin
ISCLK2
ISRxD2
IEIN
ISTxD2
IEOUT
I/O port P14
P140 to P146
INPC16, INPC17 Intelligent I/O pin
OUTC14 to OUTC17
P150 to P157
I/O port P15
INPC00 to INPC07 Intelligent I/O pin
OUTC00, OUTC01
OUTC04, OUTC05
ISCLK0
Description
I/O
5-bit I/O ports having equivalent functions to P0.
I
O
INPC11 and INPC12 are input pins for the time measurement function.
OUTC10 to OUTC13 are output pins for the waveform generating function.
I/O
I
ISCLK1 inputs and outputs the clock for the intelligent I/O communication
function.
I
O
ISRxD1 and BE1IN input received data for the intelligent I/O communication
function.
O
ISTxD1 and BE1OUT output transmit data for the intelligent I/O communication
function.
I/O
I/O
8-bit I/O ports having equivalent functions to P0
8-bit I/O ports having equivalent functions to P0
O
I/O
OUTC20 to OUTC27 are output pins for the waveform generating function.
ISCLK2 inputs and outputs the clock for the intelligent I/O communication
I
I
function.
ISRxD2 and IEIN input received data for the intelligent I/O communication
O
O
function.
ISTxD2 and IEOUT output transmit data for the intelligent I/O communication
I/O
function.
7-bit I/O ports having equivalent functions to P0
I
O
INPC16 and INPC17 are input pins for the time measurement function.
OUTC14 to OUTC17 are output pins for the waveform generating function.
I/O
I
O
8-bit I/O ports having equivalent functions to P0
INPC00 to INPC07 are input pins for the time measurement function.
OUTC00, OUTC01, OUTC04 and OUTC05 are output pins for the waveform
I/O
generating function.
ISCLK0 inputs and outputs the clock for the intelligent I/O communication
ISRxD0
BE0IN
I
I
function.
ISRxD0 and BE0IN input received data for the intelligent I/O communication
ISTxD0
BE0OUT
O
O
function.
ISTxD0 and BE0OUT output transmit data for the intelligent I/O communication
AN150 to AN157 Analog input port
I
function.
Analog input pins for the A/D converter
I : Input
O : Output
I/O : Input and output
Rev.1.20 Jun. 01, 2004 page 20 of 80
2. Central Processing Unit (CPU)
M32C/82 Group
2. Central Processing Unit (CPU)
Figure 2.1 shows the CPU registers.
A register bank comprises 8 registers (R0, R1, R2, R3, A0, A1, SB and FB) out of 28 CPU registers. Two
sets of register banks are provided.
b31
b15
General register
b0
R2
R0H
R3
R1H
R0L
R1L
Data register(1)
R2
R3
b23
A0
Address register(1)
A1
SB
Static base register(1)
FB
Frame base register(1)
USP
User stack pointer
ISP
Interrupt stack pointer
INTB
Interrupt table register
Program counter
PC
FLG
b15
Flag register
b8 b7
IPL
b0
U I O B S Z D C
Carry flag
Debug flag
Zero flag
Sign flag
Register bank flag
Overflow flag
Interrupt enable flag
Stack pointer select flag
Reserved space
Processor interrupt priority level
Reserved space
b15
High-speed interrupt register
b0
SVF
b23
Flag save register
SVP
PC save register
VCT
Vector register
b7
DMAC related register
b0
DMD0
DMD1
b15
DCT0
DCT1
DMA mode register
DMA transfer count register
DRC0
DRC1
b23
DMA transfer count reload register
DMA0
DMA1
DMA memory address register
DRA0
DRA1
DMA memory address reload register
DSA0
DSA1
DMA SFR adress register
NOTES:
1. A register bank comprise these registers. Two sets of register banks are provided.
Figure 2.1 CPU Register
Rev.1.20 Jun. 01, 2004 page 21
of 80
2. Central Processing Unit (CPU)
M32C/82 Group
2.1 General Register
2.1.1 Data Registers (R0, R1, R2 and R3)
R0, R1, R2 and R3 are 16-bit registers for transfer, arithmetic and logic operations. R0 and R1 can be
split into high-order bits (R0H) and low-order bits (R0L) to be used separately as 8-bit data registers.
R0 can be combined with R2 to be used as a 32-bit data register (R2R0). The same applies to R3R1.
2.1.2 Address Registers (A0 and A1)
A0 and A1 are 24-bit registers for A0-/A1-indirect addressing, A0-/A1-relative addressing, transfer, arithmetic and logic operations.
2.1.3 Static Base Register (SB)
SB is a 24-bit register for SB-relative addressing.
2.1.4 Frame Base Register (FB)
FB is a 24-bit register for FB-relative addressing.
2.1.5 Program Counter (PC)
PC is 24 bits wide. It indicates an address of an instruction to be executed.
2.1.6 Interrupt Table Register (INTB)
INTB is a 24-bit register indicating a starting address of an interrupt vector table.
2.1.7 User Stack Pointer (USP), Interrupt Stack Pointer (ISP)
USP and ISP as the stack pointer are 24 bits wide. The U flag can switch USP to ISP and vice versa.
Refer to "2.1.8 Flag Register (FLG)" about the U flag. Set USP and ISP to even addresses to execute an
interrupt sequence efficiently.
2.1.8 Flag Register (FLG)
FLG is a 16-bit register indicating a CPU state.
2.1.8.1 Carry Flag (C)
The C flag indicates whether carry or borrow occurs after an instruction is executed.
2.1.8.2 Debug Flag (D)
The D flag is for debug only. Set to "0".
2.1.8.3 Zero Flag (Z)
The Z flag is set to "1" when the value of zero is obtained from an arithmetic calculation; otherwise "0".
2.1.8.4 Sign Flag (S)
The S flag is set to "1" when a negative value is obtained from an arithmetic calculation; otherwise "0".
Rev.1.20 Jun. 01, 2004 page 22
of 80
2. Central Processing Unit (CPU)
M32C/82 Group
2.1.8.5 Register Bank Select Flag (B)
The register bank 0 is selected when the B flag is set to "0". The register bank 1 is selected when this
flag is set to "1".
2.1.8.6 Overflow Flag (O)
The O flag is set to "1" when a result of an arithmetic operation overflows; otherwise "0".
2.1.8.7 Interrupt Enable Flag (I)
The I flag enables a maskable interrupt.
An interrupt is disabled when the I flag is set to "0" and is enabled when the I flag is set to "1". The I
flag is set to "0" when an interrupt is acknowledged.
2.1.8.8 Stack Pointer Select Flag (U)
ISP is selected when the U flag is set to "0". USP is selected when this flag is set to "1".
The U flag is set to "0" when a hardware interrupt is acknowledged or the INT instruction of software
interrupt numbers 0 to 31 is executed.
2.1.8.9 Processor Interrupt Priority Level (IPL)
IPL is 3 bits wide. It assigns an interrupt priority levels from level 0 to level 7.
If a requested interrupt has a greater priority than IPL, the interrupt is enabled.
2.1.8.10 Reserved Space
When writing to the reserved space, set to "0". When read, its content is indeterminate.
2.2 High-Speed Interrupt Registers
Registers associated with the high-speed interrupt are as follows.
- Flag save register (SVF)
- PC save register (SVP)
- Vector register (VCT)
2.3 DMAC-associated Registers
Registers associated with DMAC are as follows.
- DMA mode register (DMD0, DMD1)
- DMA transfer count register (DCT0, DCT1)
- DMA transfer count reload register (DRC0, DRC1)
- DMA memory address register (DMA0, DMA1)
- DMA SFR address register (DSA0, DSA1)
- DMA memory address reload register (DRA0, DRA1)
Rev.1.20 Jun. 01, 2004 page 23
of 80
M32C/82 Group
3. Memory
3. Memory
Figure 3.1 shows a memory map of the M32C/82 group.
The M32C/82 provides 16-Mbyte address space from addresses 00000016 to FFFFFF16.
The internal ROM is allocated in lower addresses beginning with address FFFFFF16. For example, a 64Kbyte internal ROM is allocated in addresses FF000016 to FFFFFF16.
The fixed interrupt vectors are allocated in addresses FFFFDC16 to FFFFFF16. It stores the starting address of each interrupt routine.
The internal RAM is allocated in higher addresses beginning with address 00040016. For example, a 10Kbyte internal RAM is allocated in addresses 00040016 to 002BFF16. Besides storing data, it becomes
stacks when the subroutine is called or an interrupt is acknowleged.
The SFR is allocated in addresses 00000016 to 0003FF16. The control registers for peripheral functions
such as I/O port, A/D conversion, serial I/O, timer are allocated here. All addresses, which have nothing
allocated within the SFR, are reserved space and cannot be accessed by users.
The special page vectors are allocated in addresses FFFE0016 to FFFFDB16. It is used for the JMPS
instruction and JSRS instruction. Refer to the Renesas publication Software Manual for details.
In memory expansion mode and microprocessor mode, some space are reserved and cannot be accessed
by users.
00000016
SFR
00040016
XXXXXX16
Internal RAM
Reserved space(1)
FFFE00 16
00800016
Special page
vector table
External space
Type number
Address
XXXXXX 16
M30823MW
M30825MW
M30823MH
FB000016
M30828MH
Undefined instruction
Overflow
BRK instruction
Address match
F0000016
Reserved space(2)
Watchdog timer
YYYYYY16
0063FF16
M30825MH
M30826MH
Address
YYYYYY 16
FFFFDC 16
Internal RAM
FA000016
007FFF16
Figure 3.1 Memory Map
Rev.1.20 Jun. 01, 2004 page 24 of 80
FFFFFF16
FFFFFF 16
NOTES:
1. In memory expansion and microprocessor modes
2. In memory expansion mode
NMI
Reset
3. Special Function Registers (SFR)
M32C/82 Group
4. Special Function Registers (SFR)
Address
000016
000116
000216
000316
Register
Symbol
Value after RESET
1000 00002 (CNVss pin ="L")
000416
Processor mode register 0
PM0
000516
000616
000716
000816
000916
000A16
Processor mode register 1
System clock control register 0
System clock control register 1
Wait control register
Address match interrupt enable register
Protect register
PM1
CM0
CM1
WCR
AIER
PRCR
000B16
External data bus width control register
DS
000C16
000D16
000E16
000F16
001016
001116
Main clock division register
Oscillation stop detect register
Watchdog timer start register
Watchdog timer control register
MCD
CM2
WDTS
WDC
Address match interrupt register 0
RMAD0
00000016
Address match interrupt register 1
RMAD1
00000016
VDC control register for PLL
PLV
XXXX XX012
Address match interrupt register 2
RMAD2
00000016
VDC control register 0
VDC0
0016
Address match interrupt register 3
RMAD3
00000016
001216
001316
001416
001516
001616
001716
001816
001916
001A16
001B16
001C16
001D16
001E16
001F16
002016
002116
002216
002316
002416
002516
002616
002716
002816
002916
002A16
002B16
002C16
002D16
002E16
002F16
X: Indeterminate
Blank spaces are reserved. No access is allowed.
Rev.1.20 Jun. 01, 2004page 25
of 80
0000 00112 (CNVss pin ="H")
0X00 00002
0000 X0002
0010 00002
1111 11112
XXXX 00002
XXXX 00002
XXXX 10002 (BYTE pin ="L")
XXXX 00002 (BYTE pin ="H")
XXX0 10002
0016
XX16
000X XXXX2
3. Special Function Registers (SFR)
M32C/82 Group
Address
Register
003016
003116
003216
003316
003416
003516
003616
003716
003816
003916
003A16
003B16
003C16
003D16
003E16
003F16
004016 DRAM control register
004116 DRAM refresh interval set register
004216
004316
004416
004516
004616
004716
004816
004916
004A16
004B16
004C16
004D16
004E16
004F16
005016
005116
005216
005316
005416
005516
005616
005716
005816
005916
005A16
005B16
005C16
005D16
005E16
005F16
X: Indeterminate
Blank spaces are reserved. No access is allowed.
Rev.1.20 Jun. 01, 2004 page 26
of 80
Symbol
DRAMCONT
REFCNT
Value after RESET
XX16
XX16
3. Special Function Registers (SFR)
M32C/82 Group
Address
006016
006116
006216
006316
006416
006516
006616
006716
006816
006916
006A16
006B16
006C16
006D16
006E16
006F16
007016
007116
007216
007316
007416
007516
007616
007716
007816
007916
007A16
007B16
007C16
007D16
007E16
007F16
008016
008116
008216
008316
008416
008516
008616
008716
008816
008916
008A16
008B16
008C16
008D16
008E16
008F16
Register
Symbol
Value after RESET
DMA0 interrupt control register
Timer B5 interrupt control register
DMA2 interrupt control register
UART2 receive /ACK interrupt control register
Timer A0 interrupt control register
UART3 receive /ACK interrupt control register
Timer A2 interrupt control register
UART4 receive /ACK interrupt control register
Timer A4 interrupt control register
UART0/UART3 bus conflict detect interrupt control register
UART0 receive/ACK interrupt control register
A/D0 conversion interrupt control register
UART1 receive/ACK interrupt control register
Intelligent I/O interrupt control register 0
Timer B1 interrupt control register
Intelligent I/O interrupt control register 2
Timer B3 interrupt control register
Intelligent I/O interrupt control register 4
INT5 interrupt control register
Intelligent I/O interrupt control register 6
INT3 interrupt control register
Intelligent I/O interrupt control register 8
INT1 interrupt control register
Intelligent I/O interrupt control register 10
DM0IC
TB5IC
DM2IC
S2RIC
TA0IC
S3RIC
TA2IC
S4RIC
TA4IC
BCN0IC/BCN3IC
S0RIC
AD0IC
S1RIC
IIO0IC
TB1IC
IIO2IC
TB3IC
IIO4IC
INT5IC
IIO6IC
INT3IC
IIO8IC
INT1IC
IIO10IC
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XX00 X0002
XXXX X0002
XX00 X0002
XXXX X0002
XX00 X0002
XXXX X0002
Intelligent I/O interrupt control register 11
IIO11IC
XXXX X0002
DMA1 interrupt control register
UART2 transmit /NACK interrupt control register
DMA3 interrupt control register
UART3 transmit /NACK interrupt control register
Timer A1 interrupt control register
UART4 transmit /NACK interrupt control register
Timer A3 interrupt control register
UART2 bus conflict detect interrupt control register
DM1IC
S2TIC
DM3IC
S3TIC
TA1IC
S4TIC
TA3IC
BCN2IC
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
X: Indeterminate
Blank spaces are reserved. No access is allowed.
Rev.1.20 Jun. 01, 2004page 27
of 80
3. Special Function Registers (SFR)
M32C/82 Group
Address
009016
009116
009216
009316
009416
009516
009616
009716
009816
009916
009A16
009B16
009C16
009D16
009E16
009F16
00A016
00A116
00A216
00A316
00A416
00A516
00A616
00A716
00A816
00A916
00AA16
00AB16
00AC16
00AD16
00AE16
00AF16
00B016
00B116
00B216
00B316
00B416
00B516
00B616
00B716
00B816
00B916
00BA16
00BB16
00BC16
00BD16
00BE16
00BF16
Register
UART0 transmit /NACK interrupt control register
UART1/UART4 bus conflict detect interrupt control register
UART1 transmit/NACK interrupt control register
Key input interrupt control register
Timer B0 interrupt control register
Intelligent I/O interrupt control register 1
Timer B2 interrupt control register
Intelligent I/O interrupt control register 3
Timer B4 interrupt control register
Intelligent I/O interrupt control register 5
INT4 interrupt control register
Intelligent I/O interrupt control register 7
INT2 interrupt control register
Intelligent I/O interrupt control register 9
INT0 interrupt control register
Exit priority control register
Interrupt request register 0
Interrupt request register 1
Interrupt request register 2
Interrupt request register 3
Interrupt request register 4
Interrupt request register 5
Interrupt request register 6
Interrupt request register 7
Interrupt request register 8
Interrupt request register 9
Interrupt request register 10
Interrupt request register 11
Symbol
S0TIC
BCN1IC/BCN4IC
S1TIC
KUPIC
TB0IC
IIO1IC
TB2IC
IIO3IC
TB4IC
IIO5IC
INT4IC
IIO7IC
INT2IC
IIO9IC
INT0IC
RLVL
IIO0IR
IIO1IR
IIO2IR
IIO3IR
IIO4IR
IIO5IR
IIO6IR
IIO7IR
IIO8IR
IIO9IR
IIO10IR
IIO11IR
Value after RESET
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XXXX X0002
XX00 X0002
XXXX X0002
XX00 X0002
XXXX X0002
XX00 X0002
XXXX 00002
0000 000X2
0000 000X2
0000 000X2
0000 000X2
0000 000X2
0000 000X2
0000 000X2
0000 000X2
0000 000X2
0000 000X2
0000 000X2
0000 000X2
Interrupt enable register 0
Interrupt enable register 1
Interrupt enable register 2
Interrupt enable register 3
Interrupt enable register 4
Interrupt enable register 5
Interrupt enable register 6
Interrupt enable register 7
Interrupt enable register 8
Interrupt enable register 9
Interrupt enable register 10
Interrupt enable register 11
IIO0IE
IIO1IE
IIO2IE
IIO3IE
IIO4IE
IIO5IE
IIO6IE
IIO7IE
IIO8IE
IIO9IE
IIO10IE
IIO11IE
0016
0016
0016
0016
0016
0016
0016
0016
0016
0016
0016
0016
X: Indeterminate
Blank spaces are reserved. No access is allowed.
Rev.1.20 Jun. 01, 2004 page 28
of 80
3. Special Function Registers (SFR)
M32C/82 Group
Address
00C016
00C116
00C216
00C316
00C416
00C516
00C616
00C716
00C816
00C916
00CA16
00CB16
00CC16
00CD16
00CE16
00CF16
00D016
00D116
00D216
00D316
00D416
00D516
00D616
00D716
00D816
00D916
00DA16
00DB16
00DC16
00DD16
00DE16
00DF16
00E016
00E116
00E216
00E316
00E416
00E516
00E616
00E716
00E816
00E916
00EA16
00EB16
00EC16
00ED16
00EE16
00EF16
Register
Symbol
Value after RESET
XX16
Group 0 time measurement/waveform generating register 0
G0TM0/G0PO0
Group 0 time measurement/waveform generating register 1
G0TM1/G0PO1
Group 0 time measurement/waveform generating register 2
G0TM2/G0PO2
Group 0 time measurement/waveform generating register 3
G0TM3/G0PO3
Group 0 time measurement/waveform generating register 4
G0TM4/G0PO4
Group 0 time measurement/waveform generating register 5
G0TM5/G0PO5
Group 0 time measurement/waveform generating register 6
G0TM6/G0PO6
Group 0 time measurement/waveform generating register 7
G0TM7/G0PO7
Group 0 waveform generating control register 0
Group 0 waveform generating control register 1
Group 0 waveform generating control register 2
Group 0 waveform generating control register 3
Group 0 waveform generating control register 4
Group 0 waveform generating control register 5
Group 0 waveform generating control register 6
Group 0 waveform generating control register 7
Group 0 time measurement control register 0
Group 0 time measurement control register 1
Group 0 time measurement control register 2
Group 0 time measurement control register 3
Group 0 time measurement control register 4
Group 0 time measurement control register 5
Group 0 time measurement control register 6
Group 0 time measurement control register 7
G0POCR0
G0POCR1
G0POCR2
G0POCR3
G0POCR4
G0POCR5
G0POCR6
G0POCR7
G0TMCR0
G0TMCR1
G0TMCR2
G0TMCR3
G0TMCR4
G0TMCR5
G0TMCR6
G0TMCR7
Group 0 base timer register
G0BT
Group 0 base timer control register 0
Group 0 base timer control register 1
Group 0 time measurement prescaler register 6
Group 0 time measurement prescaler register 7
Group 0 function enable register
Group 0 function select register
G0BCR0
G0BCR1
G0TPR6
G0TPR7
G0FE
G0FS
Group 0 SI/O receive buffer register
G0RB
Group 0 transmit buffer/receive data register
G0TB/G0DR
XX00 XXXX2
XX16
Group 0 receive input register
Group 0 SI/O communication mode register
Group 0 transmit output register
Group 0 SI/O communication control register
G0RI
G0MR
G0TO
G0CR
XX16
0016
XX16
0000 X0002
X: Indeterminate
Blank spaces are reserved. No access is allowed.
Rev.1.20 Jun. 01, 2004page 29
of 80
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
0X00 X0002
0X00 X0002
0X00 X0002
0X00 X0002
0X00 X0002
0X00 X0002
0X00 X0002
0X00 X0002
0016
0016
0016
0016
0016
0016
0016
0016
XX16
XX16
0016
0016
0016
0016
0016
0016
XXXX XXXX2
3. Special Function Registers (SFR)
M32C/82 Group
Address
00F016
00F116
00F216
00F316
00F416
00F516
00F616
00F716
00F816
00F916
00FA16
00FB16
00FC16
00FD16
00FE16
00FF16
010016
010116
010216
010316
010416
010516
010616
010716
010816
010916
010A16
010B16
010C16
010D16
010E16
010F16
011016
011116
011216
011316
011416
011516
011616
011716
011816
011916
011A16
011B16
011C16
011D16
011E16
011F16
Register
Group 0 data compare register 0
Group 0 data compare register 1
Group 0 data compare register 2
Group 0 data compare register 3
Group 0 data mask register 0
Group 0 data mask register 1
Symbol
G0CMP0
G0CMP1
G0CMP2
G0CMP3
G0MSK0
G0MSK1
Group 0 receive CRC code register
G0RCRC
Group 0 transmit CRC code register
G0TCRC
Group 0 SI/O extended mode register
Group 0 SI/O extended receive control register
Group 0 SI/O special communication interrupt detect register
Group 0 SI/O extended transmit control register
G0EMR
G0ERC
G0IRF
G0ETC
Group 1 time measurement/waveform generating register 0
G1TM0/G1PO0
Group 1 time measurement/waveform generating register 1
G1TM1/G1PO1
Group 1 time measurement/waveform generating register 2
G1TM2/G1PO2
Group 1 time measurement/waveform generating register 3
G1TM3/G1PO3
Group 1 time measurement/waveform generating register 4
G1TM4/G1PO4
Group 1 time measurement/waveform generating register 5
G1TM5/G1PO5
Group 1 time measurement/waveform generating register 6
G1TM6/G1PO6
Group 1 time measurement/waveform generating register 7
G1TM7/G1PO7
Group 1 waveform generating control register 0
Group 1 waveform generating control register 1
Group 1 waveform generating control register 2
Group 1 waveform generating control register 3
Group 1 waveform generating control register 4
Group 1 waveform generating control register 5
Group 1 waveform generating control register 6
Group 1 waveform generating control register 7
Group 1 time measurement control register 0
Group 1 time measurement control register 1
Group 1 time measurement control register 2
Group 1 time measurement control register 3
Group 1 time measurement control register 4
Group 1 time measurement control register 5
Group 1 time measurement control register 6
Group 1 time measurement control register 7
G1POCR0
G1POCR1
G1POCR2
G1POCR3
G1POCR4
G1POCR5
G1POCR6
G1POCR7
G1TMCR0
G1TMCR1
G1TMCR2
G1TMCR3
G1TMCR4
G1TMCR5
G1TMCR6
G1TMCR7
Value after RESET
XX16
XX16
XX16
XX16
XX16
XX16
XX16
X: Indeterminate
Blank spaces are reserved. No access is allowed.
Rev.1.20 Jun. 01, 2004 page 30
of 80
XX16
0016
0016
0016
0016
0000 00XX2
0000 0XXX2
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
0X00 X0002
0X00 X0002
0X00 X0002
0X00 X0002
0X00 X0002
0X00 X0002
0X00 X0002
0X00 X0002
0016
0016
0016
0016
0016
0016
0016
0016
3. Special Function Registers (SFR)
M32C/82 Group
Address
012016
012116
012216
012316
012416
012516
012616
012716
012816
012916
012A16
012B16
012C16
012D16
012E16
012F16
013016
013116
013216
013316
013416
013516
013616
013716
013816
013916
013A16
013B16
013C16
013D16
013E16
013F16
014016
014116
014216
014316
014416
014516
014616
014716
014816
014916
014A16
014B16
014C16
014D16
014E16
014F16
Register
Symbol
Value after RESET
XX16
Group 1 base timer register
G1BT
Group 1 base timer control register 0
Group 1 base timer control register 1
Group 1 time measurement prescaler register 6
Group 1 time measurement prescaler register 7
Group 1 function enable register
Group 1 function select register
G1BCR0
G1BCR1
G1TPR6
G1TPR7
G1FE
G1FS
Group 1 SI/O receive buffer register
G1RB
Group 1 transmit buffer/receive data register
G1TB/G1DR
XX00 XXXX2
XX16
Group 1 receive input register
Group 1 SI/O communication mode register
Group 1 transmit output register
Group 1 SI/O communication control register
Group 1 data compare register 0
Group 1 data compare register 1
Group 1 data compare register 2
Group 1 data compare register 3
Group 1 data mask register 0
Group 1 data mask register 1
G1RI
G1MR
G1TO
G1CR
G1CMP0
G1CMP1
G1CMP2
G1CMP3
G1MSK0
G1MSK1
XX16
0016
XX16
0000 X0002
XX16
XX16
XX16
XX16
XX16
XX16
Group 1 receive CRC code register
G1RCRC
Group 1 transmit CRC code register
G1TCRC
Group 1 SI/O extended mode register
Group 1 SI/O extended receive control register
Group 1 SI/O special communication interrupt detect register
Group 1 SI/O extended transmit control register
G1EMR
G1ERC
G1IRF
G1ETC
Group 2 waveform generating register 0
G2PO0
Group 2 waveform generating register 1
G2PO1
Group 2 waveform generating register 2
G2PO2
Group 2 waveform generating register 3
G2PO3
Group 2 waveform generating register 4
G2PO4
Group 2 waveform generating register 5
G2PO5
Group 2 waveform generating register 6
G2PO6
Group 2 waveform generating register 7
G2PO7
XX16
0016
0016
0016
0016
0016
0016
XXXX XXXX2
XX16
X: Indeterminate
Blank spaces are reserved. No access is allowed.
Rev.1.20 Jun. 01, 2004page 31
of 80
XX16
0016
0016
0016
0016
0000 00XX2
0000 0XXX2
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
3. Special Function Registers (SFR)
M32C/82 Group
Address
015016
015116
015216
015316
015416
015516
015616
015716
015816
015916
015A16
015B16
015C16
015D16
015E16
015F16
016016
016116
016216
016316
016416
016516
016616
016716
016816
016916
016A16
016B16
016C16
016D16
016E16
016F16
017016
017116
017216
017316
017416
017516
017616
017716
017816
017916
017A16
to
01D316
01D416
01D516
01D616
01D716
01D816
to
02BF16
Register
Group 2 waveform generating control register 0
Group 2 waveform generating control register 1
Group 2 waveform generating control register 2
Group 2 waveform generating control register 3
Group 2 waveform generating control register 4
Group 2 waveform generating control register 5
Group 2 waveform generating control register 6
Group 2 waveform generating control register 7
Symbol
G2POCR0
G2POCR1
G2POCR2
G2POCR3
G2POCR4
G2POCR5
G2POCR6
G2POCR7
Value after RESET
0016
0016
0016
0016
0016
0016
0016
0016
Group 2 base timer register
G2BT
Group 2 base timer control register 0
Group 2 base timer control register 1
Base timer start register
G2BCR0
G2BCR1
BTSR
XX16
0016
0016
XXXX 00002
Group 2 function enable register
Group 2 RTP output buffer register
G2FE
G2RTP
0016
0016
Group 2 SI/O communication mode register
Group 2 SI/O communication control register
G2MR
G2CR
00XX X0002
0000 X0002
XX16
Group 2 SI/O transmit buffer register
G2TB
Group 2 SI/O receive buffer register
G2RB
Group 2 IEBus address register
IEAR
Group 2 IEBus control register
Group 2 IEBus transmit interrupt cause detect register
Group 2 IEBus receive interrupt cause detect register
IECR
IETIF
IERIF
XX16
00XX X0002
XXX0 00002
XXX0 00002
Input function select register
IPS
0016
A/D1 control register 2
AD1CON2
X00X X0002
A/D1 control register 0
A/D1 control register 1
AD1CON0
AD1CON1
0016
XX00 00002
XX16
X: Indeterminate
Blank spaces are reserved. No access is allowed.
Rev.1.20 Jun. 01, 2004 page 32
of 80
XX16
XX16
XX16
XX16
3. Special Function Registers (SFR)
M32C/82 Group
Address
02C016
02C116
02C216
02C316
02C416
02C516
02C616
02C716
02C816
02C916
02CA16
02CB16
02CC16
02CD16
02CE16
02CF16
02D016
02D116
02D216
02D316
02D416
02D516
02D616
02D716
02D816
02D916
02DA16
02DB16
02DC16
02DD16
02DE16
02DF16
02E016
02E116
02E216
02E316
02E416
02E516
02E616
02E716
02E816
02E916
02EA16
Register
Symbol
X0 register Y0 register
X0R,Y0R
X1 register Y1 register
X1R,Y1R
X2 register Y2 register
X2R,Y2R
X3 register Y3 register
X3R,Y3R
X4 register Y4 register
X4R,Y4R
X5 register Y5 register
X5R,Y5R
X6 register Y6 register
X6R,Y6R
X7 register Y7 register
X7R,Y7R
X8 register Y8 register
X8R,Y8R
X9 register Y9 register
X9R,Y9R
X10 register Y10 register
X10R,Y10R
X11 register Y11 register
X11R,Y11R
X12 register Y12 register
X12R,Y12R
X13 register Y13 register
X13R,Y13R
X14 register Y14 register
X14R,Y14R
X15 register Y15 register
X15R,Y15R
XY control register
XYC
UART1 special mode register 4
UART1 special mode register 3
UART1 special mode register 2
UART1 special mode register
UART1 transmit/receive mode register
UART1 baud rate register
U1SMR4
U1SMR3
U1SMR2
U1SMR
U1MR
U1BRG
UART1 transmit buffer register
02EB16
02EC16 UART1 transmit/receive control register 0
02ED16 UART1 transmit/receive control register 1
02EE16
UART1 receive buffer register
02EF16
X: Indeterminate
Blank spaces are reserved. No access is allowed.
Rev.1.20 Jun. 01, 2004page 33
of 80
U1TB
U1C0
U1C1
U1RB
Value after RESET
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XXXX XX002
0016
0016
0016
0016
0016
XX16
XX16
XX16
0000 10002
0000 00102
XX16
XX16
3. Special Function Registers (SFR)
M32C/82 Group
Address
02F016
02F116
02F216
02F316
02F416
02F516
02F616
02F716
02F816
02F916
02FA16
02FB16
02FC16
02FD16
02FE16
02FF16
030016
030116
030216
030316
030416
030516
030616
030716
030816
030916
030A16
030B16
030C16
030D16
030E16
030F16
031016
031116
031216
031316
031416
031516
031616
031716
031816
031916
031A16
031B16
031C16
031D16
031E16
031F16
Register
Symbol
Value after RESET
UART4 special mode register 4
UART4 special mode register 3
UART4 special mode register 2
UART4 special mode register
UART4 transmit/receive mode register
UART4 baud rate register
U4SMR4
U4SMR3
U4SMR2
U4SMR
U4MR
U4BRG
0016
0016
0016
0016
0016
XX16
XX16
UART4 transmit buffer register
U4TB
UART4 transmit/receive control register 0
UART4 transmit/receive control register 1
U4C0
U4C1
UART4 receive buffer register
U4RB
Timer B3,B4,B5 count start flag
TBSR
Timer A1-1 register
TA11
Timer A2-1 register
TA21
Timer A4-1 register
TA41
Three-phase PWM control register 0
Three-phase PWM control register 1
Three-phase output buffer register 0
Three-phase output buffer register 1
Dead time timer
Timer B2 interrupt generating frequency set counter
INVC0
INVC1
IDB0
IDB1
DTT
ICTB2
Timer B3 register
TB3
Timer B4 register
TB4
Timer B5 register
TB5
Timer B3 mode register
Timer B4 mode register
Timer B5 mode register
TB3MR
TB4MR
TB5MR
00XX 00002
00XX 00002
00XX 00002
External interrupt cause select register
IFSR
0016
XX16
0000 10002
0000 00102
XX16
XX16
000X XXXX2
XX16
XX16
XX16
XX16
XX16
XX16
0016
0016
XX11 11112
XX11 11112
XX16
XX16
XX16
X: Indeterminate
Blank spaces are reserved. No access is allowed.
Rev.1.20 Jun. 01, 2004 page 34
of 80
XX16
XX16
XX16
XX16
XX16
3. Special Function Registers (SFR)
M32C/82 Group
Address
032016
032116
032216
032316
032416
032516
032616
032716
032816
032916
032A16
032B16
032C16
032D16
032E16
032F16
033016
033116
033216
033316
033416
033516
033616
033716
033816
033916
033A16
033B16
033C16
033D16
033E16
033F16
034016
034116
034216
034316
034416
034516
034616
034716
034816
034916
034A16
034B16
034C16
034D16
034E16
034F16
Register
Symbol
UART3 special mode register 4
UART3 special mode register 3
UART3 special mode register 2
UART3 special mode register
UART3 transmit/receive mode register
UART3 baud rate register
U3SMR4
U3SMR3
U3SMR2
U3SMR
U3MR
U3BRG
UART3 transmit buffer register
U3TB
UART3 transmit/receive control register 0
UART3 transmit/receive control register 1
U3C0
U3C1
UART3 receive buffer register
U3RB
UART2 special mode register 4
UART2 special mode register 3
UART2 special mode register 2
UART2 special mode register
UART2 transmit/receive mode register
UART2 baud rate register
U2SMR4
U2SMR3
U2SMR2
U2SMR
U2MR
U2BRG
UART2 transmit buffer register
U2TB
UART2 transmit/receive control register 0
UART2 transmit/receive control register 1
U2C0
U2C1
UART2 receive buffer register
U2RB
Count start flag
Clock prescaler reset flag
One-shot start flag
Trigger select register
Up-down flag
TABSR
CPSRF
ONSF
TRGSR
UDF
Timer A0 register
TA0
Timer A1 register
TA1
Timer A2 register
TA2
Timer A3 register
TA3
Timer A4 register
TA4
Value after RESET
0016
0016
0016
0016
0016
XX16
XX16
XX16
0000 10002
0000 00102
XX16
XX16
0016
0016
0016
0016
0016
XX16
XX16
XX16
0000 10002
0000 00102
XX16
XX16
0016
0XXX XXXX2
0016
0016
0016
XX16
X: Indeterminate
Blank spaces are reserved. No access is allowed.
Rev.1.20 Jun. 01, 2004page 35
of 80
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
3. Special Function Registers (SFR)
M32C/82 Group
Address
Register
035016
Timer B0 register
035116
035216
Timer B1 register
035316
035416
Timer B2 register
035516
035616 Timer A0 mode register
035716 Timer A1 mode register
035816 Timer A2 mode register
035916 Timer A3 mode register
035A16 Timer A4 mode register
035B16 Timer B0 mode register
035C16 Timer B1 mode register
035D16 Timer B2 mode register
035E16 Timer B2 special mode register
035F16 Count source prescaler register
036016
036116
036216
036316
036416
036516
036616
036716
036816
036916
036A16
036B16
036C16
036D16
036E16
036F16
037016
037116
037216
037316
037416
037516
037616
037716
037816
037916
037A16
037B16
037C16
037D16
037E16
037F16
Symbol
TB0
TB1
TB2
TA0MR
TA1MR
TA2MR
TA3MR
TA4MR
TB0MR
TB1MR
TB2MR
TB2SC
TCSPR
UART0 special mode register 4
UART0 special mode register 3
UART0 special mode register 2
UART0 special mode register
UART0 transmit/receive mode register
UART0 baud rate register
U0SMR4
U0SMR3
U0SMR2
U0SMR
U0MR
U0BRG
UART0 transmit buffer register
U0TB
UART0 transmit/receive control register 0
UART0 transmit/receive control register 1
U0C0
U0C1
UART0 receive buffer register
U0RB
PLL control register 0
PLL control register 1
DMA0 cause select register
DMA1 cause select register
DMA2 cause select register
DMA3 cause select register
PLC0
PLC1
DM0SL
DM1SL
DM2SL
DM3SL
CRC data register
CRCD
CRC input register
CRCIN
X: Indeterminate
Blank spaces are reserved. No access is allowed.
Rev.1.20 Jun. 01, 2004 page 36
of 80
Value after RESET
XX16
XX16
XX16
XX16
XX16
XX16
0000 0X002
0000 0X002
0000 0X002
0000 0X002
0000 0X002
00XX 00002
00XX 00002
00XX 00002
XXXX XXX02
0XXX 00002
0016
0016
0016
0016
0016
XX16
XX16
XX16
0000 10002
0000 00102
XX16
XX16
0011 X1002
XXXX 00002
0X00 00002
0X00 00002
0X00 00002
0X00 00002
XX16
XX16
XX16
3. Special Function Registers (SFR)
M32C/82 Group
Address
038016
038116
038216
038316
038416
038516
038616
038716
038816
038916
038A16
038B16
038C16
038D16
038E16
038F16
039016
039116
039216
039316
039416
039516
039616
039716
039816
039916
039A16
039B16
039C16
039D16
039E16
039F16
Register
Symbol
Value after RESET
XX16
A/D0 register 0
AD00
A/D0 register 1
AD01
A/D0 register 2
AD02
A/D0 register 3
AD03
A/D0 register 4
AD04
A/D0 register 5
AD05
A/D0 register 6
AD06
A/D0 register 7
AD07
A/D0 control register 2
AD0CON2
X000 00002
A/D0 control register 0
A/D0 control register 1
D/A register 0
AD0CON0
AD0CON1
DA0
0016
0016
XX16
D/A register 1
DA1
XX16
D/A control register
DACON
XXXX XX002
X: Indeterminate
Blank spaces are reserved. No access is allowed.
Rev.1.20 Jun. 01, 2004page 37
of 80
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
XX16
3. Special Function Registers (SFR)
M32C/82 Group
<144-pin package>
Address
03A016
03A116
03A216
03A316
03A416
03A516
03A616
03A716
03A816
03A916
03AA16
03AB16
03AC16
03AD16
03AE16
03AF16
03B016
03B116
03B216
03B316
03B416
03B516
03B616
03B716
03B816
03B916
03BA16
03BB16
03BC16
03BD16
03BE16
03BF16
03C016
03C116
03C216
03C316
03C416
03C516
03C616
03C716
03C816
03C916
03CA16
03CB16
03CC16
03CD16
03CE16
03CF16
Register
Function select register A8
Function select register A9
Symbol
PS8
PS9
Value after RESET
X000 00002
0016
Function select register C
Function select register A0
Function select register A1
Function select register B0
Function select register B1
Function select register A2
Function select register A3
Function select register B2
Function select register B3
PSC
PS0
PS1
PSL0
PSL1
PS2
PS3
PSL2
PSL3
00X0 00002
0016
0016
0016
0016
00X0 00002
0016
00X0 00002
0016
Function select register A5
PS5
XXX0 00002
Function select register A7
PS7
0016
Port P6 register
Port P7 register
Port P6 direction register
Port P7 direction register
Port P8 register
Port P9 register
Port P8 direction register
Port P9 direction register
Port P10 register
Port P11 register
Port P10 direction register
Port P11 direction register
Port P12 register
Port P13 register
Port P12 direction register
Port P13 direction register
P6
P7
PD6
PD7
P8
P9
PD8
PD9
P10
P11
PD10
PD11
P12
P13
PD12
PD13
XX16
XX16
0016
0016
XX16
XX16
00X0 00002
0016
XX16
XX16
0016
XXX0 00002
XX16
XX16
0016
0016
X: Indeterminate
Blank spaces are reserved. No access is allowed.
Rev.1.20 Jun. 01, 2004 page 38
of 80
3. Special Function Registers (SFR)
M32C/82 Group
<144-pin package>
Address
03D016
03D116
03D216
03D316
03D416
03D516
03D616
03D716
03D816
03D916
03DA16
03DB16
03DC16
03DD16
03DE16
03DF16
03E016
03E116
03E216
03E316
03E416
03E516
03E616
03E716
03E816
03E916
03EA16
03EB16
03EC16
03ED16
03EE16
03EF16
03F016
03F116
03F216
03F316
03F416
03F516
03F616
03F716
03F816
03F916
03FA16
03FB16
03FC16
03FD16
03FE16
03FF16
Register
Port P14 register
Port P15 register
Port P14 direction register
Port P15 direction register
Symbol
P14
P15
PD14
PD15
Value after RESET
XX16
XX16
X000 00002
0016
Pull-up control register 2
Pull-up control register 3
Pull-up control register 4
PUR2
PUR3
PUR4
0016
0016
XXXX 00002
Port P0 register
Port P1 register
Port P0 direction register
Port P1 direction register
Port P2 register
Port P3 register
Port P2 direction register
Port P3 direction register
Port P4 register
Port P5 register
Port P4 direction register
Port P5 direction register
P0
P1
PD0
PD1
P2
P3
PD2
PD3
P4
P5
PD4
PD5
XX16
XX16
0016
0016
XX16
XX16
0016
0016
XX16
XX16
0016
0016
Pull-up control register 0
Pull-up control register 1
PUR0
PUR1
0016
XXXX 00002
Port control register
PCR
XXXX XXX02
X: Indeterminate
Blank spaces are reserved. No access is allowed.
Rev.1.20 Jun. 01, 2004page 39
of 80
3. Special Function Registers (SFR)
M32C/82 Group
<100-pin package>
Register
Symbol
Value after RESET
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234 (Note 2)
12345678901234567890123456789012123456789012345678901234
Address
03A016
03A116
03A216
03A316
03A416
03A516
03A616
03A716
03A816
03A916
03AA16
03AB16
03AC16
03AD16
03AE16
03AF16 Function select register C
03B016 Function select register A0
03B116 Function select register A1
PSC
PS0
PS1
0X00 00002
0016
0016
03B216 Function select register B0
PSL0
0016
03B316 Function select register B1
PSL1
0016
03B416 Function select register A2
PS2
00X0 00002
03B516 Function select register A3
PS3
0016
03B616 Function select register B2
PSL2
00X0 00002
03B716 Function select register B3
PSL3
0016
03B816
(Note 2)
03B916
03BA16
03BB16
03BC16
(Note 2)
03BD16
03BE16
03BF16
03C016 Port P6 register
P6
XX16
03C116 Port P7 register
P7
XX16
03C216 Port P6 direction register
PD6
0016
03C316 Port P7 direction register
PD7
0016
03C416 Port P8 register
P8
XX16
03C516 Port P9 register
P9
XX16
03C616 Port P8 direction register
PD8
00X0 00002
03C716 Port P9 direction register
PD9
0016
03C816 Port P10 register
P10
XX16
(Note 2)
03C916
03CA16 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789012345678901
Port P10 direction register
PD10
0016
1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789012345678901
1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789012345678901
03CB16 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789012345678901
1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789012345678901 (Note 1)
03CC16
(Note 2)
03CD16 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789012345678901
1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789012345678901
1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789012345678901
03CE16 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789012345678901
1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789012345678901
1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789012345678901 (Note 1)
03CF16 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789012345678901
1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121234567890123456789012345678901
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234
X: Indeterminate
Blank spaces are reserved. No access is allowed.
NOTES:
1234567
1234567
1. 1234567
1234567 Set address spaces 03CB16, 03CE16 and 03CF16 to "FF16" in the 100-pin package.
2.
Address spaces 03A016, 03A116, 03B916, 03BC16, 03BD16, 03C916, 03CC16 and 03CD16 are not provided in
1234
1234
the 100-pin package.
Rev.1.20 Jun. 01, 2004 page 40
of 80
3. Special Function Registers (SFR)
M32C/82 Group
<100-pin package>
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234
12345678901234567890123456789012123456789012345678901234
Address
Register
Symbol
Value after RESET
03D016
(Note 3)
03D116 123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890
03D216 123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890 (Note 1)
03D316 123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890
123456789012345678901234567890121234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890
03D416
03D516
03D616
03D716
03D816
03D916
03DA16 Pull-up control register 2
PUR2
0016
03DB16 12345678901234567890123456789012123456789012345678901234567890121234567890123456
Pull-up control register 3
PUR3
0016
12345678901234567890123456789012123456789012345678901234567890121234567890123456 (Note 2)
03DC16 12345678901234567890123456789012123456789012345678901234567890121234567890123456
03DD16
03DE16
03DF16
03E016 Port P0 register
P0
XX16
03E116 Port P1 register
P1
XX16
03E216 Port P0 direction register
PD0
0016
03E316 Port P1 direction register
PD1
0016
03E416 Port P2 register
P2
XX16
03E516 Port P3 register
P3
XX16
03E616 Port P2 direction register
PD2
0016
03E716 Port P3 direction register
PD3
0016
03E816 Port P4 register
P4
XX16
03E916 Port P5 register
P5
XX16
03EA16 Port P4 direction register
PD4
0016
03EB16 Port P5 direction register
PD5
0016
03EC16
03ED16
03EE16
03EF16
03F016 Pull-up control register 0
PUR0
0016
03F116 Pull-up control register 1
PUR1
XXXX 00002
03F216
03F316
03F416
03F516
03F616
03F716
03F816
03F916
03FA16
03FB16
03FC16
03FD16
03FE16
03FF16 Port control register
PCR
XXXX XXX02
X: Indeterminate
Blank spaces are reserved. No access is allowed.
NOTES:
123456
123456
123456 Set address spaces 03D216 and 03D316 to "FF16" in the 100-pin package.
1. 12345
12345
2. 12345 Set address spaces 03DC16 to "0016" in the 100-pin package.
1234
1234Address spaces 03D016 and 03D116 are not provided in the 100-pin package.
3.
Rev.1.20 Jun. 01, 2004page 41
of 80
5. Electrical Characteristics
M32C/82 Group
5. Electrical Characteristics
Table 5.1 Absolute Maximum Ratings
Condition
Value
Unit
VCC
Symbol
Supply voltage
Parameter
VCC=AVCC
-0.3 to 6.0
V
AVCC
Analog supply voltage
VCC=AVCC
-0.3 to 6.0
V
VI
Input voltage
-0.3 to VCC+0.3
V
VO
Output voltage P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50P57, P60-P67, P72-P77, P80-P84, P86, P87, P90-P97,
P100-P107, P110-P114, P120-P127, P130-P137, P140P146, P150-P157(1), XOUT
RESET, CNVSS, BYTE, P00-P07, P10-P17, P20-P27,
P30-P37, P40-P47, P50-P57, P60-P67, P72-P77, P80P87, P90-P97, P100-P107, P110-P114, P120-P127,
P130-P137, P140-P146, P150-P157(1), VREF, XIN
P70, P71
-0.3 to 6.0
P70, P71
Pd
Power Dissipation
Topr
Operating ambient temperature
Tstg
Storage temperature
NOTES:
1. P11 to P15 are provided in the 144-pin package.
2. This is an option that is on request basis.
Rev.1.20 Jun. 01, 2004 page 42 of 80
Topr=25° C
-0.3 to VCC+0.3
V
-0.3 to 6.0
V
500
mW
-20 to 85/-40 to 85(2) ° C
-65 to 150
°C
5. Electrical Characteristics
M32C/82 Group
Table 5.2 Recommended Operating Conditions (VCC = 3.0V to 5.5V at Topr = – 20 to 85oC/– 40 to 85oC(3))
Symbol
VCC
AVCC
VSS
AVSS
VIH
Parameter
Standard
Supply voltage (Through VDC)
Supply voltage (Not through VDC)
Analog supply voltage
Supply voltage
Analog supply voltage
Input high ("H") P20-P27, P30-P37, P40-P47, P50-P57, P60-P67, P72-P77, P80voltage
P87(4), P90-P97, P100-P107, P110-P114, P120-P127, P130P137, P140-P146, P150-P157(5), XIN, RESET, CNVSS, BYTE
P70, P71
Min
3.0
3.0
Typ
5.0
3.3
VCC
0
0
Unit
Max
5.5
3.6
V
V
V
V
V
V
0.8VCC
VCC
0.8VCC
6.0
P00-P07, P10-P17 (In single-chip mode)
0.8VCC
VCC
V
P00-P07, P10-P17
(In memory expansion mode and microprocesor mode)
P20-P27, P30-P37, P40-P47, P50-P57, P60-P67, P70-P77, P80P87(4), P90-P97, P100-P107, P110-P114, P120-P127, P130-
0.5VCC
VCC
V
0
0.2VCC
V
0
0.2VCC
V
0
0.16VCC
V
-10.0
mA
-5.0
mA
10.0
mA
5.0
mA
0
30
MHz
0
20
MHz
0
20
MHz
f(XCIN)
Sub clock oscillation frequency
32.768
50
NOTES:
1. Output current is averaged with 100ms.
2. Total IOL(peak) for P0, P1, P2, P86, P87, P9, P10, P11, P14 and P15 must be less than or equal to 80mA.
Total IOH(peak) for P0, P1, P2, P86, P87, P9, P10, P11, P14 and P15 must be less than or equal to -80mA.
Total IOL(peak) for P3, P4, P5, P6, P7, P80 to P84, P12 and P13 must be less than or equal to 80mA.
Total IOH(peak) for P3, P4, P5, P6, P72 to P77, P80 to P84, P12 and P13 must be less than or equal to -80mA.
kHz
VIL
Input low ("L")
voltage
P137, P140-P146, P150-P157(5), XIN, RESET, CNVSS, BYTE
P00-P07, P10-P17 (In single-chip mode)
IOH(peak)
IOH(avg)
IOL(peak)
IOL(avg)
f(XIN)
Peak output
high ("H")
current(2)
P00-P07, P10-P17
(In memory expansion mode and microprocesor mode)
P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50-P57, P60P67, P72-P77, P80-P84, P86, P87, P90-P97, P100-P107, P110-
P114, P120-P127, P130-P137, P140-P146, P150-P157(5)
Average output P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50-P57, P60high ("H")
P67, P72-P77, P80-P84, P86, P87, P90-P97, P100-P107, P110current(1)
P114, P120-P127, P130-P137, P140-P146, P150-P157(5)
Peak output
P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50-P57, P60low ("L")
P67, P70-P77, P80-P84, P86, P87, P90-P97, P100-P107, P110current(2)
P114, P120-P127, P130-P137, P140-P146, P150-P157(5)
Average output P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50-P57, P60low ("L")
P67, P70-P77, P80-P84, P86, P87, P90-P97, P100-P107, P110current(1)
P114, P120-P127, P130-P137, P140-P146, P150-P157(5)
Main clock
Through VDC
VCC=4.2 to 5.5V
input frequency
VCC=3.0 to 5.5V
Not through VDC
VCC=3.0 to 3.6V
3. This is an option that is on request basis.
4. VIH and VIL reference for P87 applies to P87 used as a programmable input ports. It does not apply to P87 used as XCIN.
5. P11 to P15 are provided in the 144-pin package only.
Rev.1.20 Jun. 01, 2004 page 43
of 80
5. Electrical Characteristics (VCC = 5 V)
M32C/82 Group
Table 5.3 Electrical Characteristics (VCC=4.2 to 5.5V, VSS=0V at Topr= –20 to 85oC
unless otherwise specified)
Symbol
VOH
Parameter
Output high ("H")
voltage
P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50P57, P60-P67, P72-P77, P80-P84, P86, P87, P90-P97,
P100-P107, P110-P114, P120-P127, P130-P137,
P140-P146, P150-P157(1)
P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50P57, P60-P67, P72-P77, P80-P84, P86, P87, P90-P97,
P100-P107, P110-P114, P120-P127, P130-P137,
P140-P146, P150-P157(1)
XOUT
XCOUT
VOL
Output low ("L")
voltage
Condition
VCC=5V
IOH=-5mA
VCC = 5V
Standard
Min
3.0
Typ
V
VCC=5V
IOH=-200µA
4.7
V
VCC=5V
IOH=-1mA
No load applied
3.0
V
3.3
P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50- IOL=5mA
P57, P60-P67, P70-P77, P80-P84, P86, P87, P90-P97,
P100-P107, P110-P114, P120-P127, P130-P137,
P140-P146, P150-P157(1)
P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50- IOL=200µA
P57, P60-P67, P70-P77, P80-P84, P86, P87, P90-P97,
P100-P107, P110-P114, P120-P127, P130-P137,
VT+-VT-
Hysteresis
Unit
Max
P140-P146, P150-P157(1)
XOUT
IOL=1mA
XCOUT
No load applied
HOLD, RDY, TA0IN-TA4IN, TB0IN-TB5IN, INT0-INT5,
ADTRG, CTS0-CTS4, CLK0-CLK4, TA0OUT-TA4OUT,
V
2.0
V
0.45
V
2.0
V
0
V
0.2
1.0
V
0.2
1.8
5.0
V
µA
-5.0
µA
167
kΩ
54
MΩ
MΩ
V
mA
NMI, KI0-KI3, RxD0-RxD4, SCL0-SCL4, SDA0-
IIH
IIL
RPULLUP
RfXIN
RfXCIN
VRAM
ICC
Input high ("H")
current
SDA4
RESET
P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50- VI=VCC
P57, P60-P67, P70-P77, P80-P87, P90-P97, P100P107, P110-P114, P120-P127, P130-P137, P140-
P146, P150-P157(1), XIN, RESET, CNVSS, BYTE
Input low ("L") current P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50- VI=0V
P57, P60-P67, P70-P77, P80-P87, P90-P97, P100-
Pull-up resistance
Feedback resistance
Feedback resistance
RAM standby voltage
Power supply current
P107, P110-P114, P120-P127, P130-P137, P140P146, P150-P157(1), XIN, RESET, CNVSS, BYTE
P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50- VI=0V
P57, P60-P67, P72-P77, P80-P84, P86, P87, P90-P97,
P100-P107, P110-P114, P120-P127, P130-P137,
P140-P146, P150-P157(1)
XIN
XCIN
Through VDC
Measurement conditions:
f(XIN)=30 MHz, square wave,
In single-chip mode, output
no division
pins are left open and other
f(XCIN)=32 kHz, with a wait state,
pins are connected to VSS.
Topr=25° C
Topr=25° C when the clock stops
NOTES:
1. P11 to P15 are provided in the 144-pin package only.
Rev.1.20 Jun. 01, 2004 page 44 of 80
30
50
1.5
10
2.5
28
µA
470
0.4
20
µA
5. Electrical Characteristics (VCC = 5 V)
M32C/82 Group
VCC = 5V
Table 5.4 A/D Conversion Characteristics (VCC = AVCC = VREF = 4.2 to 5.5V, Vss = AVSS = 0V
at Topr = –20 to 85oC unless otherwise specified)
Symbol
Parameter
Standard
Measurement condition
Min Typ
-
INL
Resolution
VREF=VCC
Integral nonlinearity error
DNL
Unit
Max
10
AN0 to AN7
ANEX0, ANEX1
±3
External op-amp
connection mode
±7
Bits
LSB
LSB
VREF=VCC=5V
LSB
LSB
Differential nonlinearity error
±1
LSB
-
Offset error
±3
LSB
-
Gain error
±3
LSB
40
kΩ
RLADDER
Resistor ladder
tCONV
10-bit conversion time
3.3
VREF=VCC
8
µs
tCONV
8-bit conversion time
2.8
µs
tSAMP
Sample time
0.3
µs
VREF
Reference voltage
2
VCC
V
VIA
Analog input voltage
0
VREF
V
NOTES:
1. Divide f(XIN), if exceeding 10 MHz, to keep φAD frequency less than or equal to 10 MHz.
Table 5.5 D/A Conversion Characteristics (VCC = VREF = 4.2 to 5.5V, VSS = AVSS = 0V
at Topr = –20 to 85oC unless otherwise specified)
Symbol
Parameter
Standard
Measurement condition
Min Typ
tSU
-
Resolution
-
Absolute accuracy
8
Setup time
RO
Output resistance
IVREF
Reference power supply input current
Unit
Max
4
(Note 1)
10
%
3
µs
20
kΩ
1.5
mA
NOTES:
1. Mesurement condition is that one of two D/A converters is used and the DAi register (i=0, 1) for the
unused D/A converter to "0016". The resistor ladder in the A/D converter is exclued.
IVREF flows even if the ADiCON1 register is set to "0" (no VREF connection).
Rev.1.20 Jun. 01, 2004 page 45 of 80
Bits
1.0
5. Electrical Characteristics (VCC = 5 V)
M32C/82 Group
VCC = 5V
Timing Requirements (VCC = 4.2 to 5.5V, VSS = 0V at Topr = –20 to 85oC unless otherwise specified)
Table 5.6 External Clock Input
Symbol
Parameter
Standard
Min
Unit
Max
tc
External clock input cycle time
33
ns
tw(H)
External clock input high ("H") pulse width
13
ns
tw(L)
External clock input low ("L") pulse width
13
tr
External clock rising edge time
5
ns
tf
External clock falling edge time
5
ns
ns
Table 5.7 Memory Expansion and Microprocessor Modes
Symbol
Parameter
Standard
Min
Max
Unit
tac1(RD-DB)
Data input access time (RD standard, with no wait state)
(Note 1)
tac1(AD-DB)
Data input access time (AD standard, CS standard, with no wait state)
(Note 1)
ns
tac2(RD-DB)
Data input access time (RD standard, with a wait state)
(Note 1)
ns
tac2(AD-DB)
Data input access time (AD standard, CS standard, with a wait state)
(Note 1)
ns
tac3(RD-DB)
Data input access time (RD standard, when accessing a space with the multiplexed bus)
(Note 1)
ns
tac3(AD-DB)
Data input access time (AD standard, CS standard, when accessing a space with the multiplexed bus)
(Note 1)
ns
ns
ns
tac4(RAS-DB)
Data input access time (RAS standard, when accessing a DRAM space)
(Note 1)
tac4(CAS-DB)
Data input access time (CAS standard, when accessing a DRAM space)
(Note 1)
ns
tac4(CAD-DB)
Data input access time (CAD standard, when accessing a DRAM space)
(Note 1)
ns
tsu(DB-BCLK)
Data input setup time
26
ns
tsu(RDY-BCLK)
RDY input setup time
26
ns
tsu(HOLD-BCLK) HOLD input setup time
30
ns
th(RD-DB)
Data input hold time
0
ns
th(CAS-DB)
Data input hold time
0
ns
th(BCLK-RDY) RDY input hold time
0
ns
th(BCLK-HOLD)
HOLD input hold time
0
ns
td(BCLK-HLDA)
HLDA output delay time
25
ns
NOTES:
1. A value can be obtained from the following expressions according to the BCLK frequecncy. Insert a wait state or use lower
f(BCLK) as an operation frequency if a calculated value is negative.
tac1(RD – DB) =
tac1(AD – DB) =
10 9
f(BCLK) X 2
10 9
f(BCLK)
– 35
[ns]
– 35
[ns]
– 35
[ns] (m=3 with 1 wait state, m=5 with 2 wait states
and m=7 with 3 wait states)
– 35
[ns] (n=2 with 1 wait state, n=3 with 2 wait states
and n=4 with 3 wait states)
9
10 X m
tac2(RD – DB) = f(BCLK) X 2
9
tac2(AD – DB) =
10 X n
f(BCLK)
9
10 X m
tac3(RD – DB) = f(BCLK) X 2 – 35
tac3(AD – DB) =
10 9 X n
– 35
f(BCLK) X 2
[ns] (m=3 with 2 wait states and m=5 with 3 wait states)
[ns] (n=5 with 2 wait states and n=7 with 3 wait states)
tac4(RAS – DB) =
10 9X m
f(BCLK) X 2
– 35
[ns] (m=3 with 1 wait state and m=5 with 2 wait states)
tac4(CAS – DB) =
10 9 X n
f(BCLK) X 2
– 35
[ns] (n=1 with 1 wait state and n=3 when 2 wait states)
tac4(CAD – DB) =
10 9 X l
f(BCLK)
– 35
[ns] (l=1 with 1 wait state and l=2 with 2 wait states)
Rev.1.20 Jun. 01, 2004 page 46 of 80
5. Electrical Characteristics (VCC = 5 V)
M32C/82 Group
VCC = 5V
Timing Requirements
(VCC = 4.2 to 5.5V, VSS = 0V at Topr = –20 to 85oC unless otherwise specified)
Table 5.8 Timer A Input (Count Source Input in Event Counter Mode)
Symbol
Parameter
Standard
Min
Unit
Max
tc(TA)
TAiIN input cycle time
100
ns
tw(TAH)
TAiIN input high ("H") pulse width
40
ns
tw(TAL)
TAiIN input low ("L") pulse width
40
ns
Table 5.9 Timer A Input (Gate Input in Timer Mode)
Standard
Symbol
Parameter
Min
Max
Unit
tc(TA)
TAiIN input cycle time
400
ns
tw(TAH)
TAiIN input high ("H") pulse width
200
ns
tw(TAL)
TAiIN input low ("L") pulse width
200
ns
Table 5.10 Timer A Input (External Trigger Input in One-Shot Timer Mode)
Standard
Symbol
Parameter
Unit
Min
Max
tc(TA)
TAiIN input cycle time
200
ns
tw(TAH)
TAiIN input high ("H") pulse width
100
ns
tw(TAL)
TAiIN input low ("L") pulse width
100
ns
Table 5.11 Timer A Input (External Trigger Input in Pulse Width Modulation Mode)
Standard
Symbol
Parameter
Unit
Min
Max
tw(TAH)
TAiIN input high ("H") pulse width
100
ns
tw(TAL)
TAiIN input low ("L") pulse width
100
ns
Table 5.12 Timer A Input (Counter Increment/decrement Input in Event Counter Mode)
Standard
Symbol
Parameter
Unit
Min
Max
tc(UP)
TAiOUT input cycle time
2000
ns
tw(UPH)
TAiOUT input high ("H") pulse width
1000
ns
tw(UPL)
TAiOUT input low ("L") pulse width
1000
ns
tsu(UP-TIN)
TAiOUT input setup time
400
ns
th(TIN-UP)
TAiOUT input hold time
400
ns
Rev.1.20 Jun. 01, 2004 page 47 of 80
5. Electrical Characteristics (VCC = 5 V)
M32C/82 Group
VCC = 5V
Timing Requirements
(VCC = 4.2 to 5.5V, VSS = 0V at Topr = –20 to 85oC unless otherwise specified)
Table 5.13 Timer B Input (Count Source Input in eEvent Counter Mode)
Symbol
Parameter
Standard
Min
Max
Unit
tc(TB)
TBiIN input cycle time (counted on one edge)
100
ns
tw(TBH)
TBiIN input high ("H") pulse width (counted on one edge)
40
ns
tw(TBL)
TBiIN input low ("L") pulse width (counted on one edge)
40
ns
tc(TB)
TBiIN input cycle time (counted on both edges)
200
ns
tw(TBH)
TBiIN input high ("H") pulse width (counted on both edges)
80
ns
tw(TBL)
TBiIN input low ("L") pulse width (counted on both edges)
80
ns
Table 5.14 Timer B Input (Pulse Period Measurement Mode)
Symbol
Parameter
Standard
Min
Max
Unit
tc(TB)
TBiIN input cycle time
400
tw(TBH)
TBiIN input high ("H") pulse width
200
ns
ns
tw(TBL)
TBiIN input low ("L") pulse width
200
ns
Table 5.15 Timer B Input (Pulse Width Measurement Mode)
Standard
Symbol
Parameter
Unit
Min
Max
tc(TB)
TBiIN input cycle time
400
ns
tw(TBH)
TBiIN input high ("H") pulse width
200
ns
tw(TBL)
TBiIN input low ("L") pulse width
200
ns
Table 5.16 A/D trigger Input
Symbol
Standard
Parameter
Min
Unit
Max
tc(AD)
ADTRG input high ("H") pulse width (trigger available at minimum)
1000
ns
tw(ADL)
ADTRG input low ("L") pulse width
125
ns
Table 5.17 Serial I/O
Symbol
Parameter
Standard
Min
Max
Unit
tc(CK)
CLKi input cycle time
200
ns
tw(CKH)
CLKi input high ("H") pulse width
100
ns
tw(CKL)
CLKi input low ("L") pulse width
100
ns
td(C-Q)
TxDi output delay time
th(C-Q)
TxDi hold time
0
80
ns
ns
tsu(D-C)
RxDi input hold time
30
ns
th(C-Q)
RxDi input hold time
90
ns
_______
Table 5.18 External Interrupt INTi Input
Symbol
Parameter
Standard
Min
Max
Unit
tw(INH)
INTi input high ("H") pulse width
250
ns
tw(INL)
INTi input low ("L") pulse width
250
ns
Rev.1.20 Jun. 01, 2004 page 48 of 80
5. Electrical Characteristics (VCC = 5 V)
M32C/82 Group
VCC = 5V
Switching Characteristics
(VCC = 4.2 to 5.5V, VSS = 0V at Topr = –20 to 85oC unless otherwise specified)
Table 5.19 Memory Expansion Mode and Microprocessor Mode (with No Wait State)
Symbol
Parameter
td(BCLK-AD)
Address output delay time
th(BCLK-AD)
Address output hold time (BCLK standard)
Measurement
condition
Standard
Min
Unit
Max
18
-3
ns
ns
th(RD-AD)
Address output hold time (RD standard)
0
ns
th(WR-AD)
Address output hold time (WR standard)
(Note 1)
ns
td(BCLK-CS)
Chip-select signal output delay time
th(BCLK-CS)
Chip-select signal output hold time (BCLK standard)
-3
th(RD-CS)
Chip-select signal output hold time (RD standard)
0
ns
th(WR-CS)
Chip-select signal output hold time (WR standard)
(Note 1)
ns
td(BCLK-ALE)
ALE signal output delay time
th(BCLK-ALE)
ALE signal output hold time
td(BCLK-RD)
RD signal output delay time
th(BCLK-RD)
RD signal output hold time
td(BCLK-WR)
WR signal output delay time
td(BCLK-WR)
WR signal outpu hold time
18
See Figure 5.1
ns
18
-2
ns
ns
18
ns
18
ns
-5
-3
ns
ns
ns
td(DB-WR)
Data output delay time (WR standard)
(Note 1)
ns
th(WR-DB)
Data outpu hold time (WR standard)
(Note 1)
ns
tw(WR)
Write pulse width
(Note 1)
ns
NOTES:
1. A value can be obtained from the following expressions according to the BCLK frequency.
td(DB – WR) =
10 9
f(BCLK)
– 20
[ns]
th(WR – DB) =
10 9
f(BCLK) X 2
– 10
[ns]
th(WR – AD) =
10 9
f(BCLK) X 2
– 10
[ns]
th(WR – CS) =
10 9
f(BCLK) X 2
– 10
[ns]
tw(WR) =
10 9
f(BCLK) X 2
– 15
[ns]
Rev.1.20 Jun. 01, 2004 page 49 of 80
5. Electrical Characteristics (VCC = 5 V)
M32C/82 Group
VCC = 5V
Switching Characteristics
(VCC = 4.2 to 5.5V, VSS = 0V at Topr = –20 to 85oC unless otherwise specified)
Table 5.20 Memory Expansion Mode and Microprocessor Mode
(With a Wait State, Accessing an External Memory)
Symbol
td(BCLK-AD)
Parameter
Measurement
condition
Standard
Min
Address output delay time
Unit
Max
18
ns
th(BCLK-AD)
Address output hold time (BCLK standard)
-3
ns
th(RD-AD)
Address output hold time (RD standard)
0
ns
(Note 1)
th(WR-AD)
Address output hold time (WR standard)
td(BCLK-CS)
Chip-select signal output delay time
th(BCLK-CS)
Chip-select signal output hold time (BCLK standard)
ns
18
-3
ns
ns
th(RD-CS)
Chip-select signal output hold time (RD standard)
0
ns
th(WR-CS)
Chip-select signal output hold time (WR standard)
(Note 1)
ns
td(BCLK-ALE)
ALE signal output delay time
th(BCLK-ALE)
ALE signal output hold time
td(BCLK-RD)
RD signal output delay time
th(BCLK-RD)
RD signal output hold time
See Figure 5.1
18
ns
18
ns
-2
ns
-5
ns
td(BCLK-WR)
WR signal output delay time
td(BCLK-WR)
WR signal outpu hold time
18
td(DB-WR)
Data output delay time (WR standard)
th(WR-DB)
Data outpu hold time (WR standard)
(Note 1)
ns
tw(WR)
Write pulse width
(Note 1)
ns
ns
(Note 1)
ns
NOTES:
1. A value can be obtained from the following expressions according to the BCLK frequency.
td(DB – WR) =
10 9 X n
f(BCLK)
– 20
[ns] (n=1 with 1 wait state, n=2 with 2 wait states
and n=3 with 3 wait states)
th(WR – DB) =
10 9
f(BCLK) X 2
– 10
[ns]
th(WR – AD) =
10 9
f(BCLK) X 2
– 10
[ns]
th(WR – CS) =
10 9
f(BCLK) X 2
– 10
[ns]
tw( WR) =
10 9 X n
f(BCLK) X 2
– 15
Rev.1.20 Jun. 01, 2004 page 50 of 80
ns
-3
[ns] (n=1 with 1 wait state, n=3 with 2 wait states
and n=5 with 3 wait states)
5. Electrical Characteristics (VCC = 5 V)
M32C/82 Group
VCC = 5V
Switching Characteristics
(VCC = 4.2 to 5.5V, VSS = 0V at Topr = –20 to 85oC unless otherwise specified)
Table 5.21 Memory Expansion Mode and Microprocessor Mode
(With a Wait State, Accessing an External Memory and Selecting a Space with the
Multiplexed Bus)
Symbol
Measurement
condition
Parameter
td(BCLK-AD)
Address output delay time
th(BCLK-AD)
Address output hold time (BCLK standard)
Standard
Min
Unit
Max
18
-3
ns
ns
th(RD-AD)
Address output hold time (RD standard)
(Note 1)
ns
th(WR-AD)
Address output hold time (WR standard)
(Note 1)
ns
td(BCLK-CS)
Chip-select signal output delay time
th(BCLK-CS)
Chip-select signal output hold time (BCLK standard)
th(RD-CS)
18
ns
-3
ns
Chip-select signal output hold time (RD standard)
(Note 1)
ns
(Note 1)
th(WR-CS)
Chip-select signal output hold time (WR standard)
td(BCLK-RD)
RD signal output delay time
th(BCLK-AD)
RD signal output hold time
td(BCLK-WR)
WR signal output delay time
See Figure 5.1
ns
18
ns
18
ns
-5
ns
td(BCLK-WR)
WR signal output hold time
-3
ns
td(DB-WR)
Data output delay time (WR standard)
(Note 1)
ns
th(WR-DB)
Data output hold time (WR standard)
(Note 1)
ns
td(BCLK-ALE)
ALE signal output delay time (BCLK standard)
th(BCLK-ALE)
ALE signal output hold time (BCLK standard)
td(AD-ALE)
18
ns
-2
ns
ALE signal output delay time (address standard)
(Note 1)
ns
th(ALE-AD)
ALE signal output hold time (address standard)
(Note 1)
tdz(RD-AD)
Address output high-impedance time
ns
8
NOTES:
1. A value can be obtained from the following expressions according to the BCLK frequency.
th(RD – AD) =
10 9
f(BCLK) X 2
– 10
[ns]
th(WR – AD) =
10 9
f(BCLK) X 2
– 10
[ns]
th(RD – CS) =
10 9
f(BCLK) X 2
– 10
[ns]
th(WR – CS) =
10 9
f(BCLK) X 2
– 10
[ns]
td(DB – WR) =
10 X m
– 25
f(BCLK) X 2
[ns] (m=3 with 2 wait states and m=5 with 3 wait states)
th(WR – DB) =
10 9
f(BCLK) X 2
– 10
[ns]
– 20
[ns]
– 10
[ns]
9
td(AD – ALE) =
th(ALE – AD) =
10
9
f(BCLK) X 2
10
9
f(BCLK) X 2
Rev.1.20 Jun. 01, 2004 page 51 of 80
ns
5. Electrical Characteristics (VCC = 5 V)
M32C/82 Group
VCC = 5V
Switching Characteristics
(VCC = 4.2 to 5.5V, VSS = 0V at Topr = –20 to 85oC unless otherwise specified)
Table 5.22 Memory Expansion Mode and Microprocessor Mode
(With a Wait State, Accessing an External Memory and Selecting the DRAM Area)
Symbol
Measurement
condition
Parameter
td(BCLK-AD)
Row address output delay time
th(BCLK-AD)
Row address output hold time (BCLK standard)
Standard
Min
18
-3
th(BCLK-CAD) Column address output delay time
th(RAS-RAD)
Row address output hold time after RAS output
tRP
RAS high ("H") hold time
ns
(Note 1)
ns
18
See Figure 5.1
ns
(Note 1)
ns
18
-3
td(BCLK-DW) DW output delay time (BCLK standard)
th(BCLK-DW) DW output hold time (BCLK standard)
tsu(DB-CAS)
CAS output setup time after DB output
th(BCLK-DB
DB signal output hold time (BCLK standard)
tsu(CAS-RAS) CAS output setup time before RAS output (refresh)
10 9
f(BCLK) X 2
tRP =
10 9
f(BCLK) X 2
tsu(DB – CAS) =
10 9
f(BCLK)
– 13
[ns]
X 3 – 20 [ns]
– 20
[ns]
9
tsu(CAS – RAS) =
10
f(BCLK) X 2
– 13
Rev.1.20 Jun. 01, 2004 page 52 of 80
[ns]
ns
ns
18
ns
-5
ns
(Note 1)
ns
-7
ns
(Note 1)
ns
NOTES:
1. A value can be obtained from the following expressions according to the BCLK frequency.
th(RAS – RAD) =
ns
-3
td(BCLK-CAS) CAS output delay time (BCLK standard)
th(BCLK-CAS) CAS output hold time (BCLK standard)
ns
-3
td(BCLK-RAS) RAS output delay time (BCLK standard)
th(BCLK-RAS) RAS output hold time (BCLK standard)
ns
ns
18
td(BCLK-CAD) Column address output hold time (BCLK standard)
Unit
Max
5. Electrical Characteristics
M32C/82 Group
P0
P1
P2
P3
P4
P5
P6
P7
30pF
P8
P9
P10
P11
P12
P13
Note 1
P14
P15
NOTES:
1. P11 to P15 are provided in the 144-pin package only.
Figure 5.1 P0 to P15 Measurement Circuit
Rev.1.20 Jun. 01, 2004 page 53
of 80
M32C/82 Group
5. Electrical Characteristics (VCC = 5V)
Vcc=5V
Memory expansion mode and microprocessor mode (with no wait state)
Read timing
BCLK
td(BCLK-ALE)
18ns.max
th(BCLK-ALE)
-2ns.min
ALE
td(BCLK-CS)
th(BCLK-CS)
18ns.max(1)
-3ns.min
CSi
th(RD-CS)
tcyc
0ns.min
td(BCLK-AD)
th(BCLK-AD)
18ns.max(1)
-3ns.min
ADi
BHE
th(RD-AD)
0ns.min
td(BCLK-RD)
18ns.max
RD
th(BCLK-RD)
tac1(RD-DB)(2)
-5ns.min
tac1(AD-DB)(2)
Hi-Z
DB
tsu(DB-BCLK)
th(RD-DB)
26ns.min(1)
0ns.min
NOTES:
1. A value is guaranteed with no external factor. Maximum 35ns is guaranteed for td(BCLK-AD)+tsu(DB-BCLK).
2. It varies with the operation frequency.
tac1(RD-DB)=(tcyc/2-35)ns.max
tac1(AD-DB)=(tcyc-35)ns.max
Write timing ( written in 2 cycles with no wait state)
BCLK
18ns.max
td(BCLK-ALE)
th(BCLK-ALE)
-2ns.min
ALE
th(BCLK-CS)
td(BCLK-CS)
-3ns.min
18ns.max
CSi
tcyc
th(WR-CS)(1)
td(BCLK-AD)
ADi
BHE
th(BCLK-AD)
18ns.max
-3ns.min
td(BCLK-WR)
18ns.max
th(WR-AD)(1)
tw(WR)(1)
WR,WRL,
WRH
th(BCLK-WR)
-3ns.min
td(DB-WR)(1)
th(WR-DB)(1)
DBi
NOTES:
1. It varies with the operation frequency.
td(DB-WR)=(tcyc-20)ns.min
th(WR-DB)=(tcyc/2-10)ns.min
th(WR-AD)=(tcyc/2-10)ns.min
th(WR-CS)=(tcyc/2-10)ns.min
tw(WR)=(tcyc/2-15)ns.min
Figure 5.2 VCC=5V Timing Diagram (1)
Rev.1.20 Jun. 01, 2004 page 54 of 80
Measurement conditions
• VCC=4.2 to 5.5V
• Input high and low voltage: VIH=2.5V, VIL=0.8V
• Output high and low voltage: VOH=2.0V, VOL=0.8V
M32C/82 Group
5. Electrical Characteristics (VCC = 5V)
Vcc=5V
Memory expansion mode and microprocessor mode (with a wait state)
Read timing
BCLK
18ns.max
td(BCLK-ALE) th(BCLK-ALE)
-2ns.min
ALE
th(BCLK-CS)
td(BCLK-CS)
-3ns.min
18ns.max(1)
CSi
th(RD-CS)
tcyc
0ns.min
td(BCLK-AD)
ADi
BHE
th(BCLK-AD)
18ns.max(1)
-3ns.min
td(BCLK-RD)
18ns.max
th(RD-AD)
0ns.min
RD
th(BCLK-RD)
tac2(RD-DB)(2)
-5ns.min
tac2(AD-DB)(2)
DB
Hi-Z
tsu(DB-BCLK)
26ns.min(1)
th(RD-DB)
0ns.min
Notes :
1. A value is guaranteed with no external factor. Maximum 35ns is guaranteed for td(BCLK-AD)+tsu(DB-BCLK).
2. It varies with the operation frequency.
tac2(RD-DB)=(tcyc/2 x m-35)ns.max (m=3 with 1 wait state, m=5 with 2 wait states and m=7 with 3 wait states.)
tac2(AD-DB)=(tcyc x n-35)ns.max (n=2 with 1 wait state, n=3 with 2 wait states and n=4 with 3 wait states.)
Write timing (written in 2 cycles with no wait state)
BCLK
18ns.max
td(BCLK-ALE)
th(BCLK-ALE)
-2ns.min
ALE
th(BCLK-CS)
td(BCLK-CS)
-3ns.min
18ns.max
CSi
tcyc
th(WR-CS)(1)
th(BCLK-AD)
td(BCLK-AD)
ADi
BHE
-3ns.min
18ns.max
WR,WRL,
WRH
td(BCLK-WR)
18ns.max
tw(WR)(1)
th(WR-AD)(1)
th(BCLK-WR)
-3ns.min
td(DB-WR)(1)
th(WR-DB)(1)
DBi
NOTES:
1. It varies with the operation frequency.
td(DB-WR)=(tcyc x n-20)ns.min
(n=1 with 1 wait state, n=2 with 2 wait states and n=3 with 3 wait states)
th(WR-DB)=(tcyc/2-10)ns.min
th(WR-AD)=(tcyc/2-10)ns.min
th(WR-CS)=(tcyc/2-10)ns.min
tw(WR)=(tcyc/2 x n-15)ns.min
(n=1 with 1 wait state, n=3 with 2 wait states and n=5 with 3 wait states)
Figure 5.3 VCC=5V Timing Diagram (2)
Rev.1.20 Jun. 01, 2004 page 55 of 80
Measurement conditions
• VCC=4.2 to 5.5V
• Input high and low voltage:
VIH=2.5V, VIL=0
• Output high and low voltage:
VOH=2.0V, VOL=0.8V
M32C/82 Group
5. Electrical Characteristics (VCC = 5V)
Memory expansion mode and microprocessor mode
Vcc=5V
(with a wait state, when accessing an external memory and using the multiplexed bus)
Read timing
BCLK
18ns.max
th(BCLK-ALE)
td(BCLK-ALE)
-2ns.min
ALE
th(BCLK-CS)
tcyc
td(BCLK-CS)
-3ns.min
18ns.max
th(RD-CS)(1)
CSi
td(AD-ALE)(1)
ADi
/DBi
th(ALE-AD)(1)
Address
Data input
tdz(RD-AD)
tsu(DB-BCLK)
td(BCLK-AD)
ADi
BHE
tac3(AD-DB)(1)
td(BCLK-RD)
th(BCLK-RD)
18ns.max
0ns.min
26ns.min
tac3(RD-DB)(1)
18ns.max
Address
th(RD-DB)
8ns.max
th(BCLK-AD)
-3ns.min
th(RD-AD)(1)
-5ns.min
RD
NOTES:
1. It varies with the operation frequency.
td(AD-ALE)=(tcyc/2-20)ns.min
th(ALE-AD)=(tcyc/2-10)ns.min, th(RD-AD)=(tcyc/2-10)ns.min, th(RD-CS)=(tcyc/2-10)ns.min
tac3(RD-DB)=(tcyc/2 x m-35)ns.max (m=3 with 2 wait states and m=5 with 3 wait states)
tac3(AD-DB)=(tcyc/2 x n-35)ns.max (n=5 with 2 wait states and n=7 with 3 wait states)
Write timing (written in 2 cycles with no wait state)
BCLK
18ns.max
th(BCLK-ALE)
td(BCLK-ALE)
-2ns.min
ALE
th(BCLK-CS)
tcyc
td(BCLK-CS)
th(WR-CS)(1)
18ns.max
CSi
th(ALE-AD)(1)
td(AD-ALE)(1)
ADi
/DBi
Data output
Address
td(DB-WR)(1)
td(BCLK-AD)
Address
th(WR-DB)(1)
td(BCLK-WR)
WR,WRL,
WRH
18ns.max
NOTES:
1. It varies with the operation frequency.
td(AD-ALE)=(tcyc/2-20)ns.min
th(ALE-AD)=(tcyc/2-10)ns.min, th(WR-AD)=(tcyc/2-10)ns.min
th(WR-CS)=(tcyc/2-10)ns.min, th(WR-DB)=(tcyc/2-10)ns.min
td(DB-WR)=(tcyc/2 x m-25)ns.min
Figure 5.4 VCC=5V Timing Diagram (3)
Rev.1.20 Jun. 01, 2004 page 56 of 80
th(BCLK-AD)
-3ns.min
18ns.max
ADi
BHE
-3ns.min
th(BCLK-WR)
th(WR-AD)(1)
-3ns.min
Measurement conditions
• VCC=4.2 to 5.5V
• Input high and low voltage:
VIH=2.5V, VIL=0.8V
• Output high and low voltage:
VOH=2.0V, VOL=0.8V
M32C/82 Group
5. Electrical Characteristics (VCC = 5V)
Memory expansion mode and microprocessor mode
Vcc=5V
(When accessing the DRAM area)
Read timing
BCLK
tcyc
td(BCLK-RAD) th(BCLK-RAD)
18ns.max -3ns.min
MAi
td(BCLK-CAD)
th(BCLK-CAD)
18ns.max(1)
-3ns.min
Column address
Row address
th(RAS-RAD)(2)
tRP(2)
RAS
td(BCLK-RAS)
18ns.max(1)
td(BCLK-CAS)
18ns.max(1)
CASL
CASH
th(BCLK-RAS)
-3ns.min
th(BCLK-CAS)
-3ns.min
DW
tac4(CAS-DB)(2)
tac4(CAD-DB)(2)
tac4(RAS-DB)(2)
Hi-Z
DB
tsu(DB-BCLK)
26ns.min(1)
th(CAS-DB)
0ns.min
NOTES:
1. A value is guaranteed with no external factor. Maximum 35ns is guaranteed for td(BCLK-AD)+tsu(DB-BCLK).
td(BCLK-RAS) + tsu(DB-BCLK)
td(BCLK-CAS) + tsu(DB-BCLK)
td(BCLK-CAD) + tsu(DB-BCLK)
2. It varies with the operation frequency.
tac4(RAS-DB)=(tcyc/2 x m-35)ns.max (m=3 with 1 wait state and m=5 with 2 wait states)
tac4(CAS-DB)=(tcyc/2 x n-35)ns.max (n=1 with 1 wait state and n=3 with 2 wait states)
tac4(CAD-DB)=(tcyc x l-35)ns.max (l=1 with 1 wait state and l=2 with 2 wait states)
th(RAS-RAD)=(tcyc/2-13)ns.min
tRP=(tcyc/2 x 3-20)ns.min
Measurement conditions
• VCC=4.2 to 5.5V
• Input high and low voltage: VIH=2.5V, VIL=0.8V
• Output high and low voltage: VOH=2.0V, VOL=0.8V
Figure 5.5 VCC=5V Timing Diagram (4)
Rev.1.20 Jun. 01, 2004 page 57 of 80
M32C/82 Group
5. Electrical Characteristics (VCC = 5V)
Memory expansion mode and microprocessor mode
Vcc=5V
(When accessing the DRAM area)
Write timing
BCLK
tcyc
td(BCLK-RAD)
18ns.max
MAi
th(BCLK-RAD)
-3ns.min
td(BCLK-CAD)
th(BCLK-CAD)
18ns.max
-3ns.min
Column address
Row address
th(RAS-RAD)(1)
tRP(1)
RAS
td(BCLK-RAS)
18ns.max
td(BCLK-CAS)
18ns.max
CASL
CASH
th(BCLK-RAS)
-3ns.min
th(BCLK-CAS)
td(BCLK-DW)
-3ns.min
18ns.max
DW
th(BCLK-DW)
tsu(DB-CAS)(1)
DB
-5ns.min
Hi-Z
th(BCLK-DB)
-7ns.min
NOTES:
1. It varies with the operation frequency.
th(RAS-RAD)=(tcyc/2-13)ns.min
tRP=(tcyc/2 x 3-20)ns.min
tsu(DB-CAS)=(tcyc-20)ns.min
Measurement conditions
• VCC=4.2 to 5.5V
• Input high and low voltage: VIH=2.5V, VIL=0.8V
• Output high and low voltage: VOH=2.0V, VOL=0.8V
Figure 5.6 VCC=5V Timing Diagram (5)
Rev.1.20 Jun. 01, 2004 page 58 of 80
M32C/82 Group
5. Electrical Characteristics (VCC = 5V)
Memory expansion mode and microprocessor mode
Refresh timing (CAS-before-RAS refresh)
Vcc=5V
BCLK
td(BCLK-RAS)
tcyc
18ns.max
RAS
th(BCLK-RAS)
tsu(CAS-RAS)(1)
CASL
CASH
-3ns.min
td(BCLK-CAS)
th(BCLK-CAS)
-3ns.min
18ns.max
DW
NOTES :
1. It varies with the operation frequency.
tsu(CAS-RAS)=(tcyc/2-13)ns.min
Refresh timing (Self-refresh)
BCLK
td(BCLK-RAS)
tcyc
18ns.max
RAS
th(BCLK-RAS)
tsu(CAS-RAS)(1)
CASL
CASH
td(BCLK-CAS)
18ns.max
DW
NOTES:
1. It varies with the operation frequency.
tsu(CAS-RAS)=(tcyc/2-13)ns.min
Measurement conditions
• VCC=4.2 to 5.5V
• Input high and low voltage: VIH=2.5V, VIL=0.8V
• Output high and low voltage: VOH=2.0V, VOL=0.8V
Figure 5.7 VCC=5V Timing Diagram (6)
Rev.1.20 Jun. 01, 2004 page 59 of 80
-3ns.min
th(BCLK-CAS)
-3ns.min
M32C/82 Group
5. Electrical Characteristics (VCC = 5V)
Vcc=5V
tc(TA)
tw(TAH)
TAiIN input
tw(TAL)
tc(UP)
tw(UPH)
TAiOUT input
tw(UPL)
TAiOUT input
(Counter increment/
decrement input)
In event counter mode
TAiIN input
th(TIN–UP)
(When counting on falling
edge is selected)
tsu(UP–TIN)
TAiIN input
(When counting on rising
edge is selected)
tc(TB)
tw(TBH)
TBiIN input
tw(TBL)
tc(AD)
tw(ADL)
ADTRG input
tc(CK)
tw(CKH)
CLKi
tw(CKL)
th(C–Q)
TxDi
td(C–Q)
tsu(D–C)
RxDi
tw(INL)
INTi input
Figure 5.8 VCC=5V Timing Diagram (7)
Rev.1.20 Jun. 01, 2004 page 60 of 80
tw(INH)
th(C–D)
M32C/82 Group
5. Electrical Characteristics (VCC = 5V)
Vcc=5V
Memory expansion mode and microprocessor mode
(Valid only with a wait state)
BCLK
RD
(Separate bus)
WR, WRL, WRH
(Separate bus)
RD
(Multiplexed bus)
WR, WRL, WRH
(Multiplexed bus)
RDY input
th(BCLK–RDY)
tsu(RDY–BCLK)
(Valid with a wait state or with no wait state)
BCLK
tsu(HOLD–BCLK)
th(BCLK–HOLD)
HOLD input
HLDA output
td(BCLK–HLDA)
P0, P1, P2,
P3, P4,
P50 to P52
td(BCLK–HLDA)
Hi–Z
Measurement conditions
• VCC=4.2 to 5.5V
• Input high and low voltage: VIH=4.0V, VIL=1.0V
• Output high and low voltage: VOH=2.5V, VOL=2.5V
Figure 5.9 VCC=5V Timing Diagram (8)
Rev.1.20 Jun. 01, 2004 page 61 of 80
5. Electrical Characteristics (VCC = 3.3 V)
M32C/82 Group
VCC = 3.3V
Table 5.23 Electrical Characteristics (VCC=3.0 to 3.6V, VSS=0V at Topr = –20 to 85oC,
unless otherwise specified)
Symbol
VOH
Parameter
Output high ("H")
voltage
Condition
P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50- IOH=-1mA
P57, P60-P67, P72-P77, P80-P84, P86, P87, P90-P97,
P100-P107, P110-P114, P120-P127, P130-P137,
P140-P146, P150-P157(1)
XOUT
IOH=-0.1mA
XCOUT
VOL
Output low ("L")
voltage
IIH
Hysteresis
Input high ("H")
current
Typ
V
V
3.3
P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50- IOL=1mA
P57, P60-P67, P70-P77, P80-P84, P86, P87, P90-P97,
P100-P107, P110-P114, P120-P127, P130-P137,
P140-P146, P150-P157(1)
XOUT
IOL=0.1mA
No load applied
HOLD, RDY, TA0IN-TA4IN, TB0IN-TB5IN, INT0-INT5,
ADTRG, CTS0-CTS4, CLK0-CLK4, TA0OUT-TA4OUT,
NMI, KI0-KI3, RxD0-RxD4, SCL0-SCL4, SDA0SDA4
RESET
P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50- VI=VCC
P57, P60-P67, P70-P77, P80-P87, P90-P97, P100P107, P110-P114, P120-P127, P130-P137, P140-
RPULLUP
Pull-up resistance
RfXIN
RfXCIN
VRAM
Feedback resistance
Feedback resistance
RAM standby voltage
ICC
Power supply current
P107, P110-P114, P120-P127, P130-P137, P140P146, P150-P157(1), XIN, RESET, CNVSS, BYTE
P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50- VI=0V
P57, P60-P67, P72-P77, P80-P84, P86, P87, P90-P97,
P100-P107, P110-P114, P120-P127, P130-P137,
P140-P146, P150-P157(1)
XIN
XCIN
Through VDC
Not through VDC
Measurement condition:
In single-chip mode, output
pins are left open and other
pins are connected to VSS.
NOTES:
1. P11 to P15 are provided in the 144-pin package only.
Rev.1.20 Jun. 01, 2004 page 62 of 80
V
0.5
V
0.5
V
0
V
0.2
1.0
V
0.2
1.8
4.0
V
µA
-4.0
µA
500
kΩ
P146, P150-P157(1), XIN, RESET, CNVSS, BYTE
Input low ("L") current P00-P07, P10-P17, P20-P27, P30-P37, P40-P47, P50- VI=0V
P57, P60-P67, P70-P77, P80-P87, P90-P97, P100-
IIL
Unit
Max
2.7
No load applied
XCOUT
VT+-VT-
Standard
Min
2.7
66
120
3.0
20.0
MΩ
MΩ
V
2.5
2.0
f(XIN)=20 MHz, square wave,
no division
f(XCIN)=32 kHz, with a wait state,
not through VDC, Topr=25° C
f(XCIN)=32 kHz, with a wait state,
through VDC, Topr=25° C
Topr=25° C when the clock stops
17
38
mA
5.0
µA
340
µA
0.4
20
µA
5. Electrical Characteristics (VCC = 3.3 V)
M32C/82 Group
VCC = 3.3V
Table 5.24 A/D Conversion Characteristics (VCC = AVCC = VREF = 3.0 to 3.6V, VSS = AVSS = 0V
at Topr = –20 to 85oC unless otherwise specified)
Symbol
Measurement
condition
Parameter
Standard
Min Typ
Unit
Max
10
Bits
INL
Integral nonlinearity error
No S&H function (8-bit) VCC=VREF=3.3V
±2
LSB
DNL
Differential nonlinearity error
No S&H function (8-bit)
±1
LSB
-
Offset error
No S&H function (8-bit)
±2
LSB
-
Gain error
No S&H function (8-bit)
±2
LSB
40
kΩ
-
VREF=VCC
Resolution
RLADDER
Resistor ladder
tCONV
8-bit conversion time
4.9
VREF
Reference voltage
3.0
VCC
V
VIA
Analog input voltage
0
VREF
V
VREF=VCC
8
µs
S&H: Sample and hold
NOTES:
1. Divide f(XIN), if exceeding 10 MHz, to keep φAD frequency less than or equal to 10 MHz.
Table 5.25 D/A Conversion Characteristics (VCC = VREF = 3.0 to 3.6V, VSS = AVSS = 0V
at Topr = –20 to 85oC unless otherwise specified)
Symbol
Parameter
Standard
Measurement condition
Min Typ
-
Resolution
8
Absolute accuracy
tSU
Setup time
RO
Output resistance
IVREF
Reference power supply input current
Unit
Max
4
(Note 1)
10
1.0
%
3
µs
20
kΩ
1. 0
mA
NOTES:
1. Mesurement condition is that one of two D/A converters is used and the DAi register (i=0, 1) for the
unused D/A converter to "0016". The resistor ladder in the A/D converter is exclued.
IVREF flows even if the ADiCON1 register is set to "0" (no VREF connection).
Rev.1.20 Jun. 01, 2004 page 63 of 80
Bits
5. Electrical Characteristics (VCC = 3.3 V)
M32C/82 Group
Timing Requirements (VCC = 3.0 to 3.6V, VSS = 0V at Topr = –20 to
85oC
VCC = 3.3V
unless otherwise specified)
Table 5.26 External Clock Input
Symbol
Parameter
Standard
Min
Unit
Max
tc
External clock input cycle time
50
ns
tw(H)
External clock input high ("H") pulse width
22
ns
tw(L)
External clock input low ("L") pulse width
22
tr
External clock rising-edge time
5
ns
tf
External clock falling-edge time
5
ns
ns
Table 5.27 Memory Expansion Mode and Microprocessor Mode
Symbol
Parameter
Standard
Min
Max
Unit
tac1(RD-DB)
Data input access time (RD standard, with no wait state)
(Note 1)
tac1(AD-DB)
Data input access time (AD standard, CS standard, with no wait state)
(Note 1)
ns
tac2(RD-DB)
Data input access time (RD standard, with a wait state)
(Note 1)
ns
tac2(AD-DB)
Data input access time (AD standard, CS standard, with a wait state)
(Note 1)
ns
tac3(RD-DB)
Data input access time (RD standard, when accessing a space with the multiplexed bus)
(Note 1)
ns
tac3(AD-DB)
Data input access time (AD standard, CS standard, when accessing a space with the multiplexed bus)
(Note 1)
ns
ns
ns
tac4(RAS-DB)
Data input access time (RAS standard, when accessing a DRAM space)
(Note 1)
tac4(CAS-DB)
Data input access time (CAS standard, when accessing a DRAM space)
(Note 1)
ns
tac4(CAD-DB)
Data input access time (CAD standard, when accessing a DRAM space)
(Note 1)
ns
tsu(DB-BCLK)
Data input setup time
30
ns
tsu(RDY-BCLK)
RDY input setup time
40
ns
tsu(HOLD-BCLK) HOLD input setup time
60
ns
th(RD-DB)
Data input hold time
0
ns
th(CAS-DB)
Data input hold time
0
ns
th(BCLK-RDY) RDY input hold time
0
ns
th(BCLK-HOLD)
HOLD input hold time
0
ns
td(BCLK-HLDA)
HLDA output delay time
25
ns
NOTES:
1. A value can be obtained from the following expressions according to the BCLK frequecncy. Insert a wait state or use lower
f(BCLK) as an operation frequency if a calculated value is negative.
tac1(RD – DB) =
tac1(AD – DB) =
10 9
f(BCLK) X 2
10 9
f(BCLK)
– 35
[ns]
– 35
[ns]
– 35
[ns] (m=3 with 1 wait state, m=5 with 2 wait states
and m=7 with 3 wait states)
– 35
[ns] (n=2 with 1 wait state, n=3 with 2 wait states
and n=4 with 3 wait states)
9
10 X m
tac2(RD – DB) = f(BCLK) X 2
9
tac2(AD – DB) =
10 X n
f(BCLK)
9
10 X m
tac3(RD – DB) = f(BCLK) X 2 – 35
tac3(AD – DB) =
10 9 X n
– 35
f(BCLK) X 2
[ns] (m=3 with 2 wait states and m=5 with 3 wait states)
[ns] (n=5 with 2 wait states and n=7 with 3 wait states)
tac4(RAS – DB) =
10 9X m
f(BCLK) X 2
– 35
[ns] (m=3 with 1 wait state and m=5 with 2 wait states)
tac4(CAS – DB) =
10 9 X n
f(BCLK) X 2
– 35
[ns] (n=1 with 1 wait state and n=3 when 2 wait states)
tac4(CAD – DB) =
10 9 X l
f(BCLK)
– 35
[ns] (l=1 with 1 wait state and l=2 with 2 wait states)
Rev.1.20 Jun. 01, 2004 page 64 of 80
5. Electrical Characteristics (VCC = 3.3 V)
M32C/82 Group
VCC = 3.3V
Timing Requirements
(VCC = 3.0 to 3.6V, VSS = 0V at Topr = –20 to 85oC unless otherwise specified)
Table 5.28 Timer A Input (Count Source Input in Event Counter Mode)
Symbol
Parameter
Standard
Min
Unit
Max
tc(TA)
TAiIN input cycle time
100
ns
tw(TAH)
TAiIN input high ("H") pulse width
40
ns
tw(TAL)
TAiIN input low ("L") pulse width
40
ns
Table 5.29 Timer A Input (Gate Input in Timer Mode)
Standard
Symbol
Parameter
Min
Max
Unit
tc(TA)
TAiIN input cycle time
400
ns
tw(TAH)
TAiIN input high ("H") pulse width
200
ns
tw(TAL)
TAiIN input low ("L") pulse width
200
ns
Table 5.30 Timer A Input (External Trigger Input in One-Shot Timer Mode)
Standard
Symbol
Parameter
Unit
Min
Max
tc(TA)
TAiIN input cycle time
200
ns
tw(TAH)
TAiIN input high ("H") pulse width
100
ns
tw(TAL)
TAiIN input low ("L") pulse width
100
ns
Table 5.31 Timer A Input (External Trigger Input in Pulse Width Modulation Mode)
Standard
Symbol
Parameter
Unit
Min
Max
tw(TAH)
TAiIN input high ("H") pulse width
100
ns
tw(TAL)
TAiIN input low ("L") pulse width
100
ns
Table 5.32 Timer A Input (Counter Increment/decrement Input in Event Counter Mode)
Standard
Symbol
Parameter
Unit
Min
Max
tc(UP)
TAiOUT input cycle time
2000
ns
tw(UPH)
TAiOUT input high ("H") pulse width
1000
ns
tw(UPL)
TAiOUT input low ("L") pulse width
1000
ns
tsu(UP-TIN)
TAiOUT input setup time
400
ns
th(TIN-UP)
TAiOUT input hold time
400
ns
Rev.1.20 Jun. 01, 2004 page 65 of 80
5. Electrical Characteristics (VCC = 3.3 V)
M32C/82 Group
VCC = 3.3V
Timing Requirements
(VCC = 3.0 to 3.6V, VSS = 0V at Topr = –20 to 85oC unless otherwise specified)
Table 5.33 Timer B input (Count Source Input in Event Counter Mode)
Symbol
Parameter
Standard
Min
Max
Unit
tc(TB)
TBiIN input cycle time (counted on one edge)
100
ns
tw(TBH)
TBiIN input high ("H") pulse width (counted on one edge)
40
ns
tw(TBL)
TBiIN input low ("L") pulse width (counted on one edge)
40
ns
tc(TB)
TBiIN input cycle time (counted on both edges)
200
ns
tw(TBH)
TBiIN input high ("H") pulse width (counted on both edges)
80
ns
tw(TBL)
TBiIN input low ("L") pulse width (counted on both edges)
80
ns
Table 5.34 Timer B input (Pulse Period Measurement Mode)
Symbol
Parameter
Standard
Min
Max
Unit
tc(TB)
TBiIN input cycle time
400
ns
tw(TBH)
TBiIN input high ("H") pulse width
200
ns
tw(TBL)
TBiIN input low ("L") pulse width
200
ns
Table 5.35 Timer B input (Pulse Width Measurement Mode)
Standard
Symbol
Parameter
Unit
Min
Max
tc(TB)
TBiIN input cycle time
400
ns
tw(TBH)
TBiIN input high ("H") pulse width
200
ns
tw(TBL)
TBiIN input low ("L") pulse width
200
ns
Table 5.36 A/D Trigger Input
Symbol
Standard
Parameter
Min
Unit
Max
tc(AD)
ADTRG input high ("H") pulse width (trigger available at minimum)
1000
ns
tw(ADL)
ADTRG input low ("L") pulse width
125
ns
Table 5.37 Serial I/O
Symbol
Parameter
Standard
Min
Max
Unit
tc(CK)
CLKi input cycle time
200
ns
tw(CKH)
CLKi input high ("H") pulse width
100
ns
tw(CKL)
CLKi input low ("L") pulse width
100
ns
td(C-Q)
TxDi output delay time
th(C-Q)
TxDi hold time
0
80
ns
ns
tsu(D-C)
RxDi input hold time
30
ns
th(C-Q)
RxDi input hold time
90
ns
_______
Table 5.38 External Interrupt INTi input
Symbol
Parameter
Standard
Min
Max
Unit
tw(INH)
INTi input high ("H") pulse width
250
ns
tw(INL)
INTi input low ("L") pulse width
250
ns
Rev.1.20 Jun. 01, 2004 page 66 of 80
5. Electrical Characteristics (VCC = 3.3 V)
M32C/82 Group
VCC = 3.3V
Switching Characteristics
(VCC = 3.0 to 3.6V, VSS = 0V at Topr = –20 to 85oC, unless otherwise specified)
Table 5.39 Memory Expansion Mode and Microprocessor Mode (with No Wait State)
Symbol
Parameter
Measurement
condition
Standard
Min
Unit
Max
td(BCLK-AD)
Address output delay time
th(BCLK-AD)
Address output hold time (BCLK standard)
0
ns
th(RD-AD)
Address output hold time (RD standard)
0
ns
(Note 1)
18
ns
th(WR-AD)
Address output hold time (WR standard)
td(BCLK-CS)
Chip-select signal output delay time
th(BCLK-CS)
Chip-select signal output hold time (BCLK standard)
th(RD-CS)
Chip-select signal output hold time (RD standard)
0
ns
th(WR-CS)
Chip-select signal output hold time (WR standard)
(Note 1)
ns
td(BCLK-ALE)
ALE signal output delay time
th(BCLK-ALE)
ALE signal output hold time
td(BCLK-RD)
RD signal output delay time
th(BCLK-RD)
RD signal output hold time
ns
18
0
See Figure 5.1
18
-2
WR signal output delay time
td(BCLK-WR)
WR signal outpu hold time
td(DB-WR)
ns
ns
18
-3
td(BCLK-WR)
ns
ns
ns
ns
18
ns
0
ns
Data output delay time (WR standard)
(Note 1)
ns
th(WR-DB)
Data outpu hold time (WR standard)
(Note 1)
ns
tw(WR)
Write pulse width
(Note 1)
ns
NOTES:
1. A value can be obtained from the following expressions according to the BCLK frequency.
td(DB – WR) =
10 9
f(BCLK)
– 20
[ns]
th(WR – DB) =
10 9
f(BCLK) X 2
– 10
[ns]
th(WR – AD) =
10 9
f(BCLK) X 2
– 10
[ns]
th(WR – CS) =
10 9
f(BCLK) X 2
– 10
[ns]
tw(WR) =
10 9
f(BCLK) X 2
– 15
[ns]
Rev.1.20 Jun. 01, 2004 page 67 of 80
5. Electrical Characteristics (VCC = 3.3 V)
M32C/82 Group
VCC = 3.3V
Switching Characteristics
(VCC = 3.0 to 3.6V, VSS = 0V at Topr = –20 to 85oC unless otherwise specified)
Table 5.40 Memory Expansion Mode and Microprocessor Mode
(With a Wait State, Accessing an External Memory)
Symbol
Parameter
td(BCLK-AD)
Address output delay time
th(BCLK-AD)
Address output hold time (BCLK standard)
Measurement
condition
Standard
Min
Unit
Max
18
0
ns
ns
th(RD-AD)
Address output hold time (RD standard)
0
ns
th(WR-AD)
Address output hold time (WR standard)
(Note 1)
ns
td(BCLK-CS)
Chip-select signal output delay time
th(BCLK-CS)
Chip-select signal output hold time (BCLK standard)
0
th(RD-CS)
Chip-select signal output hold time (RD standard)
0
ns
th(WR-CS)
Chip-select signal output hold time (WR standard)
(Note 1)
ns
td(BCLK-ALE)
ALE signal output delay time
th(BCLK-ALE)
ALE signal output hold time
td(BCLK-RD)
RD signal output delay time
th(BCLK-RD)
RD signal output hold time
td(BCLK-WR)
WR signal output delay time
td(BCLK-WR)
WR signal outpu hold time
18
See Figure 5.1
ns
18
ns
18
ns
18
ns
-2
ns
-3
0
ns
ns
ns
td(DB-WR)
Data output delay time (WR standard)
(Note 1)
ns
th(WR-DB)
Data outpu hold time (WR standard)
(Note 1)
ns
tw(WR)
Write pulse width
(Note 1)
ns
NOTES:
1. A value can be obtained from the following expressions according to the BCLK frequency.
td(DB – WR) =
10 9 X n
f(BCLK)
– 20
[ns] (n=1 with 1 wait state, n=2 with 2 wait states
and n=3 with 3 wait states)
th(WR – DB) =
10 9
f(BCLK) X 2
– 10
[ns]
th(WR – AD) =
10 9
f(BCLK) X 2
– 10
[ns]
th(WR – CS) =
10 9
f(BCLK) X 2
– 10
[ns]
tw( WR) =
10 9 X n
f(BCLK) X 2
– 15 [ns] (n=1 with 1 wait state, n=3 with 2 wait states
and n=5 with 3 wait states)
Rev.1.20 Jun. 01, 2004 page 68 of 80
5. Electrical Characteristics (VCC = 3.3 V)
M32C/82 Group
VCC = 3.3V
Switching Characteristics
(VCC = 3.0 to 3.6V, VSS = 0V at Topr = –20 to 85oC unless otherwise specified)
Table 5.41 Memory Expansion Mode and Microprocessor Mode
(With a Wait State, Accessing an External Memory and Selecting a Space with the
Multiplexed Bus)
Symbol
Parameter
td(BCLK-AD)
Address output delay time
th(BCLK-AD)
Address output hold time (BCLK standard)
Measurement
condition
Standard
Min
Unit
Max
18
0
ns
ns
th(RD-AD)
Address output hold time (RD standard)
(Note 1)
ns
th(WR-AD)
Address output hold time (WR standard)
(Note 1)
ns
td(BCLK-CS)
Chip-select signal output delay time
th(BCLK-CS)
Chip-select signal output hold time (BCLK standard)
th(RD-CS)
18
ns
0
ns
Chip-select signal output hold time (RD standard)
(Note 1)
ns
th(WR-CS)
Chip-select signal output hold time (WR standard)
(Note 1)
td(BCLK-RD)
RD signal output delay time
th(BCLK-AD)
RD signal output hold time
td(BCLK-WR)
WR signal output delay time
td(BCLK-WR)
WR signal output hold time
td(DB-WR)
See Figure 5.1
ns
18
-3
ns
ns
18
ns
0
ns
Data output delay time (WR standard)
(Note 1)
ns
th(WR-DB)
Data output hold time (WR standard)
(Note 1)
td(BCLK-ALE)
ALE signal output delay time (BCLK standard)
th(BCLK-ALE)
ALE signal output hold time (BCLK standard)
td(AD-ALE)
ns
18
ns
-2
ns
ALE signal output delay time (address standard)
(Note 1)
ns
th(ALE-AD)
ALE signal output hold time (address standard)
(Note 1)
tdz(RD-AD)
Address output high-impedance time
ns
8
NOTES:
1. A value can be obtained from the following expressions according to the BCLK frequency.
th(RD – AD) =
10 9
f(BCLK) X 2
– 10
[ns]
th(WR – AD) =
10 9
f(BCLK) X 2
– 10
[ns]
th(RD – CS) =
10 9
f(BCLK) X 2
–10
[ns]
th(WR – CS) =
10 9
f(BCLK) X 2
– 10
[ns]
td(DB – WR) =
10 X m
– 25
f(BCLK) X 2
[ns] (m=3 with 2 wait states and m=5 with 3 wait states)
th(WR – DB) =
10 9
f(BCLK) X 2
– 10
[ns]
td(AD – ALE) =
10 9
f(BCLK) X 2
– 20
[ns]
th(ALE – AD) =
10 9
f(BCLK) X 2
– 10
[ns]
9
Rev.1.20 Jun. 01, 2004 page 69 of 80
ns
5. Electrical Characteristics (VCC = 3.3 V)
M32C/82 Group
VCC = 3.3V
Switching Characteristics
(VCC = 3.0 to 3.6V, VSS = 0V at Topr = –20 to 85oC unless otherwise specified)
Table 5.42 Memory Expansion Mode and Microprocessor Mode
(With a Wait State, Accessing an External Memory and Selecting the DRAM Area)
Symbol
Measurement
condition
Parameter
td(BCLK-AD)
Row address output delay time
th(BCLK-AD)
Row address output hold time (BCLK standard)
th(BCLK-CAD)
Column address output delay time
td(BCLK-CAD)
Column address output hold time (BCLK standard)
th(RAS-RAD)
Row address output hold time after RAS output
td(BCLK-RAS)
RAS output delay time (BCLK standard)
th(BCLK-RAS)
RAS output hold time (BCLK standard)
tRP
RAS high ("H") hold time
td(BCLK-CAS)
CAS output delay time (BCLK standard)
th(BCLK-CAS)
CAS output hold time (BCLK standard)
Standard
Min
18
ns
18
ns
0
ns
0
ns
(Note 1)
ns
18
See Figure 5.1
Unit
Max
ns
0
ns
(Note 1)
ns
18
0
ns
ns
td(BCLK-DW)
DW output delay time (BCLK standard)
th(BCLK-DW)
DW output hold time (BCLK standard)
-3
ns
tsu(DB-CAS)
CAS output setup time after DB output
(Note 1)
ns
th(BCLK-DB
DB signal output hold time (BCLK standard)
tsu(CAS-RAS)
CAS output setup time before RAS output (refresh)
18
-7
ns
(Note 1)
ns
NOTES:
1. A value can be obtained from the following expressions according to the BCLK frequency.
th(RAS – RAD) =
10 9
f(BCLK) X 2
tRP =
10 9 X 3
f(BCLK) X 2
tsu(DB – CAS) =
tsu(CAS – RAS) =
10 9
f(BCLK)
10
– 13
[ns]
– 20 [ns]
– 20
[ns]
9
f(BCLK) X 2
– 13
Rev.1.20 Jun. 01, 2004 page 70 of 80
[ns]
ns
5. Electrical Characteristics (VCC = 3.3V)
M32C/82 Group
Vcc=3.3V
Memory expansion mode and microprocessor mode (with no wait state)
Read timing
BCLK
td(BCLK-ALE)
18ns.max
th(BCLK-ALE)
-2ns.min
ALE
th(BCLK-CS)
td(BCLK-CS)
0ns.min
18ns.max(1)
CSi
th(RD-CS)
tcyc
0ns.min
td(BCLK-AD)
th(BCLK-AD)
18ns.max(1)
0ns.min
ADi
BHE
th(RD-AD)
0ns.min
td(BCLK-RD)
18ns.max
RD
tac2(RD-DB)(2)
th(BCLK-RD)
-3ns.min
tac2(AD-DB)(2)
Hi-Z
DB
tsu(DB-BCLK)
th(RD-DB)
30ns.min(1)
0ns.min
NOTES:
1. A value is guarantee with no external factor. Maximum 35ns is garanteed for td(BCLK-AD)+tsu(DB-BCLK).
2. It varies with the operation frequency.
tac2(RD-DB)=(tcyc/2-35)ns.max
tac2(AD-DB)=(tcyc-35)ns.max
Write timing
BCLK
td(BCLK-ALE)
18ns.max
th(BCLK-ALE)
-2ns.min
ALE
th(BCLK-CS)
td(BCLK-CS)
0ns.min
18ns.max
CSi
th(WR-CS)(1)
tcyc
td(BCLK-AD)
th(BCLK-AD)
0ns.min
18ns.max
ADi
BHE
td(BCLK-WR)
18ns.max
tw(WR)(1)
WR,WRL,
WRH
th(WR-AD)(1)
th(BCLK-WR)
0ns.min
td(DB-WR)(1)
th(WR-DB)(1)
DBi
NOTES:
1. It varies with the operation frequency.
td(DB-WR)=(tcyc-20)ns.min
th(WR-DB)=(tcyc/2-10)ns.min
th(WR-AD)=(tcyc/2-10)ns.min
th(WR-CS)=(tcyc/2-10)ns.min
tw(WR)=(tcyc/2-15)ns.min
Figure 5.10 VCC=3.3V Timing Diagram (1)
Rev.1.20 Jun. 01, 2004 page 71 of 80
Measurement conditions
• VCC=3.0 to 3.6V
• Input high and low voltage: VIH=1.5V, VIL=0.5V
• Output high and low voltage: VOH=1.5V, VOL=1.5V
5. Electrical Characteristics (VCC = 3.3V)
M32C/82 Group
Vcc=3.3V
Memory expansion mode and microprocessor mode (with a wait state)
Read timing
BCLK
18ns.max
td(BCLK-ALE) th(BCLK-ALE)
-2ns.min
ALE
td(BCLK-CS)
th(BCLK-CS)
18ns.max(1)
0ns.min
CSi
th(RD-CS)
tcyc
0ns.min
th(BCLK-AD)
td(BCLK-AD)
ADi
BHE
18ns.max(1)
0ns.min
td(BCLK-RD)
18ns.max
th(RD-AD)
0ns.min
RD
th(BCLK-RD)
tac2(RD-DB)(2)
tac2(AD-DB)
DB
Hi-Z
-3ns.min
(2)
tsu(DB-BCLK)
th(RD-DB)
30ns.min(1)
0ns.min
NOTES:
1. A value is guarantee with no external factor. Maximum 35ns is garanteed for td(BCLK-AD)+tsu(DB-BCLK).
2. It varies with the operation frequency.
tac2(RD-DB)=(tcyc/2 x m-35)ns.max (m=3 with 1 wait state, m=5 with 2 wait states and m=7 with 3 wait states)
tac2(AD-DB)=(tcyc x n-35)ns.max (n=2 with 1 wait state, n=3 with 2 wait states and n=4 with 3 wait states)
Write timing
BCLK
18ns.max
td(BCLK-ALE)
th(BCLK-ALE)
-2ns.min
ALE
th(BCLK-CS)
td(BCLK-CS)
0ns.min
18ns.max
CSi
th(WR-CS)(1)
tcyc
td(BCLK-AD)
th(BCLK-AD)
18ns.max
0ns.min
ADi
BHE
td(BCLK-WR) tw(WR)(1)
WR,WRL,
WRH
th(WR-AD)(1)
18ns.max
th(BCLK-WR)
0ns.min
d(DB-WR)(1)
t
th(WR-DB)(1)
DBi
NOTES:
1. It varies with the operation frequency.
td(DB-WR)=(tcyc x n-20)ns.min
(n=1 when 1 wait, n=2 with 2 wait states and n=3 with 3 wait states)
th(WR-DB)=(tcyc/2-10)ns.min
th(WR-AD)=(tcyc/2-10)ns.min
th(WR-CS)=(tcyc/2-10)ns.min
tw(WR)=(tcyc/2 x n-15)ns.min
(n=1 with 1 wait state, n=3 with 2 wait states and n=5 with 3 wait
states)
Figure 5.11 VCC=3.3V Timing Diagram (2)
Rev.1.20 Jun. 01, 2004 page 72 of 80
Measurement conditions
• VCC=3.0 to 3.6V
• Input high and low voltage:
VIH=1.5V, VIL=0.5V
• Output high and low voltage:
VOH=1.5V, VOL=1.5V
5. Electrical Characteristics (VCC = 3.3V)
M32C/82 Group
Memory expansion mode and microprocessor mode
Vcc=3.3V
(with a wait state, when accessing an external memory and using the multiplexed bus)
Read timing
BCLK
td(BCLK-ALE)
th(BCLK-ALE)
18ns.max
-2ns.min
ALE
th(BCLK-CS)
tcyc
td(BCLK-CS)
0ns.min
18ns.max
th(RD-CS)(1)
CSi
td(AD-ALE)(1)
ADi
/DBi
th(ALE-AD)(1)
Address
th(RD-DB)
8ns.max
tsu(DB-BCLK)
td(BCLK-AD)
ADi
BHE
td(BCLK-RD)
tac3(AD-DB)(1)
0ns.min
th(BCLK-AD)
30ns.min
tac3(RD-DB)(1)
18ns.max
Address
Data input
tdz(RD-AD)
th(BCLK-RD)
18ns.max
0ns.min
th(RD-AD)(1)
-3ns.min
RD
NOTES:
1. It varies with the operation frequency.
td(AD-ALE)=(tcyc/2-20)ns.min
th(ALE-AD)=(tcyc/2-10)ns.min, th(RD-AD)=(tcyc/2-10)ns.min, th(RD-CS)=(tcyc/2-10)ns.min
tac3(RD-DB)=(tcyc/2 x m-35)ns.max (m=3 with 2 wait states and m=5 with 3 wait states)
tac3(AD-DB)=(tcyc/2 x n-35)ns.max (n=5 with 2 wait states and n=7 with 3 wait states)
Write Timing
BCLK
td(BCLK-ALE)
18ns.max
th(BCLK-ALE)
-2ns.min
ALE
CSi
th(BCLK-CS)
tcyc
td(BCLK-CS)
th(WR-CS)(1)
18ns.max
0ns.min
td(AD-ALE)(1) th(ALE-AD)(1)
ADi
/DBi
td(DB-WR)(1)
td(BCLK-AD)
ADi
BHE
Address
Data output
Address
th(WR-DB)(1)
td(BCLK-WR)
WR,WRL,
WRH
18ns.max
NOTES:
1. It varies with the operation frequency.
td(AD-ALE)=(tcyc/2-20)ns.min
th(ALE-AD)=(tcyc/2-10)ns.min, th(WR-AD)=(tcyc/2-10)ns.min
th(WR-CS)=(tcyc/2-10)ns.min, th(WR-DB)=(tcyc/2-10)ns.min
td(DB-WR)=(tcyc/2 x m-25)ns.min
(m=3 with 2 wait states and m=5 with 3 wait states)
Figure 5.12 VCC=3.3V Timing Diagram (3)
Rev.1.20 Jun. 01, 2004 page 73 of 80
th(BCLK-AD)
0ns.min
18ns.max
th(BCLK-WR)
th(WR-AD)()
0ns.min
Measurement conditions
• VCC=3.0 to 3.6V
• Input high and low voltage:
VIH=1.5V, VIL=0.5V
• Output high and low voltage:
VOH=1.5V, VOL=1.5V
5. Electrical Characteristics (VCC = 3.3V)
M32C/82 Group
Memory expansion mode and microprocessor mode
Vcc=3.3V
(With 2 wait states, when accessing the DRAM area)
Read timing
BCLK
tcyc
td(BCLK-RAD)
18ns.max
MAi
th(BCLK-RAD)
(1)
td(BCLK-CAD)
th(BCLK-CAD)
18ns.max(1)
0ns.min
0ns.min
Column address
Row address
h(RAS-RAD)(1)
t
tRP(2)
RAS
td(BCLK-RAS)
18ns.max(1)
th(BCLK-RAS)
td(BCLK-CAS)
18ns.max(1)
CASL
CASH
0ns.min
th(BCLK-CAS)
0ns.min
DW
tac4(CAS-DB)(2)
tac4(CAD-DB)(2)
tac4(RAS-DB)(2)
Hi-Z
DB
tsu(DB-BCLK)
30ns.min(1)
th(CAS-DB)
0ns.min
NOTES:
1. A value is guaranteed with no external factor. Maximum 35ns is garanteed for the followings:
td(BCLK-RAS) + tsu(DB-BCLK)
td(BCLK-CAS) + tsu(DB-BCLK)
td(BCLK-CAD) + tsu(DB-BCLK)
2. It varies with the operation frequency.
tac4(RAS-DB)=(tcyc/2 x m-35)ns.max (m=3 with 1 wait state and m=5 with 2 wait states)
tac4(CAS-DB)=(tcyc/2 x n-35)ns.max (n=1 with 1 wait state and n=3 with 2 wait states)
tac4(CAD-DB)=(tcyc x l-35)ns.max (l=1 with 1 wait state and l=2 with 2 wait states)
th(RAS-RAD)=(tcyc/2-13)ns.min
tRP=(tcyc/2 x 3-20)ns.min
Measurement conditions
• VCC=3.0 to 3.6V
• Input high and low voltage: VIH=1.5V, VIL=0.5V
• Output high and low voltage: VOH=1.5V, VOL=1.5V
Figure 5.13 VCC=3.3V Timing Diagram (4)
Rev.1.20 Jun. 01, 2004 page 74 of 80
5. Electrical Characteristics (VCC = 3.3V)
M32C/82 Group
Memory expansion mode and microprocessor mode
Vcc=3.3V
(With 2 wait states, when accessing the DRAM area)
Write timing
BCLK
tcyc
td(BCLK-RAD)
18ns.max
MAi
th(BCLK-RAD)
0ns.min
td(BCLK-CAD)
th(BCLK-CAD)
18ns.max
Row address
0ns.min
Column address
tRP(1)
th(RAS-RAD)(1)
RAS
td(BCLK-RAS) td(BCLK-CAS)
18ns.max
CASL
CASH
18ns.max
th(BCLK-RAS)
0ns.min
th(BCLK-CAS)
td(BCLK-DW)
0ns.min
18ns.max
DW
th(BCLK-DW)
tsu(DB-CAS)(1)
DB
-3ns.min
Hi-Z
th(BCLK-DB)
-7ns.min
NOTES:
1. It varies with the operation frequency.
th(RAS-RAD)=(tcyc/2-13)ns.min
tRP=(tcyc/2 x 3-20)ns.min
tsu(DB-CAS)=(tcyc-20)ns.min
Figure 5.14 VCC=3.3V Timing Diagram (5)
Rev.1.20 Jun. 01, 2004 page 75 of 80
Measurement conditions
• VCC=3.0 to 3.6V
• Input high and low voltage:
VIH=1.5V, VIL=0.5V
• Output high and low voltage:
VOH=1.5V, VOL=1.5V
5. Electrical Characteristics (VCC = 3.3V)
M32C/82 Group
Memory expansion mode and microprocessor mode Vcc=3.3V
Refresh timing (CAS-before-RAS refresh)
BCLK
td(BCLK-RAS)
tcyc
18ns.max
RAS
th(BCLK-RAS)
tsu(CAS-RAS)(1)
CASL
CASH
0ns.min
td(BCLK-CAS)
th(BCLK-CAS)
0ns.min
18ns.max
DW
NOTES:
1. It varies with the operation frequency.
tsu(CAS-RAS)=(tcyc/2-13)ns.min
Refresh timing (Self-refresh)
BCLK
td(BCLK-RAS)
tcyc
18ns.max
RAS
tsu(CAS-RAS)(1)
CASL
CASH
td(BCLK-CAS)
18ns.max
DW
NOTES:
1. It varies with the operation frequency.
tsu(CAS-RAS)=(tcyc/2-13)ns.min
Measurement conditions
• VCC=3.0 to 3.6V
• Input high and low voltage: VIH=1.5V, VIL=0.5V
• Output high and low voltage: VOH=1.5V, VOL=1.5V
Figure 5.15 VCC=3.3V Timing Diagram (6)
Rev.1.20 Jun. 01, 2004 page 76 of 80
th(BCLK-RAS)
0ns.min
th(BCLK-CAS)
0ns.min
5. Electrical Characteristics (VCC = 3.3V)
M32C/82 Group
Vcc=3.3V
tc(TA)
tw(TAH)
TAiIN input
tw(TAL)
tc(UP)
tw(UPH)
TAiOUT input
tw(UPL)
TAiOUT input
(Counter increment/
decrement input)
In event counter mode
TAiIN input
(When counting on falling
edge is selected)
th(TIN–UP)
tsu(UP–TIN)
TAiIN input
(When counting on rising
edge is selected)
tc(TB)
tw(TBH)
TBiIN input
tw(TBL)
tc(AD)
tw(ADL)
ADTRG input
tc(CK)
tw(CKH)
CLKi
tw(CKL)
th(C–Q)
TxDi
td(C–Q)
tsu(D–C)
RxDi
tw(INL)
INTi input
Figure 5.16 VCC=3.3V Timing Diagram (7)
Rev.1.20 Jun. 01, 2004 page 77 of 80
tw(INH)
th(C–D)
5. Electrical Characteristics (VCC = 3.3V)
M32C/82 Group
Vcc=3.3V
Memory Expansion Mode and Microprocessor Mode
(Valid only with a wait state)
BCLK
RD
(Separate bus)
WR, WRL, WRH
(Separate bus)
RD
(Multiplexed bus)
WR, WRL, WRH
(Multiplexed bus)
RDY input
tsu(RDY–BCLK)
(Valid with a wait state and no wait state)
BCLK
tsu(HOLD–BCLK)
th(BCLK–HOLD)
HOLD input
HLDA output
td(BCLK–HLDA) td(BCLK–HLDA)
P0, P1, P2,
P3, P4,
P50 to P52
Hi–Z
Measurement conditions
• VCC=3.0 to 3.6V
• Input high or low voltage: VIH=2.4V, VIL=0.6V
• Output high or low voltage: VOH=1.5V, VOL=1.5V
Figure 5.17 VCC=3.3V Timing Diagram (8)
Rev.1.20 Jun. 01, 2004 page 78 of 80
th(BCLK–RDY)
Package Dimensions
M32C/82 Group
Package Dimensions
Recommended
EIAJ Package Code
LQFP144-P-2020-0.50
Plastic 144pin 20✕20mm body LQFP
Weight(g)
1.23
JEDEC Code
–
Lead Material
Cu Alloy
MD
e
144P6Q-A
b2
D
ME
HD
144
109
1
l2
Recommended Mount Pad
108
36
A
A1
A2
b
c
D
E
e
HD
HE
L
L1
Lp
HE
E
Symbol
73
37
72
A
L1
F
e
M
L
Detail F
100P6S-A
Lp
Recommended
EIAJ Package Code
QFP100-P-1420-0.65
x
y
b2
I2
MD
ME
c
x
A1
b
y
A3
A2
A3
Dimension in Millimeters
Min
Nom
Max
1.7
–
–
0.125
0.2
0.05
1.4
–
–
0.17
0.22
0.27
0.105
0.125
0.175
19.9
20.0
20.1
19.9
20.0
20.1
0.5
–
–
21.8
22.0
22.2
21.8
22.0
22.2
0.35
0.5
0.65
1.0
–
–
0.45
0.6
0.75
–
0.25
–
–
–
0.08
0.1
–
–
0°
8°
–
0.225
–
–
0.95
–
–
20.4
–
–
–
–
20.4
Plastic 100pin 14✕20mm body QFP
Weight(g)
1.58
Lead Material
Alloy 42
MD
e
JEDEC Code
–
81
1
b2
100
ME
HD
D
80
I2
Recommended Mount Pad
E
30
HE
Symbol
51
50
A
L1
c
A2
31
A
A1
A2
b
c
D
E
e
HD
HE
L
L1
x
y
b
y
Rev.1.20 Jun. 01, 2004 page 79 of 80
x
M
A1
F
e
L
Detail F
b2
I2
MD
ME
Dimension in Millimeters
Min
Nom
Max
–
–
3.05
0.1
0.2
0
–
–
2.8
0.25
0.3
0.4
0.13
0.15
0.2
13.8
14.0
14.2
19.8
20.0
20.2
0.65
–
–
16.5
16.8
17.1
22.5
22.8
23.1
0.4
0.6
0.8
1.4
–
–
–
–
0.13
–
–
0.1
–
0°
10°
–
–
0.35
1.3
–
–
–
–
14.6
–
–
20.6
Package Dimensions
M32C/82 Group
Recommended
Plastic 100pin 14✕14mm body LQFP
Weight(g)
0.63
JEDEC Code
–
Lead Material
Cu Alloy
MD
b2
HD
ME
EIAJ Package Code
LQFP100-P-1414-0.50
e
100P6Q-A
D
76
100
l2
Recommended Mount Pad
75
1
A
A1
A2
b
c
D
E
e
HD
HE
L
L1
Lp
HE
E
Symbol
51
25
26
50
A
L1
F
A3
M
y
L
Detail F
Rev.1.20 Jun. 01, 2004 page 80 of 80
Lp
c
x
A1
b
A3
A2
e
x
y
b2
I2
MD
ME
Dimension in Millimeters
Min
Nom
Max
1.7
–
–
0.1
0.2
0
1.4
–
–
0.13
0.18
0.28
0.105
0.125
0.175
13.9
14.0
14.1
13.9
14.0
14.1
0.5
–
–
15.8
16.0
16.2
15.8
16.0
16.2
0.3
0.5
0.7
1.0
–
–
0.6
0.75
0.45
0.25
–
–
–
–
0.08
0.1
–
–
0°
10°
–
0.225
–
–
0.9
–
–
14.4
–
–
–
–
14.4
REVISION HISTORY
Rev.
Date
1.00
15/07/2003
1.10
30/09/2003
M32C/82 Group Short Sheet/Data Sheet
Description
Summary
Page
–
New Document
Overview
2
- “1.2 Difference between the M32C/82 Group and the M32C/83 Group” has been
added.
3 to 4
- “DRAMC” and “Oscillator stop detect function” have been added to Tables 1.1 and 1.2
11,15
- VREF pin has been changed from analog input pin to control pin.
17,18
- SDA0 to SDA4 pins have been changed from output pins to I/O pins.
18
- Description of intelligent I/O has been modified.
20
- BEIN and BEOUT pins have been modified to IEIN and IEOUT pins in port P13.
SFR
28
- Value after RLVL register reset has been modified.
Electrical Characteristics
42
- Maximum value of sub clock oscillation frequency has been added in Table 5.2.
1.20 Jun. 01, 2004 All pages Words standardized: On-chip oscillator, A/D converter and D/A converter
A-1
Sales Strategic Planning Div.
Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan
Keep safety first in your circuit designs!
1. Renesas Technology Corp. puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble
may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage.
Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary
circuits, (ii) use of nonflammable material or (iii) prevention against any malfunction or mishap.
Notes regarding these materials
1. These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corp. product best suited to the customer's
application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas Technology Corp. or a third party.
2. Renesas Technology Corp. assumes no responsibility for any damage, or infringement of any third-party's rights, originating in the use of any product data,
diagrams, charts, programs, algorithms, or circuit application examples contained in these materials.
3. All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of
publication of these materials, and are subject to change by Renesas Technology Corp. without notice due to product improvements or other reasons. It is
therefore recommended that customers contact Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributor for the latest product
information before purchasing a product listed herein.
The information described here may contain technical inaccuracies or typographical errors.
Renesas Technology Corp. assumes no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors.
Please also pay attention to information published by Renesas Technology Corp. by various means, including the Renesas Technology Corp. Semiconductor
home page (http://www.renesas.com).
4. When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to
evaluate all information as a total system before making a final decision on the applicability of the information and products. Renesas Technology Corp. assumes
no responsibility for any damage, liability or other loss resulting from the information contained herein.
5. Renesas Technology Corp. semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life
is potentially at stake. Please contact Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributor when considering the use of a
product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater
use.
6. The prior written approval of Renesas Technology Corp. is necessary to reprint or reproduce in whole or in part these materials.
7. If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the Japanese government and
cannot be imported into a country other than the approved destination.
Any diversion or reexport contrary to the export control laws and regulations of Japan and/or the country of destination is prohibited.
8. Please contact Renesas Technology Corp. for further details on these materials or the products contained therein.
http://www.renesas.com
RENESAS SALES OFFICES
Renesas Technology America, Inc.
450 Holger Way, San Jose, CA 95134-1368, U.S.A
Tel: <1> (408) 382-7500 Fax: <1> (408) 382-7501
Renesas Technology Europe Limited.
Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, United Kingdom
Tel: <44> (1628) 585 100, Fax: <44> (1628) 585 900
Renesas Technology Europe GmbH
Dornacher Str. 3, D-85622 Feldkirchen, Germany
Tel: <49> (89) 380 70 0, Fax: <49> (89) 929 30 11
Renesas Technology Hong Kong Ltd.
7/F., North Tower, World Finance Centre, Harbour City, Canton Road, Hong Kong
Tel: <852> 2265-6688, Fax: <852> 2375-6836
Renesas Technology Taiwan Co., Ltd.
FL 10, #99, Fu-Hsing N. Rd., Taipei, Taiwan
Tel: <886> (2) 2715-2888, Fax: <886> (2) 2713-2999
Renesas Technology (Shanghai) Co., Ltd.
26/F., Ruijin Building, No.205 Maoming Road (S), Shanghai 200020, China
Tel: <86> (21) 6472-1001, Fax: <86> (21) 6415-2952
Renesas Technology Singapore Pte. Ltd.
1, Harbour Front Avenue, #06-10, Keppel Bay Tower, Singapore 098632
Tel: <65> 6213-0200, Fax: <65> 6278-8001
© 2004. Renesas Technology Corp., All rights reserved. Printed in Japan.
Colophon .1.0