
MITSUBISHI MICROCOMPUTERS
M37212M4-XXXSP, M37212M6-XXXSP/FP
M37212EF-XXXSP/FP, M37212EFSP/FP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
and ON-SCREEN DISPLAY CONTROLLER
5
PIN DESCRIPTION
Input
Output
I/O
Output
I/O
Output
I/O
Input
I/O
Input
Output
Apply voltage of 5 V ± 10 % to (typical) VCC, and 0 V to VSS.
This is connected to VSS.
To enter the reset state, the reset input pin must be kept at a “L” for 2
ms or more (under
normal VCC conditions).
If more time is needed for the quartz-crystal oscillator to stabilize, this “L” condition should
be maintained for the required time.
This chip has an internal clock generating circuit. To control generating frequency, an
external ceramic resonator or a quartz-crystal oscillator is connected between pins XIN and
XOUT. If an external clock is used, the clock source should be connected to the XIN pin and
the XOUT pin should be left open.
Port P0 is an 8-bit I/O port with direction register allowing each I/O bit to be individually
programmed as input or output. At reset, this port is set to input mode. The output structure
is N-channel open-drain output. The note out of this Table gives a full of port P0 function.
Pins P00–P03 are also used as PWM output pins PWM4–PWM7 respectively. The output
structure is N-channel open-drain output.
Port P10–P14 are a 5-bit I/O port and has basically the same functions as port P0. The
output structure is CMOS output.
Pins P10 is also used as CRT output pin OUT2. The output structure is CMOS output.
Pins P11–P14 are used as SCL1, SCL2, SDA1 and SDA2 respectively, when multi-master
I2C-BUS interface is used. The output structure is N-channel open-drain output.
Pins P10 are also used as analog input pin A-D8.
Port P15–P17 are a 3-bit input port and has basically the same functions as port P0.
Pins P15–P17 are also used as analog input pins A-D1 to A-D3 respectively.
P15 pin is also used as external interrupt input pin INT3.
Port P2 is an 8-bit I/O port and has basically the same functions as port P0. The output
structure is CMOS output.
Ports P30, P31 are a 2-bit I/O port and has basically the same functions as port P0. The
output structure is CMOS output.
Ports P32–P37 are a 6-bit input port and has basically the same functions as port P0.
Pins P32, P32 are also used as external clock input pins TIM2, TIM3 respectively.
Pins P34, P35 are also used as external interrupt input pins INT1, INT2 respectively.
Pins P35 is also used as analog input pin A-D4.
P36 pin is also used as CRT display clock input pin OSC1.
P37 pin is also used as CRT display clock output pin OSC2. The output structure is CMOS
output.
Pin
Name
Input/
Output
Power source
CNVSS
Reset input
Clock input
Clock output
I/O port P0
PWM output
I/O port P1
CRT output
Multi-master
I2C-BUS interface
Analog input
Input port P1
Analog input
External interrupt
input
I/O port P2
I/O port P3
Input port P3
External clock input
External interrupt
input
Analog input
Clock input for
CRT display
Clock output for
CRT display
VCC,
VSS.
CNVSS
_____
RESET
XIN
XOUT
P00/PWM4–
P03/PWM7,
P04–P07
P10/OUT2/
A-D8,
P11/SCL1,
P12/SCL2,
P13/SDA1,
P14/SDA2,
P15/INT3/
A-D1,
P16/A-D2,
P17/A-D3
P20–P27
P30, P31
P32/TIM2,
P33/TIM3,
P34/INT1,
P35/INT2/
A-D4,
P36/OSC1,
P37/OSC2