This version: Jul. 2001
Previous version: Nov. 2000
ML63295A
4-Bit Microcontroller with Built-in 3072-Dot Matrix LCD Driver and Melody Circuit
GENERAL DESCRIPTION
The ML63295A is a CMOS 4-bit microcontroller that employs Oki’s original CPU core nX-4/250.
The ML63295A operates on a power supply voltage of 6 V.
With built-in 3072- dot matrix LCD drivers (96 S EG. × 32 COM.), th e ML63295A is suited for applicati ons such as
electronic dictionaries with an LCD.
FEATURES
• Extensive instruction set
439 instructions:
Transfer, rotate, increment/decrement, arithmetic operations, compare, logic operations, mask operations,
bit operations, ROM table reference, external memory transfer, stack operations, flag operations, jump,
conditional branch, call/return, control
• Wide variety of addressing modes
Indirect addressing mode for 4 types of data memory with current bank register, extra bank register,
HL register and XY register
Data memory bank internal direct addressing mode
• Processing speed
2 clocks per machine cycle, with most instructions executed in 1 machine cycle
Minimum instruction execution time : 61 µs (@ 32.768 kHz system clock)
: 1 µs (@ 2 MHz system clock)
• Clock generation circuit
Low-speed clock : Crystal oscillation or RC oscillation selected with mask option
(30 kHz to 80 kHz)
High-speed clock: Ceramic oscillation or RC oscillation selected with software
(2 MHz max)
• Pro g r am memory s p ace
32 K words
Basic instruction length is 16 bits/1word.
• Data memory space
2048 nibbles
• External data memory space
64 Kbytes (expandable furthermore by using the I/O ports)
Selectable as input pull-up resistor/input pull-down resistor/high impedance input.
Output ports:
Selectable as P-channel open drain output/N-channel open drain output/high-impedance output/CMOS
output.
I/O ports:
Selectable as input pull-up resistor/input pull-down resistor/high impedance input.
Selectable as P-channel open drain output/N-channel open drain output/high-impedance output/
CMOS output.
Can be interfaced with external peripherals that use a different power supply than this device uses.
Number of ports:
Input port: 2 ports × 4 bits
Output port: 6 ports × 4 bits
Input-output port: 6 ports × 4 bits
• Melody output
Melody frequency: 529 Hz to 2979 Hz
Tone length: 63 varieties
Tempo: 15 varieties
Melody data: Stored in program memory
Buzzer driver signal output: 4 kHz
FEDL63295A-02
ML63295A
• LCD dri ve r
Number of segments: 3072 Max. (96 SEG. × 32 COM.)
Duty: Selectable as 1/2, 1/4, 1/6, 1/8, 1/ 1 0, 1/12, 1/14, 1/16, 1/ 18, 1/20,
The basic functions of each pin of the ML63295A are described in Table 1.
A symbol with a slash “/” denotes a pin that has a secondary function. Refer to Table 2 for secondary functions.
For type, “—” denotes a power supply pin, “I” an input pin, “O” an output pin, and “I/O” an input-output pin.
Table 1 Pin Descriptions (Basic Functions)
FunctionSymbolPin No.Pad No.TypeDescription
Power
Supply
Oscillation
V
V
V
V
V
V
V
V
V
V
DD
SS
DD1
DD2
DD4
DD5
DD6
DDX1
DD3
DDX4
164, 166199, 201—Positive power supply pin
6, 14457, 186—Negative power supply pin
145187
146188
149190
150191
151192
153193—Positive power supply for low-speed oscillation.
147189
157196
C1158197
C2159198
V
V
V
V
V
DDX2
DDX3
DDI
DDL
DDE
154194
155195
179212—
165200—
167202—
XT0174208I
XT1173207O
Power supply pins for LCD bias voltage (internally
generated):
Capacitors (1.0 µF) should be connected between
—
these pins and V
.
SS
Power supply pins for LCD bias v oltage generation:
Capacitors (1.0 µF) should be connected between
—
these pins and V
Capacitor connection pins for LCD bias voltage
—
generation:
.
SS
A capacitor (1.0 µF) should be connected between
C1 and C2, and between V
—
DDX2
and V
Positive power supply pin for external interface
(Power supply for input, output, and input-output
ports)
Positive power supply pin for internal logic
(internally generated):
A capacitor (0.1 µF) should be connected between
this pin and VSS.
Constant voltage output pin:
A capacitor (1.0 µF) should be connected between
this pin and V
.
SS
Low-speed clock oscillation pin s:
An option for using crystal oscillation or RC
oscillation is chosen by the mask option.
If the crystal oscillation is chosen, a crystal should
be connected between XT 0 and XT1, and capa citor
(C
) should be connected between XT0 and VSS.
G
If the RC oscillation is chosen, external oscillation
resistor (R
High-speed clock oscillation pins:
A ceramic resonator and capacitors (CL0, CL1) or
external oscillation resistor (R
connected to these pins.
Input pins for testing.
A pull-down resistor is int ernally co nnected to t hese
pins.
System reset input pin.
Setting this pin to “H” level puts this device into a
reset state. Then, setting this pin to “L” level starts
executing an instruction from address 0000H.
A pull-down resistor is internally connected to this
pin.