Dear customers,
About the change in the name such as "Oki Electric Industry Co. Ltd." and
"OKI" in documents to OKI Semiconductor Co., Ltd.
The semiconductor business of Oki Electric Industry Co., Ltd. was succeeded to OKI
Semiconductor Co., Ltd. on October 1, 2008.
Therefore, please accept that although
the terms and marks of "Oki Electric Industry Co., Ltd.", “Oki Electric”, and "OKI"
remain in the documents, they all have been changed to "OKI Semiconductor Co., Ltd.".
It is a change of the company name, the company trademark, and the logo, etc. , and
NOT a content change in documents.
October 1, 2008
OKI Semiconductor Co., Ltd.
550-1 Higashiasakawa-cho, Hachioji-shi, Tokyo 193-8550, Japan
http://www.okisemi.com/en/
E2E0031-38-95
¡ Semiconductor
¡ Semiconductor
MSM64158A/64158AL
GENERAL DESCRIPTION
This version: Sep. 1998
MSM64158A/64158AL
Previous version: Mar. 1996
4-Bit Microcontroller with Built-in LCD Driver and Melody Circuit
The MSM64158A (1.5 V)/64158AL (3.0 V) is a high-performance 4-bit microcontroller that
incroporates Oki-original CPU core nX-4/20.
The MSM64158A/64158AL has an LCD driver for up to 144 segments, an event counter, and a
melody circuit. It is best suited for applications such as clocks and LCD games.
FEATURES
• Operating range
Operating voltage
Operating temperature
Operating frequency
Supply current (Typ.)
• Minimum instruction execution time
• General memory space
• Local memory space
• LCD drivers
: 1.5 V/3.0 V
: –40 to +70°C
: 32.768 kHz crystal oscillation
Approx. 32 kHz RC oscillation
: 0.9
µA
(3.0 V at HALT mode)
: 91
µs
: 2528 bytes
: 128 nibbles
: 40
Common driver
¥
4
Segment driver
¥
36
1/4 duty, 1/3 bias; 144 segments (36
¥
4)
1/3 duty, 1/3 bias; 108 segments (36
¥
3)
: 1 port
¥
4 bits (open drain output/CMOS output
selectable; pull-down resistor input/high-
impedance input selectable)
: 1 port
¥
2 bits (pull-down resistor input /high-
impedance input selectable)
1 port
¥
4 bits (pull-down resistor input/high-
impedance input selectable)
: 1
: 1
: 7 sources (external 3, time base 3, melody 1)
• I/O port
Input-output port
Input port
• Event counter
• Melody output
• Interrupts
• Package:
64-pin plastic QFP (QFP64-P-1414-0.80-BK): (Product name : MSM64158A-¥¥¥GS-BK,
MSM64158AL-¥¥¥GS-BK)
Chip
: MSM64158A-¥¥¥, MSM64158AL-¥¥¥
¥¥¥
indicates a code number.
• OTP version (for program evaluation) : MSM64P155/64P155L
(The packages, power polarity, and operating voltage of the MSM64P155/64P155L are
different from the MSM64158A/64158AL. For details, refer to the "MSM64P155 User's
Manual".)
1/25
¡ Semiconductor
MSM64158A/64158AL
BLOCK DIAGRAM
C2
C1
V
SS3
V
SS2
V
SS1
BIAS
BSR
TR2
TR0
(4)
PCM PCL
TR1
PCH
A8 to A11
A7 to A0
RAM
128N
(8)
C
ALU
PORT ADDRESS
ROM
2528B
COM1
COM2
COM3
COM4
LCD
SEG0
HALT
MIEF
B
A
(4)
(4)
H
L
X
Y
SEG35
DB7 to DB0
OSC0
OSC1
TIMING
CONTROLLER
SP
ROMR
OSC
INTC
MD0
MD0
MD0
RESET
TST1
TST2
V
SSL
RST
TBC
3
INT
IR
DECODER
IR
(8)
INT
TST
PORT ADDRESS
DB7 to DB0
VR
INT
INT
INT
V
DD
BUP
CAPR
PORT2
EVENT
PORT3
PORT6
P2.0
P2.1
P2.2
P2.3
P3.0
P3.1
is the CPU core (nX-4/20).
P6.0
P6.1
P6.2
P6.3
2/25
¡ Semiconductor
MSM64158A/64158AL
PIN CONFIGURATION (TOP VIEW)
53 SEG35
64 SEG24
63 SEG25
62 SEG26
61 SEG27
60 SEG28
59 SEG29
58 SEG30
57 SEG31
56 SEG32
55 SEG33
54 SEG34
50 TST1
49 TST2
48 P6.0
47 P6.1
46 P6.2
45 P6.3
44 V
DD
43 P2.0
42 P2.1
41 P2.2
40 P2.3
39 P3.0
38 P3.1
37 RESET
36 V
SSL
35
OSC1
34 OSC0
33 V
SS1
SEG23
SEG22
SEG21
SEG20
SEG19
SEG18
SEG17
SEG16
SEG15
1
2
3
4
5
6
7
8
9
SEG14 10
SEG13 11
SEG12 12
SEG11 13
SEG10 14
SEG9 15
SEG8 16
SEG7 17
SEG6 18
SEG5 19
SEG4 20
SEG3 21
SEG2 22
SEG1 23
SEG0 24
COM4 25
COM3 26
COM2 27
COM1 28
C2 29
C1 30
51 MD0
52
MD0
V
SS3
31
64-Pin Plastic QFP
V
SS2
32
3/25
¡ Semiconductor
MSM64158A/64158AL
PAD CONFIGURATION
Pad Layout
46
47
33
32
Y
X
64
1
14
15
Chip Size
Chip Thickness
Coordinate Origin
Pad Hole Size
Pad Size
Minimum Pad Pitch
:
:
:
:
:
:
3.63 mm
¥
3.99 mm
350
mm
(typ.)
Chip center
110
mm ¥
110
mm
120
mm ¥
120
mm
180
mm
Note: The chip substrate voltage is V
DD
.
4/25