Mitsubishi microcomputers
M16C / 62 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Pin Description
8
V
CC
, V
SS
CNV
SS
X
IN
X
OUT
BYTE
AV
CC
AV
SS
V
REF
P0
0
to P0
7
D
0
to D
7
P1
0
to P1
7
D
8
to D
15
P2
0
to P2
7
A
0
to A
7
A
0
/D
0
to
A
7
/D
7
A
0
, A
1
/D
0
to A
7
/D
6
P3
0
to P3
7
A
8
to A
15
A
8
/D
7
,
A
9
to A
15
P4
0
to P4
7
Signal name
Power supply
input
CNV
SS
Reset input
Clock input
Clock output
External data
bus width
select input
Analog power
supply input
Reference
voltage input
I/O port P0
I/O port P1
I/O port P2
I/O port P3
I/O port P4
Supply 2.7 to 5.5 V to the V
CC
pin. Supply 0 V to the V
SS
pin.
Function
This pin switches between processor modes. Connect this pin to the
V
SS
pin when after a reset you want to start operation in single-chip
mode (memory expansion mode) or the V
CC
pin when starting
operation in 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.
This pin selects the width of an external data bus. A 16-bit width is
selected when this input is “L”; an 8-bit width is selected when this
input is “H”. This input must be fixed to either “H” or “L”. Connect this
pin to the V
SS
pin when not using external data bus.
This pin is a power supply input for the A-D converter. Connect this
pin to V
CC
.
This pin is a power supply input for the A-D converter. Connect this
pin to V
SS
.
This pin is a reference voltage input for the A-D converter.
This is 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. When used for input in single-chip mode, the port can be
set to have or not have a pull-up resistor in units of four bits by
software. In memory expansion and microprocessor modes, selection
of the internal pull-resistor is not available.
When set as a separate bus, these pins input and output data (D
0
–D
7
).
This is an 8-bit I/O port equivalent to P0. Pins in this port also function
as external interrupt pins as selected by software.
When set as a separate bus, these pins input and output data
(D
8
–D
15
).
This is an 8-bit I/O port equivalent to P0.
These pins output 8 low-order address bits (A
0
–A
7
).
If the external bus is set as an 8-bit wide multiplexed bus, these pins
input and output data (D
0
–D
7
) and output 8 low-order address bits
(A
0
–A
7
) separated in time by multiplexing.
If the external bus is set as a 16-bit wide multiplexed bus, these pins
input and output data (D
0
–D
6
) and output address (A
1
–A
7
) separated
in time by multiplexing. They also output address (A
0
).
This is an 8-bit I/O port equivalent to P0.
These pins output 8 middle-order address bits (A
8
–A
15
).
If the external bus is set as a 16-bit wide multiplexed bus, these pins
input and output data (D
7
) and output address (A
8
) separated in time
by multiplexing. They also output address (A
9
–A
15
).
This is an 8-bit I/O port equivalent to P0.
Pin name
Input
Input
Input
Output
Input
Input
Input/output
Input/output
Input/output
Input/output
I/O type
Analog power
supply input
Input/output
Output
Input/output
Output
Input/output
Input/output
Output
Input/output
Output
Input/output
Output
Output
CS
0
to CS
3
,
A
16
to A
19
These pins output CS
0
–CS
3
signals and A
16
–A
19
. CS
0
–CS
3
are chip
select signals used to specify an access space. A
16
–A
19
are 4 high-
order address bits.
RESET
Pin Description