
1-9
Under
dev
elopment
MITSUBISHI MICROCOMPUTERS
M30222 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Specifications in this manual are tentative and subject to change
Rev. H
Description
Pin Description
Table 1.3. Pin Description for M30222 group
Pin name
Signal name
I/O type
Function
Vcc, Vss
Power supply
Input
Supply 2.7 to 5.5V to the Vcc pin and 0V to Vss
VDC
Voltage Down
Converter
Input
Connects capacitor from VDC to Vss; or if not using VDC, connect 3.3V to VDC pin.
CNVss
This pin is used to enable flash programming. Connect the pull-down resistor from
CNVss to Vss. Connect CNVss to enable flash programming.
RESET
Reset input
Input
An “L” on this input resets the microcomputer.
Xin, Xout
Main Clock
Input/Output
These pins are provided for the main clock generating circuit. Connect a ceramic reso-
nator or crystal between the Xin and the Xout pins. To use an externally derived clock,
input it to the Xin.
P84/P85
I/O Port
Input/Output
These pins are provided for the subclock generating circuit. Connect a ceramic reso-
nator or crystal between the Xcin pin and leave the Xcout pin open. These pins also
function as CMOS I/O ports.
Xcout/Xcin
Subclock
Input/Output
AVcc
Analog power
supply + reference
Input
This pin is a power supply input for the A-D converter. Connect this pin to Vcc.
AVss
Analog power
supply + reference
Input
This pin is a power supply input for A-D converter. Connect this pin to Vss.
Vref
Reference voltage
input
Input
This pin is a reference voltage input for the A-D converter.
P30 to P37
I/O Port P3
Input/Output
This is an 8-bit CMOS I/O port. It has an input/output direction register that allows the
user to set each pin for input or output individually. When used for input, the port can
be set by software to have or not have a pull resistor in units of four bits.
RTP0_0 to RTP3_1
Output
SEG24 to SEG31
Output
Pins in this port also function as SEG output for LCD and output for Real-time port.
P40 to P47
I/O Port P4
Input/Output
This is an 8-bit I/O port equivalent to P3.
SEG32 to SEG39
Output
Pins in Port 4 also function as SEG outputs for LCD.
RTP4_0 to RTP7_1
Output
Pins in Port 4 also function as Real-time port.
P60 to P67
I/O Port P6
Input/Output
This is an 8-bit I/O port equivalent to P3.
KI0 to KI7
Input
Pins in Port 6 also function as key-input interrupts.
UART0, UART1
Input/Output
Pins in Port 6 also function as transmit, receive, clock, and CTS/RTS pins for UART0,
UART1.
P70 to P77
I/O Port P7
Input/Output
This is an 8-bit I/O port equivalent to P3.
UART2
Input/Output
Some pins in Port 7 serve as transmit, receive, clock, and CTS/RTS for UART2.
UART2 provides I2C serial communications.
Timer A/B
Input/Output
Some pins in Port 7 serve as input/output for Timer A and Timer B.
INT4
Input
Pins P76 and P77 function as inputs for INT4.
Three-phase
Output
Some pins in Port 7 function as three-phase outputs for V, V, W, and W.
P80 to P82, P86
I/O Port P8
Input/Output
P80 to P82, P86 are I/O ports equivalent to P3.
Timer A
Input/Output
Some pins in Port 8 serve as input/output for Timer A and Timer B.
INT5
Input
Pins P80 and P81 function as inputs for INT5.
Three-phase
Output
Pins P80 and P81 function as inputs three-phase outputs for U and U.
P83
NMI
Input
P83 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 can-
celled using software. The pull-up resistor cannot be set for this pin.