English
Language : 

M34512M2 Datasheet, PDF (4/80 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
PRELIMINARY NSocothimcaene:gpTeah.riasmisetnrioct laimfiintsalasrepescuibfijceacttioton.
MITSUBISHI MICROCOMPUTERS
4512 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
PIN DESCRIPTION
Pin
Name
VDD
Power supply
VSS
Ground
N.F
No Function
CNVSS
CNVSS
RESET
Reset input
XIN
XOUT
D0–D7
System clock input
System clock output
I/O port D
P00–P03 I/O port P0
P10–P13 I/O port P1
P20–P22 Input port P2
AIN0–AIN3 Analog input
INT0, INT1 Interrupt input
SIN
Serial data input
SOUT
Serial data output
SCK
Serial I/O clock
input/output
Input/Output
Function
—
Connected to a plus power supply.
—
Connected to a 0 V power supply.
—
This pin has no function, and connect to VSS as an unused pin.
—
Connect CNVSS to VSS and apply “L” (0V) to CNVSS certainly.
I/O
An N-channel open-drain I/O pin for a system reset. When the watchdog timer
causes the system to be reset, the RESET pin outputs “L” level.
Input I/O pins of the system clock generating circuit. XIN and XOUT can be connected to
Output ceramic resonator. A feedback resistor is built-in between them.
I/O
Each pin of port D has an independent 1-bit wide I/O function. Each pin has an out-
put latch. For input use, set the latch of the specified bit to “1.” Input is examined by
skip decision. The output structure is N-channel open-drain.
I/O
Each of ports P0 and P1 serves as a 4-bit I/O port, and it can be used as inputs
when the output latch is set to “1.” The output structure is N-channel open-drain.
Every pin of the ports has a key-on wakeup function and a pull-up function. Both
functions can be switched by software.
Input
3-bit input port. Ports P20, P21 and P22 are also used as SCK, SOUT and SIN, respec-
tively.
Input Analog input pins for A-D converter.
Input
INT0, INT1 pins accept external interrupts. They also accept the input signal to re-
turn the system from the RAM back-up state.
Input SIN pin is used to input serial data signals by software.
SIN pin is also used as port P22.
Output SOUT pin is used to output serial data signals by software.
SOUT pin is also used as port P21.
I/O
SCK pin is used to input and output synchronous clock signals for serial data transfer
by software. SCK pin is also used as port P20.
4