4-Bit Microcontroller with Built-in Level Detector, Melody Circuit, and Comparator,
Operating at 0.9 V (Min.)
GENERAL DESCRIPTION
The ML63512/63514 is a CMOS 4-bit microcontroller with built-in level detector and operates at
0.9 V (min.).
The ML63512/63514 is an M6351x series mask ROM-version product of OLMS-63K family,
which employs Oki's original CPU core nX-4/250.
The program memory capacity and data memory capacity of the ML63512 differ from those of
the ML63514.
48-pin TQFP and 64-pin TQFP packages are available for the ML63512 and ML63514.
FEATURES
• Extensive instruction set
407 instructions
Transfer, rotate, increment/decrement, arithmetic operations, comparison, logic operations,
mask operations, bit operations, ROM table reference, stack operations, flag operations,
jump, conditional branch, call/return, control.
• Wide variety selection of addressing modes
Indirect addressing of four data memory types, with current bank register, extra bank
register, HL register and XY register.
Data memory bank internal direct addressing mode.
• Processing speed
Two clocks per machine cycle, with most instructions executed in one machine cycle.
Minimum instruction execution time: 61 ms (@ 32.768 kHz system clock)
1 ms (@ 2 MHz system clock)
• Clock generation circuit
Low-speed clock: Crystal oscillation or RC oscillation selectable by
mask option (30 to 80 kHz)
High-speed clock: Ceramic oscillation or RC oscillation selectable by
mask option (2 MHz max.)
For RC oscillation, an external capacitor or internal
capacitor can be selected by mask option.
• Program memory space
ML63512: 4K words
ML63514: 8K words
Basic instruction length is 16 bits/1 word
• Data memory space
ML63512: 128 nibbles
ML63514: 256 nibbles
• I/O ports
Input ports: Selectable as input with pull-up resistor/high-impedance input
Output ports: N-channel open drain output (can directly drive LEDs)
Input-output ports: Selectable as input with pull-up resistor/high-impedance input
Selectable as N-channel open drain output/CMOS output
Can be interfaced with external peripherals that use a different power supply than this device
uses. (Power to the output port is supplied from V
• Melody output function
Melody sound frequency: 529 to 2979 Hz (@ 32.768 kHz)
Tone length: 63 varieties
Tempo: 15 varieties
Melody data: Stored in the program memory
Number of ports: 1 (dedicated pin)
Buzzer driver signal output: 4 kHz (@ 32.768 kHz)
• Level detector
Conversion time: Approx. 183 ms (@ 32.768 kHz)
Dedicated input pins: 2 pins (switched by software; for the secondary
functions of the input ports)
Detection level: 12 levels
• Comparator
Offset voltage: 50 mV max. (VDD = 1.5 V)
Comparison time: Approx. 183 ms (@ 32.768 kHz)
Number of channels: 1 (for the secondary functions of the input ports)
• Reset function
Reset through RESETB pin (RESETB pin can be pulled up by mask option)
• Power supply backup
Backup circuit (voltage multiplier) enables operation at 0.9 V minimum
2/29
Page 3
¡ SemiconductorML63512/63514
• Timers and counter
8-bit timer ¥ 2
Selectable as auto-reload mode/capture mode/clock frequency measurement mode
Note: Pins marked as (NC) are no-connection pins which are left open.
6/29
Page 7
¡ SemiconductorML63512/63514
PIN DESCRIPTIONS
The basic functions of each pin of the ML63512/63514 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 inputoutput pin.
For pin, "TB" denotes a 48-pin flat package (48TQFP), and "TP" a 64-pin flat package (64TQFP).
Table 1 Pin Descriptions (Basic Functions)
Function Symbol
V
DD
V
SS
V
DDI
Power
V
DDL
Pin
TB
TP
23—
29
22—
28
21—
27
27—
37
Supply
V
DDH
CB125—
CB226—
XT028I
XT129O
Oscillation
OSC033I
OSC134O
OSCM32O
Test
TST1B30I
TST2B31I
ResetRESETB35I
MelodyMD36O
24—
30
35
36
38
39
43
44
42
40
41
45
46
Type
Description
Positive power supply
Negative power supply
Positive power supply pin for external interface (PORT8 supply)
Positive power supply pin for internal logic (internally generated).
A capacitor C
(0.1 mF) should be connected between this pin and VSS.
l
Voltage multiplier pin for power supply backup (internally generated).
A capacitor C
(1.0 mF) should be connected between this pin and VSS.
h
Pins to connect a capacitor for voltage multiplier.
A capacitor (1.0 mF) should be connected between CB1 and CB2.
Low-speed clock oscillation pins.
Crystal oscillation or RC oscillation is selected by the mask option.
If crystal oscillation is selected, connect a crystal between XT0 and
XT1, and connect capacitor (C
) between XT0 and VSS.
G
If RC oscillation is selected, connect external oscillation resistor
) between XT0 and XT1.
(R
CRL
High-speed clock oscillation pins.
Ceramic oscillation or RC oscillation is selected by the mask option.
If ceramic oscillation is selected, connect a ceramic resonator
between OSC0 and OSC1, and connect capacitor (C
OSC0 and V
, OSC1 and VSS.
SS
If RC oscillation is selected, connect external oscillation resistor
) between OSC0 and OSC1.
(R
CRH
External oscillation resistor connection pin for high-speed RC
oscillation.
This pin is used when external capacitor is selected by mask option.
Input pins for testing.
A pull-up resistor is internally connected to these pins.
Reset input pin.
Setting this pin to "L" level puts this device into a reset state.
Then, setting this pin to "H" level starts executing an instruction
from address 0000H.
An internal or external pull-up resistor is selected by mask option.
Melody output pin (non-inverted output)
4-bit input-output port.
In input mode, pull-up resistor input or high-impedance
input is selectable for each bit.
I/O
In output mode, N-channel open drain output or CMOS
output is selectable for each bit.
Note that these pins are available for only a 64-pin package.
4-bit input port.
Pull-up resistor input or high-impedance input is selectable
for each bit.
I
4-bit output port.
N-channel open drain output.
O
4-bit input-output ports.
In input mode, pull-up resistor input or high-impedance
I/O
input is selectable for each bit.
In output mode, N-channel open drain output or CMOS
output is selectable for each bit.
Note that these pins are available for only a 64-pin package.
I/O
Description
9/29
Page 10
¡ SemiconductorML63512/63514
Table 2 shows the secondary functions of each pin of the ML63512/63514.
External 0 interrupt input pin.
Edge detection can be selected from one of a rising edge,
I
a falling edge, or both rising and falling edges.
External 1 interrupt input pin.
Edge detection can be selected from one of a rising edge,
I
a falling edge, or both rising and falling edges.
External 2 interrupt input pin.
Edge detection can be selected from one of a rising edge,
I
a falling edge, or both rising and falling edges.
External 3 interrupt input pin.
Edge detection can be selected from one of a rising edge,
I
a falling edge, or both rising and falling edges.
I
Timer 0 (TM0) capture trigger input pin.
I
Timer 1 (TM1) capture trigger input pin.
O
Timer 0 (TM0) overflow flag output pin.
O
Timer 1 (TM1) overflow flag output pin.
I
Timer 0 (TM0) external clock input pin.
I
Timer 1 (TM1) external clock input pin.
O
Low-speed oscillation clock output pin.
O
High-speed oscillation clock output pin.
I
Serial port receive data input pin.
Sync serial port clock input-output pin.
Transmit sync clock input-output pin when a serial port is used
I/O
synchronously.
Transmit clock output when this device is used as a master processor.
Transmit clock input when this device is used as a slave processor.
Sync serial port clock input-output pin.
Receive sync clock input-output pin when a serial port is used
I/O
synchronously.
Receive clock output when this device is used as a master processor.
Receive clock input when this device is used as a slave processor.
O
Serial port transmit data output pin.
I
Comparator analog input pin.
I
Comparator reference voltage input pin.
I
Level detector analog input pin.
I
Level detector analog input pin.
10/29
Page 11
¡ SemiconductorML63512/63514
ABSOLUTE MAXIMUM RATINGS
(V
= 0 V)
SS
ParameterSymbolConditionRatingUnit
Power Supply Voltage 1V
V
T
DD
DDI
DDH
DDL
IN1
IN2
OUT1
OUT2
OUT3
STG
D
DDI
DDI
DDH
Input, Ta = 25°CV
Output, Ta = 25°CV
Output, Ta = 25°CV
–0.3 to +5.8Ta = 25°CV
–0.3 to +5.8Power Supply Voltage 2Ta = 25°CV
–0.3 to +5.8Power Supply Voltage 3Ta = 25°C
–0.3 to +5.8Power Supply Voltage 4Ta = 25°CV
(VDD = 0.9 to 1.8 V: when backup is used, VDD = 1.8 to 3.5 V: when backup is not used;
V
= 0 V, Ta = –20 to +70°C)
SS
Input Level [V]
Min.Max.
1440/1500 ¥ V
1306/1500 ¥ V
1190/1500 ¥ V
1074/1500 ¥ V
958/1500 ¥ V
842/1500 ¥ V
726/1500 ¥ V
610/1500 ¥ V
494/1500 ¥ V
378/1500 ¥ V
262/1500 ¥ V
146/1500 ¥ V
DD
DD
DD
DD
DD
DD
DD
DD
DD
DD
DD
DD
V
SS
V
DD
1366/1500 ¥ V
1250/1500 ¥ V
1134/1500 ¥ V
1018/1500 ¥ V
902/1500 ¥ V
786/1500 ¥ V
670/1500 ¥ V
554/1500 ¥ V
438/1500 ¥ V
322/1500 ¥ V
206/1500 ¥ V
88/1500 ¥ V
DD
DD
DD
DD
DD
DD
DD
DD
DD
DD
DD
DD
Level Detector
Operation State
OFF state
ON state
bit 3
1
1
1
1
1
0
0
0
0
0
0
0
0
LDOUT
bit 2
1
0
0
0
0
1
1
1
1
0
0
0
0
bit 1
1
1
1
0
0
1
1
0
0
1
1
0
0
bit 0
1
1
0
1
0
1
0
1
0
1
0
1
0
27/29
Page 28
¡ SemiconductorML63512/63514
PACKAGE DIMENSIONS
(Unit : mm)
TQFP48-P-0707-0.50-K
Mirror finish
Package material
Lead frame material
Pin treatment
Solder plate thickness
Package weight (g)
Epoxy resin
42 alloy
Solder plating
5 mm or more
0.13 TYP.
Notes for Mounting the Surface Mount Type Package
The SOP, QFP, TSOP, TQFP, LQFP, SOJ, QFJ (PLCC), SHP, and BGA are surface mount type
packages, which are very susceptible to heat in reflow mounting and humidity absorbed in
storage. Therefore, before you perform reflow mounting, contact Oki’s responsible sales person
on the product name, package name, pin number, package code and desired mounting conditions
(reflow method, temperature and times).
28/29
Page 29
¡ SemiconductorML63512/63514
(Unit : mm)
TQFP64-P-1010-0.50-K
Mirror finish
Package material
Lead frame material
Pin treatment
Solder plate thickness
Package weight (g)
Epoxy resin
42 alloy
Solder plating
5 mm or more
0.26 TYP.
Notes for Mounting the Surface Mount Type Package
The SOP, QFP, TSOP, TQFP, LQFP, SOJ, QFJ (PLCC), SHP, and BGA are surface mount type
packages, which are very susceptible to heat in reflow mounting and humidity absorbed in
storage. Therefore, before you perform reflow mounting, contact Oki’s responsible sales person
on the product name, package name, pin number, package code and desired mounting conditions
(reflow method, temperature and times).
29/29
Page 30
E2Y0002-29-62
NOTICE
1.The information contained herein can change without notice owing to product and/or
technical improvements. 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 and performance of the product. When
planning to use the product, please 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 specified 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 drawings contained herein. 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 use in any system or application that requires special or enhanced quality and reliability
characteristics nor in any system or application where the failure of such 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, traffic and automotive equipment, safety
devices, 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.
9.MS-DOS is a registered trademark of Microsoft Corporation.
Copyright 1999 Oki Electric Industry Co., Ltd.
Printed in Japan
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.