English
Language : 

M37221M6_03 Datasheet, PDF (5/62 Pages) Renesas Technology Corp – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER
MITSUBISHI MICROCOMPUTERS
M37221M6-XXXSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
with ON-SCREEN DISPLAY CONTROLLER
PIN DESCRIPTION
Pin
VCC,
VSS.
Name
Power source
CNVSS
RESET
CNVSS
Reset input
Input/
Output
Input
XIN
XOUT
Clock input
Clock output
P00/PWM0–
P05/PWM5,
P06/INT2/
A-D4,
P07/INT1
I/O port P0
PWM output
External interrupt
input
Analog input
P10/OUT2, I/O port P1
P11/SCL1,
P12/SCL2, CRT output
P13/SDA1,
P14/SDA2, Multi-master
P15/A-D1/ I2C-BUS interface
INT3,
P16/A-D2,
P17/A-D3
Analog input
External interrupt
input
P20/SCLK,
P21/SOUT,
P22/SIN,
P23/TIM3,
P24/TIM2,
P25–P27
I/O port P2
External clock input
Serial I/O synchro-
nizing clock input/
output
Serial I/O data
input/output
P30/A-D5, I/O port P3
P31/A-D6,
P32
Analog input
P33/OSC1, Input port P3
P34/OSC2 Clock input for
CRT display
Clock output for
CRT display
Input
Output
I/O
Output
Input
Input
I/O
Output
I/O
Input
Input
I/O
Input
I/O
I/O
I/O
Input
Input
Input
Output
Functions
Apply voltage of 5 V ± 10 % (typical) to 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 µs 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–P05 are also used as PWM output pins PWM0–PWM5 respectively. The output
structure is N-channel open-drain output.
Pins P06 , P07 are also used as external interrupt input pins INT2, INT1 respectively.
P06 pin is also used as analog input pin A-D4.
Port P1 is an 8-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 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.
Pins P23, P24 are also used as external clock input pins TIM3, TIM2 respectively.
P20 pin is also used as serial I/O synchronizing clock input/output pin SCLK.
Pins P21, P22 are also used as serial I/O data input/output pins SOUT, SIN respectively.
The output structure is N-channel open-drain output.
Ports P30–P32 are a 3-bit I/O port and has basically the same functions as port P0. Either
CMOS output or N-channel open-drain output structure can be selected as the port P30
and P31. The output structure of port P32 is N-channel open-drain output.
Pins P30, P31 are also used as analog input pins A-D5, A-D6 respectively.
Ports P33, P34 are a 2-bit input port.
P33 pin is also used as CRT display clock input pin OSC1.
P34 pin is also used as CRT display clock output pin OSC2. The output structure is CMOS
output.
4