4-Bit Microcontroller with Built-in Level Detector, Melody Circuit, and Comparator,
Operating at 0.9 V (Min.)
GENERAL DESCRIPTION
The ML63512A/63514A is a CMOS 4-bit microcontroller with built-in level detector and
operates at 0.9 V (min.).
The ML63512A/63514A 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 ML63512A differ from those of
the ML63514A.
48-pin TQFP and 64-pin TQFP packages are available for the ML63512A and ML63514A.
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.)
• Program memory space
ML63512A: 4K words
ML63514A: 8K words
Basic instruction length is 16 bits/1 word
• Data memory space
ML63512A: 128 nibbles
ML63514A: 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
¡ SemiconductorML63512A/63514A
• Timers and counter
8-bit timer ¥ 2
Selectable as auto-reload mode/capture mode/clock frequency measurement mode
An asterisk (*) indicates the port secondary function. The power to the circuits corresponding
to the signal names inside is supplied from V
nX-4/250
L
TIMING
CONTROL
CBR
EBR
H
YX
RA
A
(power supply for interface).
DDI
PC
ROM
ML63512A: 4KW
ML63514A: 8KW
RESETB
TST1B
TST2B
XT0
XT1
OSC0
OSC1
TBCCLK*
HSCLK*
LDIN0*
LDIN1*
CMPIN*
CMPREF*
V
DDH
V
DD
CB1
CB2
SP
RSP
STACK
CAL: 16-level
REG: 16-level
Detector
RST
TST
OSC
Level
CMP
BACK-
UP
INT
1
ALU
INSTRUCTION
DECODER
INT
4
C G
MIE
IR
RAM
ML63512A: 128N
ML63514A: 256N
INT
TBC
Z
BUS
CONTROL
INT
2
TIMER
8bit ¥ 2
INT
2
SIO
INT
1
MELODY
DATA BUS
I/O
PORT
INT
4
TM0CAP/TM1CAP*
TM0OVF/TM1OVF*
T0CK*
T1CK*
RXC*
TXC*
RXD*
TXD*
MD
P0.0-P0.3
P1.0-P1.3
P2.0-P2.3
P3.0-P3.3
P4.0-P4.3
P5.0-P5.3
=
P6.0-P6.3
=
P9.0-P9.3
PA.0-PA.3
=
V
DDL
=
Port 6 (P6.0 to P6.3), Port 9 (P9.0 to P9.3) and Port A (PA.0 to PA.3) are only provided for the 64-
VR
INPUT
PORT
OUTPUT
PORT
P7.0-P7.3
P8.0-P8.3
V
DDI
V
SS
pin packages.
4/29
Page 5
¡ SemiconductorML63512A/63514A
PIN CONFIGURATION (TOP VIEW)
P0.0/INT0
P0.1/INT1
P0.2/INT2
P0.3/INT3
P1.0/TM0CAP/TM0OVF
P1.1/TM1CAP/TM1OVF
P1.2/T0CK
P1.3/T1CK
P2.0/TBCCLK
P2.1/HSCLK
P2.2
P2.3
37
38
39
40
41
42
43
44
45
46
47
48
P3.0/RXD
P3.1/TXC
P3.2/RXC
P3.3/TXD
P4.0
P4.1
P4.2
P4.3
P5.0
P5.1
P5.2
P5.3
10
11
12
1
2
3
4
5
6
7
8
9
24
23
22
21
20
19
18
17
16
15
14
13
SS
DD
V
DDH
V
V
P7.0/CMPIN
P7.2/LDIN0
P7.1/CMPREF
P8.1
P8.0
P7.3/LDIN1
P8.2
P8.3
DDI
V
36
35
34
33
32
31
30
29
28
27
26
25
MD
RESETB
OSC1
OSC0
V
SS
TST2B
TST1B
XT1
XT0
V
DDL
CB2
CB1
48-Pin Plastic TQFP
5/29
Page 6
¡ SemiconductorML63512A/63514A
PIN CONFIGURATION (TOP VIEW) (continued)
P0.0/INT0
P0.1/INT1
P0.2/INT2
P0.3/INT3
P1.0/TM0CAP/TM0OVF
P1.1/TM1CAP/TM1OVF
P1.2/T0CK
P1.3/T1CK
P2.0/TBCCLK
P2.1/HSCLK
P2.2
P2.3
PA.0
PA.1
64
63
62
61
60
59
58
57
56
55
54
53
52
51
P9.3
50
P9.2
49
PA.2
PA.3
P3.0/RXD
P3.1/TXC
P3.2/RXC
P3.3/TXD
P4.0
P4.1
P4.2
P4.3
P5.0
P5.1
P5.2
P5.3
P6.0
P6.1
10
11
12
13
14
15
16
1
2
3
4
5
6
7
8
9
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
P9.1
P9.0
MD
RESETB
OSC1
OSC0
V
SS
TST2B
TST1B
XT1
XT0
V
DDL
CB2
CB1
(NC)
(NC)
17
P6.2
P6.3
P7.0/CMPIN
P8.0
P7.3/LDIN1
P7.2/LDIN0
P7.1/CMPREF
P8.1
P8.2
P8.3
DDI
V
SS
DD
V
V
DDH
V
31
(NC)
30
29
28
27
26
25
24
23
22
21
20
19
18
64-Pin Plastic TQFP
Note:Pins marked as (NC) are no-connection pins which are left open.
32
(NC)
6/29
Page 7
¡ SemiconductorML63512A/63514A
PIN DESCRIPTIONS
The basic functions of each pin of the ML63512A/63514A 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
Pin
Power
V
V
V
V
DD
SS
DDI
DDL
TB
23—
22, 32—
21—
27—
TP
29
28, 42
27
37
Supply
V
DDH
24—
CB125—
CB226—
XT028I
XT129O
30
35
36
38
39
Oscillation
OSC033I
OSC134O
TST1B30I
43
44
40
Test
TST2B31I
ResetRESETB35I
41
45
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
, CL1) between
L0
If RC oscillation is selected, connect external oscillation resistor
) between OSC0 and OSC1.
(R
CRH
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.
4-bit input-output ports.
In input mode, pull-up resistor input or high-impedance
input is selectable for each bit.
In output mode, N-channel open drain output or CMOS
output is selectable for each bit.
4-bit input-output port.
In input mode, pull-up resistor input or high-impedance
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.
4-bit input port.
Pull-up resistor input or high-impedance input is selectable
for each bit.
4-bit output port.
N-channel open drain output.
4-bit input-output ports.
In input mode, pull-up resistor input or high-impedance
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.
9/29
Page 10
¡ SemiconductorML63512A/63514A
Table 2 shows the secondary functions of each pin of the ML63512A/63514A.
P7.1/CMPREF1420IComparator reference voltage input pin.
P7.2/LDIN01521ILevel detector analog input pin.
P7.3/LDIN11622ILevel detector analog input pin.
Pin
TBTP
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.
Sync serial port clock input-output pin.
Transmit sync clock input-output pin when a serial port is used
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
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.
10/29
Page 11
¡ SemiconductorML63512A/63514A
ABSOLUTE MAXIMUM RATINGS
(V
= 0 V)
SS
ParameterSymbolConditionRatingUnit
Power Supply Voltage 1V
V
OUT1
OUT2
OUT3
T
DD
DDI
DDH
DDL
IN1
IN2
STG
D
DDI
DDI
DDH
–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
V
DD
DD
DD
DD
DD
DD
DD
DD
DD
DD
DD
DD
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
¡ SemiconductorML63512A/63514A
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
¡ SemiconductorML63512A/63514A
(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.