
Pin Description
Mitsubishi microcomputers
M30220 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
6
Pin Description
VCC, VSS
CNVSS
XCIN
XCOUT
AVCC
AVSS
VREF
P00 to P07
P10 to P17
P30 to P35
P40 to P47
Signal name
Power supply
input
CNVSS
Reset input
Clock input
Clock output
Analog power
supply input
Reference
voltage input
I/O port P0
I/O port P1
I/O port P3
I/O port P4
Supply 2.7 to 5.5 V to the VCC pin. Supply 0 V to the VSS pin.
Function
Connect it to the VSS pin via resistor.
A “L” on this input resets the microcomputer.
This pin is a power supply input for the A-D converter. Connect
it to VCC.
This pin is a power supply input for the A-D converter. Connect
it to VSS.
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. Pins in this port also use as LCD segment
output and real time port output.
This is an 8-bit I/O port equivalent to P0. Pins in this port also
function as input pins for the key input interrupt function and real
time port output.
This is a 6-bit I/O port equivalent to P0. P30 to P33 also function
as input pins for the key input interrupt function.
Pin name
I/O
Analog power
supply input
RESET
I/O port P5
I/O port P6
P50 to P57
P60 to P67
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.
P20 to P27
I/O port P2
This is an 8-bit I/O port equivalent to P0. Pins in this port also
function as input pins for the key input interrupt function and real
time port output.
I
O
I
I/O
This is a 8-bit I/O port equivalent to P0. Pins in this port also
function as timer B0 to B5 and INT3 input pins, CKOUT output
pin as selected by software.
This is a 8-bit I/O port equivalent to P0. Pins in this port also
function as timer A0 to A3 I/O pins, INT4 input pin as selected
by software.
These pins are provided for the sub clock generating circuit.
Connect a ceramic resonator or crystal between the XCIN and the
XCOUT pins. To use an externally derived clock, input it to the
XCIN pin and leave the XCOUT pin open.
XIN
XOUT
Clock input
Clock output
I
O
These pins are provided for the main clock generating circuit.
Connect a ceramic resonator or crystal between the XIN and the
XOUT pins. To use an externally derived clock, input it to the XIN
pin and leave the XOUT pin open.