English
Language : 

M30222 Datasheet, PDF (7/237 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
dUevnedloSeprpmeenctifications in this manual are tentative and subject to change
MITSUBISHI MICROCOMPUTERS
M30222 Group
Rev. G
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Pin Description
Table 1.3. Pin Description for M30222 group
Pin name
Vcc, Vss
VDC
CNVss
RESET
Xin, Xout
Signal name
Power supply
Voltage Down
Converter
CNVss
Reset input
Main Clock
P84/P85
Xcout/Xcin
AVcc
AVss
Vref
P30 to P37
P40 to P47
P60 to P67
I/O Port
Subclock
Analog power
supply + reference
Analog power
supply + reference
Reference voltage
input
I/O Port P3
RTP0_0 to RTP3_1
SEG24 to SEG31
I/O Port P4
SEG32 to SEG39
RTP4_0 to RTP7_1
I/O Port P6
KI0 to KI7
UART0, UART1
I/O Port P7
UART2
P70 to P77
Timer A/B
INT4
Three-phase
I/O Port P8
P80 to P82, P86
Timer A
INT5
Three-phase
P83
NMI
I/O type
Input
Input
Function
Supply 2.7 to 5.5V to the Vcc pin and 0V to Vss
Connects capacitor from VDC to Vss; or if not using VDC, connect 3.3V to VDC pin.
Input
Input/Output
Input/Output
Input/Output
This pin is used to enable flash programming. Connect the pull-down resistor from
CNVss to Vss. Connect CNVss to enable flash programming.
An “L” on this input resets the microcomputer.
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.
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.
Input
This pin is a power supply input for the A-D converter. Connect this pin to Vcc.
Input
This pin is a power supply input for A-D converter. Connect this pin to Vss.
Input
This pin is a reference voltage input for the A-D converter.
Input/Output
Output
Output
Input/Output
Output
Output
Input/Output
Input
Input/Output
Input/Output
Input/Output
Input/Output
Input
Output
Input/Output
Input/Output
Input
Output
Input
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.
Pins in this port also function as SEG output for LCD and output for Real-time port.
This is an 8-bit I/O port equivalent to P3.
Pins in Port 4 also function as SEG outputs for LCD.
Pins in Port 4 also function as Real-time port.
This is an 8-bit I/O port equivalent to P3.
Pins in Port 6 also function as key-input interrupts.
Pins in Port 6 also function as transmit, receive, clock, and CTS/RTS pins for UART0,
UART1.
This is an 8-bit I/O port equivalent to P3.
Some pins in Port 7 serve as transmit, receive, clock, and CTS/RTS for UART2.
UART2 provides I2C serial communications.
Some pins in Port 7 serve as input/output for Timer A and Timer B.
Pins P76 and P77 function as inputs for INT4.
Some pins in Port 7 function as three-phase outputs for V, V, W, and W.
P80 to P82, P86 are I/O ports equivalent to P3.
Some pins in Port 8 serve as input/output for Timer A and Timer B.
Pins P80 and P81 function as inputs for INT5.
Pins P80 and P81 function as inputs three-phase outputs for U and U.
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.
1-8