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
¡ 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
¡ 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
¡ 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
¡ 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
Loading...
+ 21 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.