8
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
with ON-SCREEN DISPLAY CONTROLLER
M37212M4/M8–XXXSP, M37212M6–XXXSP/FP
M37212EFSP/FP
MITSUBISHI MICROCOMPUTERS
Rev. 1.0
Pin
Name
Input/
Output
Functions
V
CC
,
V
SS.
CNV
SS
RESET
Power source
Apply voltage of 5 V
±
10 % to (typical) V
CC
, and 0 V to V
SS
.
CNV
SS
Reset input
This is connected to V
SS
.
To enter the reset state, the reset input pin must be kept at a “L” for 2
μ
s or more (under
normal V
CC
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 X
IN
and
X
OUT
. If an external clock is used, the clock source should be connected to the X
IN
pin and
the X
OUT
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. (See note)
Pins P0
0
–P0
3
are also used as PWM output pins PWM4–PWM7 respectively. The output
structure is N-channel open-drain output.
Port P1
0
–P1
4
are a 5-bit I/O port and has basically the same functions as port P0. The
output structure is CMOS output.
Pins P1
0
is also used as OSD output pin OUT2. The output structure is CMOS output.
Pins P1
1
–P1
4
are used as SCL1, SCL2, SDA1 and SDA2 respectively, when multi-master
I
2
C-BUS interface is used. The output structure is N-channel open-drain output.
P1
0
pin is also used as analog input pin A-D8.
Port P1
5
–P1
7
are a 3-bit input port and has basically the same functions as port P0.
Pins P1
5
–P1
7
are also used as analog input pins A-D1 to A-D3 respectively.
P1
5
pin is also used as INT external interrupt input pin INT3.
Input
X
IN
Clock input
Input
X
OUT
Clock output
Output
P0
0
/PWM4–
I/O port P0
P0
3
/PWM7,
P0
4
–P0
7
I/O
PWM output
Output
P1
0
/OUT2/
A-D8,
P1
1
/SCL1,
P1
2
/SCL2,
P1
3
/SDA1, I
2
C-BUS interface
P1
4
/SDA2, Analog input
P1
5
/INT3/
Input port P1
A-D1,
Analog input
P1
6
/A-D2,
External interrupt
P1
7
/A-D3
input
P2
0
–P2
7
I/O port P2
I/O port P1
I/O
OSD output
Multi-master
Output
I/O
Input
Input
Input
Input
I/O
Port P2 is an 8-bit I/O port and has basically the same functions as port P0. The output
structure is CMOS output. (See note)
Ports P3
0
, P3
1
are a 2-bit I/O port and has basically the same functions as port P0. The
output structure is CMOS output.
Ports P3
2
–P3
7
are a 6-bit input port and has basically the same functions as port P0.
Pins P3
2
, P3
3
are also used as external clock input pins TIM2, TIM3 respectively.
Pins P3
4
, P3
5
are also used as INT external interrupt input pins INT1, INT2 respectively.
P3
0
, P3
1
I/O port P3
I/O
P3
2
/TIM2,
P3
3
/TIM3,
P3
4
/INT1,
P3
5
/INT2/
A-D4,
P3
6
/OSC1,
Clock input for
P3
7
/OSC2
Clock output for
OSD display
Input port P3
External clock input
External interrupt
input
Input
Input
Input
Analog input
Input
Input
P3
5
pin is also used as analog input pin A-D4.
P3
6
pin is also used as OSD display clock input pin OSC1.
OSD display
Output
P3
7
pin is also used as OSD display clock output pin OSC2. The output structure is CMOS
output.
7. PIN DESCRIPTION
Table 7.1 Pin Description