deveopmen
Description
Rev.B2 for proof reading
Mitsubishi Microcomputers
M32C/83 group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
14
Table 1.1.9. Pin description (1/4)
Function
I/O port
I/O port
External interrupt input
port
I/O port
I/O port
Description
An 8-bit CMOS I/O port.
It has an input/output port direction register that allows the
user to set each pin for input or output individually.
The user can specify in units of four bits via software whether
or not they are tied to a pull-up resistor.
When set as a separate bus, these pins input and output 8
low-order data bits.
P0
0
to P0
7
are analog input ports for the A-D converter.
This is an 8-bit I/O port equivalent to P0.
P1
5
to P1
7
function as external interrupt pins.
When set as a separate bus, these pins input and output 8
high-order data bits.
This is an 8-bit I/O port equivalent to P0.
These pins output 8 low-order address bits.
If a multiplexed bus is set, these pins input and output data and
output 8 low-order address bits separated in time by
multiplexing.
This is an 8-bit I/O port equivalent to P0.
These pins output 8 middle-order address bits.
If the external bus is set as a 16-bit wide multiplexed bus,
these pins output 8 middle-order address bits, and input and
output 8 middle-order data separated in time by multiplexing.
I/O
I/O
I
I/O
I/O
I/O type
I/O
O
I/O
I/O
O
I/O
P0
0
to P0
7
D
0
to D
7
P1
0
to P1
7
INT
3
to INT
5
D
8
to D
15
P2
0
to P2
7
A
0
to A
7
A
0
/D
0
to
A
7
/D
7
P3
0
to P3
7
A
8
to A
15
A
8
/D
8
to
A
15
/D
15
Pin name
MA0 to MA7
If accessing to DRAM area, these pins output row address
and column address separated in time by multiplexing.
O
P0
P1
P2
P3
Port
Data bus
Data bus
Address bus
Address bus/data bus
Address bus
Address bus/data bus
Address bus
I/O port
This is an 8-bit I/O port equivalent to P0.
I/O
O
O
P4
0
to P4
7
A
16
to A
22
A
23
CS
0
to CS
3
Chip select
MA8 to MA12
O
P4
Address bus
Address bus
P4
0
to P4
7
are chip select output pins to specify access area.
These pins output 8 high-order address bits.
Highest address bit (A
23
) outputs inversely.
If accessing to DRAM area, these pins output row address and
column address separated in time by multiplexing.
I
AN0
0
to AN0
7
Analog input port
P2
0
to P2
7
are analog input ports for the A-D converter.
I
AN2
0
to AN2
7
Analog input port
V
CC
V
SS
CNV
SS
X
IN
X
OUT
BYTE
AV
CC
AV
SS
V
REF
4.2 to 5.5 V or 3.0V to 3.6V.
0 V.
Connect it to V
SS
: Single-chip or memory expansion mode
Connect it to V
CC
: Microprocessor mode
A
“
L
”
on this input resets the microcomputer.
These pins are provided for the main clock generating circuit.
Connect a ceramic resonator or crystal between the X
IN
and
the X
OUT
pins. To use an externally derived clock, input it to
the X
IN
pin and leave the X
OUT
pin open.
Selects the width of the data bus for external memory.
Connect it to V
SS
: A 16-bit width
Connect it to V
CC
: An 8-bit width
Connect this pin to V
CC
.
Connect this pin to V
SS
.
This pin is a reference voltage input for the A-D converter.
I
I
I
O
I
I
Power supply
input
CPU mode switch
Reset input
Clock input
Clock output
External data
bus width
select input
Analog power
supply input
Reference
voltage input
RESET
I
I
I
I