![](http://datasheet.mmic.net.cn/280000/M30623MAA-2MGP_datasheet_16083420/M30623MAA-2MGP_8.png)
Pin Description
Mitsubishi microcomputers
M16C / 62A Group (80-pin)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
8
V
CC
, V
SS
CNV
SS
AV
CC
AV
SS
V
REF
P0
0
to P0
7
P2
0
to P2
7
P3
0
to P3
7
P4
0
to P4
3
Signal name
Power supply
input
CNV
SS
Analog power
supply input
Reference
voltage input
I/O port P0
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 it to the
V
SS
pin.
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 set for input, the user can specify in units of four
bits via software whether or not they are tied to a pull-up resistor.
This is an 8-bit I/O port equivalent to P0.
This is an 8-bit I/O port equivalent to P0.
This is a 4-bit I/O port equivalent to P0.
Pin name
I
X
IN
X
OUT
Clock input
Clock output
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.
I
O
(BYTE)
External data
bus width
select input
This pin is connected to CNVss in microcomputer. Connect this pin to
V
SS
.
I
I
I/O
I/O
I/O
Analog power
supply input
I/O
I/O
Reset input
An “L” on this input resets the microcomputer.
I
RESET
I/O port P5
I/O
I/O
I/O
I/O
I/O
I
I/O port P6
I/O port P7
I/O port P8
I/O port P8
5
P5
0
to P5
7
P6
0
to P6
7
P7
0
, P7
1
,
P7
6
, P7
7
P8
0
to P8
4
,
P8
6
,P8
7
,
P8
5
This is an 8-bit I/O port equivalent to P0. In single-chip mode, P5
7
in
this port outputs a divide-by-8 or divide-by-32 clock of X
IN
or a clock of
the same frequency as X
CIN
as selected by software.
This is an 8-bit I/O port equivalent to P0. Pins in this port also function
as UART0 and UART1 I/O pins as selected by software.
This is a 4-bit I/O port equivalent to P0 (P7
0
and P7
1
are N channel
open-drain output). Pins in this port also function as timer A
0
–A
3
,
timer B5 or UART2 I/O pins as selected by software.
P8
0
to P8
4
, P8
6
, and P8
7
are I/O ports with the same functions as P0.
Using software, they can be made to function as the I/O pins for timer
A4 and the input pins for external interrupts.
P8
6
and P8
7
can be set using software to function as the I/O pins for a
sub clock generation circuit. In this case, connect a quartz oscillator
between P8
6
(X
COUT
pin) and P8
7
(X
CIN
pin).
P8
5
is an input-only port that also functions for NMI. The NMI interrupt
is generated when the input at this pin changes from “H” to “L”. The
NMI function cannot be cancelled using software. The pull-up cannot be
set for this pin.
Pin Description