4-Bit Microcontroller with Built-in 1024-Dot Matrix LCD Driver and Melody Circuit.
GENERAL DESCRIPTION
The ML63193 is CMOS 4-bit microcontroller with built-in 1024-dot matrix LCD drivers (64 SEG. × 16 COM.),
and operates at 0.9 V (Min). The ML 63193 is s u i tabl e for appli cati ons as g ames, t oys , w atc hes, rem ote controller,
etc. Which are provided with a LCD display.
The ML63193 is an M6318x series mask ROM-version product of OLMS-63K family, which employs Oki’s
original CPU core nX-4/250.
FEATURES
• Extensive instruction set
408 instructions:
Transfer, rotate, increment/decrement, arithmetic operations, compare, logic operations, mask operations,
bit operations, ROM table reference, 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 space
64 K words
Basic instruction length is 16 bits/1word.
Selectable as input pull-up resistor/input pull-down resistor/high impedance input.
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.V
power supply pin for ports.
Number of ports:
Input port: 1 port × 4 bits
Input-output port: 5 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
FEDL63193-04
ML63193
is the
DDI
• LCD dri ve r
Number of segments: 1024 Max. (64 SEG. × 16 COM.)
Duty: Selectable as 1/1 to 1/16 duty
Bias: Selectable as 1/4 or 1/5 bias (regulator built-in)
Frame frequency: ex. 64 Hz (at 1/16 duty), 128 Hz (at 1/8 duty), 256 Hz (at 1/4 duty),
• System reset function
System reset through RESET pin (selectable as built-in 2 kHz RESET-Sampling circuit by mask option)
System reset by power-on detection (When not using 2 kHz RESET-Sampli ng circuit)
System reset by low-speed oscillation halt
• Battery check
Low-voltage suppl y check
The value of the judgment voltage is selected by the software (by setting the LD1 and LD0 bits of BLDCON).
Selectable as auto-reload mode/capture mode/
clock frequency measurement mod e
Watchdog timer: 1
100 Hz timer: 1
Measurable in steps of 1/100 sec.
15-bit time-base counter: 1
1, 2, 4, 8, 16, 32, 64, and 128 Hz signals can be read
• Serial port
Mode: Selectable as UART mode, synchronous mode
UART communication speed: 1200 bps, 2400 bps, 4800 bps, 9600 bps
Clock frequency in synchronous mode: Internal clock mode (32.768 kHz), External clock frequency
Data length: 5 to 8 bits
• Shift register
Shift clock: 1× or 1/2 × system clock, timer 1 overflow, external clock
Data length: 8 bits
FEDL63193-04
ML63193
• Interrupt factors
External interrupt: 4
Internal interrupt: 14 (watchdog timer interrupt is a nonmaskable interrupt)
• Operating temperature: –20 to +70 °C
• Power supply backup
Backup circuit (voltage multiplier) enables operation at 0.9 V minimum.
• Power supply voltage
When backup used: 0.9 V to 2.7 V (Operating frequency: 30 k to 80 kHz)
1.2 V to 2.7 V (Operating frequency: 300 k to 500 kHz)
1.5 V to 2.7 V (Operating frequency: 200 k to 1 MHz)
When backup not used: 1.8 V to 5.5 V (Operating frequency: 200 k to 2 MHz)
In the ML63193 uses the mask option to specify the following functions:
•
Low-Speeed clock oscillation circuit
Specify the crystal oscillation circuit or the RC oscillation circuit for the lo w-speed clock oscillation
circuit.
•
Reset signal sampling
Specify whether or not the reset signal will be sampled at 2 kHz.
When specifying “will carry out 2 kHz sampling,” hold the RESET pin at a “H” level for 1 ms or more.
To use the mask option, assign mask option data in the application program in accordan ce with the formats below.
The mask option area is an application program execution disabled area.
Mask Option Data Assignment Format
FunctionMask option areabitdataOption to be selected
Low-speed clock oscillation circ ui t
(crystal oscillation circui t/RC osci llat ion circuit)
Reset signal sampling
(will/will not carry out 2 kHz sampling)
bit 0
0FFE0H
bit 1
0Crystal oscillation circuit
1RC oscillation circuit
0Will carry out 2 kHz sampling
1Will not carry out 2 kHz sampling
4/37
Page 5
FEDL63193-04
Semiconductor
1
BLOCK DIAGRAM
Asterisks (*) indicate the secondary function of each port. Signal names enclosed by chain lines ( )
Indicate interface signals of the V
Chip size: 5.72 mm × 5.72 mm
Chip thickness: 350 µm (280 µm: available as required)
Coordinate origin: center of chip
Pad hole size: 100 µm × 100 µm
Pad size: 110 µm × 110 µm
Minimum pad pitch : 140 µm
The basic functions of each pin of the ML63193 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
DD
V
SS
V
DD1
V
DD2
V
DD3
V
DD4
V
DD5
C14571
C24672
V
DDI
V
DDL
V
DDH
CB14874
CB24975
XT05682I
XT15581O
OSC05379I
OSC15278O
5076—Positive power supply pin
39,9165,112—Negative power supply pin
4066
4167
4268
4369
Power supply pins for LCD bias (internally
generated):
Capacitors (0.1 µF) should be connected between
—
these pins and V
.
SS
4470
Capacitor connection pi ns f or LC D b ias gen eration:
A capacitor (0.1 µF) should be connected between
—
C1 and C2.
Positive power supply pin for external interface
6187—
(Power supply for input, and input-output
ports)
Positive power supply pin for internal logic
5177—
(internally generated):
A capacitor (0.1 µF) should be connected between
this pin and V
.
SS
Voltage multiplier pin for power supply backup
4773—
(internally generated):
A capacitor (1.0 µF) should be connected between
this pin and V
.
SS
Pins to connect a capacitor for voltage multiplier.
—
A capacitor (1.0 µF) should be connected between
CB1 and CB2.
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
) should be connected between XT0
OSL
and XT1.
High-speed clock oscillation pins:
A ceramic resonator and capacitors (C
external oscillation resistor (R
connected to these pins.
Input pins for testing.
A pull-down resistor is internally connected to these pins.
The user cannot use these 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.
An option for using RESET samplin g c irc uit or not using is
chosen by the mask option.
When using RESET sampling circuit, the system reset
mode is entered by holding the RESET pin at a “ H” level
for 1ms or more.
A pull-down resistor is internally connected to this pin.
Sync serial port clock input-output pin
Transmit clock output w hen t his devi ce is u sed as a
PC.1/TXC6793I/O
Serial Port
PC.2/RXC6894I/O
PC.3/TXD6995OSerial port transmit data output pin
PE.0/SIN6288IShift register receive data input pin
PE.1/SOUT6389OShift register transmit data output pin
Shift
Register
PE.2/SCLK6490I/O
master processor.
Transmit clock input when this device is used as a
slave processor.
Sync serial port clock input-output pin
Receive clock output when this device is used as a
master processor.
Receive clock input when this device is used as a
slave processor.
Shift register clock input-output pin.
Clock output when this device is used as a master
processor.
Clock input when this device is used as a slave
processor.
FEDL63193-04
ML63193
17/37
Page 18
Semiconductor
1
ABSOLUTE MAXIMUM RATINGS
ParameterSymbolConditionRatingUnit
Power supply voltage 1V
Power supply voltage 2V
Power supply voltage 3V
Power supply voltage 4V
Power supply voltage 5V
Power supply voltage 6V
Power supply voltage 7V
Power supply voltage 8V
Input voltage 1V
Input voltage 2V
Output voltage 1V
Output voltage 2V
Output voltage 3V
Output voltage 4V
Output voltage 5V
Output voltage 6V
Output voltage 7V
Output voltage 8V
Storage temperatureT
DD1
DD2
DD3
DD4
DD5
DD
DDI
DDH
IN1
IN2
OUT1
OUT2
OUT3
OUT4
OUT5
OUT6
OUT7
OUT8
STG
Ta = 25°C–0.3 to +1.6V
Ta = 25°C–0.3 to +2.9V
Ta = 25°C–0.3 to +4.2V
Ta = 25°C–0.3 to +5.5V
Ta = 25°C–0.3 to +6.8V
Ta = 25°C–0.3 to +6.0V
Ta = 25°C–0.3 to +6.0V
Ta = 25°C–0.3 to +6.0V
VDD input, Ta = 25°C–0.3 to V
V
input, Ta = 25°C–0.3 to V
DDI
V
output, Ta = 25°C–0.3 to V
DD1
V
output, Ta = 25°C–0.3 to V
DD2
V
output, Ta = 25°C–0.3 to V
DD3
V
output, Ta = 25°C–0.3 to V
DD4
V
output, Ta = 25°C–0.3 to V
DD5
VDD output, Ta = 25°C–0.3 to V
V
output, Ta = 25°C–0.3 to V
DDI
V
output, Ta = 25°C–0.3 to V
DDH
—
–55 to +150°C
+ 0.3V
DD
+ 0.3V
DDI
+ 0.3V
DD1
+ 0.3V
DD2
+ 0.3V
DD3
+ 0.3V
DD4
+ 0.3V
DD5
+ 0.3V
DD
+ 0.3V
DDI
+ 0.3V
DDH
FEDL63193-04
ML63193
(VSS = 0 V)
18/37
Page 19
Semiconductor
1
RECOMMENDED OPERATING CONDITIONS
• When backup is used
ParameterSymbolConditionRatingUnit
Operating TemperatureT
Operating Voltage
Crystal Oscillation
Frequency
Low-speed RC Oscillation
Frequency
Ceramic Oscillation
Frequency
High-speed RC Oscillation
Frequency
V
V
f
f
ROSL
f
f
ROSH
XT
CM
op
DD
DDI
CG = 5 to 25 pF32.768 to 76.8kHz
R
R
R
VDD = 0.9 to 1.2 VNot applied
VDD = 1.2 to 2.7 V300 k to 500 k
VDD = 1.5 to 2.7 V200 k to 1 M
VDD = 0.9 to 1.2 VNot applied
VDD = 1.2 to 2.7 V
—
—
—
= 1.0 MΩ36 ± 30%
OSL
= 1.1 MΩ33 ± 30%
OSL
= 1.2 MΩ30 ± 30%
OSL
R
= 400 kΩ200 k ± 30%
OSH
R
= 100 kΩ700 k ± 30%
OSH
R
= 75 kΩ1 M ± 30%
OSH
–20 to +70°C
0.9 to 2.7V
0.9 to 5.5V
FEDL63193-04
ML63193
(VSS = 0 V)
kHz
Hz
Hz
• When backup is not used
ParameterSymbolConditionRatingUnit
Operating TemperatureT
Operating Voltage
Crystal Oscillation
Frequency
Low-speed RC Oscillation
Frequency
Ceramic Oscillation
Frequency
High-speed RC Oscillation
Frequency
V
V
f
f
ROSL
f
f
ROSH
XT
CM
op
DD
DDI
—
—
—
–20 to +70°C
1.8 to 5.5V
1.8 to 5.5V
CG = 5 to 25 pF32.768 to 76.8kHz
R
= 1.0 MΩ36 ± 30%
OSL
R
= 1.1 MΩ33 ± 30%
OSL
R
= 1.2 MΩ30 ± 30%
OSL
VDD = 1.8 to 5.5 V200 k to 2 MHz
R
= 100 kΩ700 k ± 30%
OSH
R
= 75 kΩ1 M ± 30%VDD = 1.8 to 3.6 V
OSH
R
= 51 kΩ1.35 M ± 30%
OSH
VDD = 1.8 to 3.5 V, R
= 30 kΩ2 M ± 30%
OSH
(VSS = 0 V)
kHz
Hz
19/37
Page 20
Semiconductor
[
]
[
]
1
• Typical characteristics of low-speed RC oscillation
When backup is used/backup is not used (V
1000
kHz
ROSL
f
100
DD
= V
= 1.5 V/VDD = V
DDI
= 3.0 V)
DDI
Reference data
FEDL63193-04
ML63193
10
100100010000
• Typical characteristics of high-speed RC oscillation
= V
When backup is used (V
10000
kHz
ROSH
f
1000
DD
100
101001000
= 1.5 V)
DDI
R
[kΩ]
OSL
Reference data
R
[kΩ]
OSH
20/37
Page 21
Semiconductor
[
]
1
• Typical characteristics of high-speed RC oscillation
= V
When backup is not used (V
10000
kHz
ROSH
f
1000
DD
= 3.0 V)
DDI
FEDL63193-04
ML63193
Reference data
100
101001000
R
[kΩ]
OSH
21/37
Page 22
Semiconductor
1
ELECTRICAL CHARACTERISTICS
DC Characteristics (1)
FEDL63193-04
ML63193
(VDD = V
= 0.9 to 5.5 V, VSS = 0 V, Ta = –20 to +70°C unless otherwise specified)
DDI
ParameterSymbolConditionMin.Typ.Max.Unit
V
VoltageV
DD2
V
Voltage
DD2
Temperature
∆V
DD2
DD2
1/5 bias, 1/4 bias
(Ta = 25°C)
——–4.0—
1.71.81.9V
Deviation
V
VoltageV
DD1
V
VoltageV
DD3
V
VoltageV
DD4
V
VoltageV
DD5
DD1
DD3
DD4
DD5
1/5 bias, 1/4 biasTyp.–0.11/2 × V
1/5 biasTyp.–0.3 2/3 × V
1/4 bias
(connect V
DD3
and V
DD2
Typ.–0.2V
)
1/5 biasTyp.–0.42 × V
1/4 biasTyp.–0.3 3/2 × V
1/5 biasTyp.–0.5 5/2 × V
1/4 biasTyp.–0.42 × V
DD2
DD2
DD2
DD2
DD2
DD2
DD2
Typ.+0.1
Typ.+0.3
Typ.+0.2
Typ.+0.4
Typ.+0.3
Typ.+0.5
Typ.+0.4
High-speed clock oscillation
V
Voltage
DDH
(Backup used)
V
VoltageV
DDL
stopped
= 1.5 V
V
V
DDH
High-speed clock oscillation
DD
(Ceramic oscillation, 1 MH z)
V
= 1.5 V
DD
High-speed clock oscillation
stopped
High-speed clock oscillation
DDL
(Ceramic oscillation, 1 MH z)
2.8—3.0
2.0—2.7
1.01.52.0
1.2—5.5
VDD = 1.2 to 5.5 V
Meas-
uring
Circuit
mV/
°C
1
V
Note:1. “V
register (DSPCNT)
” changes in the r ange from 1.8 to 2.4 V ac cording to the valve of Display Contrast
DD2
22/37
Page 23
Semiconductor
1
DC Characteristics (2)
FEDL63193-04
ML63193
(VDD = V
= 0.9 to 5.5 V, VSS = 0 V, Ta = –20 to +70°C unless otherwise specified)
Notes for Mounting the Surface Mount Type Package
The surface mount type packages are very susceptible to heat in reflow mounting and humidity
absorbed in storage.
Therefore, before you perfor m reflow m ounting, c ontac t Ok i’s res ponsibl e s ales per son f or the pro duct
name, package name, pin n umber, package code and desired m ounting conditions (reflow method,
temperature and times).
36/37
Page 37
FEDL63193-04
Semiconductor
1
ML63193
NOTICE
1.The information contained herein can change without notice owing to product and/or technical improv ements.
Before using the product, please make sure that the information being referred to is up-to-date.
2.The outline of action and examples for application circuits described herein have been chosen as an
explanation for the standard action an d performan ce of the product. Wh en planning to use t he product, pleas e
ensure that the external conditions are reflected in the actual circuit, assembly, and program designs.
3.When designing your product, please use our product below the specified maximum ratings and within the
specified operating ranges including, but not limited to, operating voltage, power dissipation, and operating
temperature.
4.Oki assumes no responsibility or liability whatsoever for any failure or unusual or unexpected operation
resulting from misuse, neglect, improper installation, repair, alteration or accident, improper handling, or
unusual physical or electrical stress including, but not limited to, exposure to parameters beyond the s pecified
maximum ratings or operation outside the specified operating range.
5.Neither indemnity against nor license of a third party’s industrial and intellectual property right, etc. is
granted by us in connection with the use of the product and/ or the information and draw ings contained h erein.
No responsibility is assumed by us for any infringement of a third party’s right which may result from the use
thereof.
6.The products listed in this document are intended for use in general electronics equipment for commercial
applications (e.g., office automation, communication equipment, measurement equipment, consumer
electronics, etc.). These products are not authorized for u s e in any system or application that requ ires s pecial
or enhanced quality and reliability characteristics nor in any system or applicatio n where the failure of s uch
system or application may result in the loss or damage of property, or death or injury to humans.
Such applications include, but are not limited to, traf fic and automotive equ ipment, safety devi ces, aerospace
equipment, nuclear power control, medical equipment, and life-support systems.
7.Certain products in this document may need government approval before they can be exported to particular
countries. The purchaser assumes the responsibility of determining the legality of export of these products
and will take appropriate and necessary steps at their own expense for these.
8.No part of the contents contained herein may be reprinted or reproduced without our prior permission.
Copyright 2001 Oki Electric Industry Co., Ltd.
37/37
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.