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/
E2E0032-38-95
¡ Semiconductor
¡ Semiconductor
MSM64172
This version:
MSM64172
Sep. 1998
Previous version: Mar. 1996
4-Bit Microcontroller with Built-in Serial Port and LCD Driver
GENERAL DESCRIPTION
The MSM64172 is a low-power 4-bit microcontroller that incorporates Oki's original CPU core
nX-4/20. The MSM64172 has a minimum instruction execution time of 5
ms
(@ 600 kHz and 3.0
V). The device includes an internal 2016-byte program memory, 128-nibble data memory, two
4-bit input-output ports, 4-bit input port, 8-bit synchronous serial port, LCD driver for up to 92
segments, and buzzer output port. Applications include low-power products with LCD
functions.
FEATURES
• Operating range
Operating frequencies
1.5 V spec.
3.0 V spec. low-speed clock
3.0 V spec. high-speed clock
Operating voltage
Operating temperature
• Memory space
Internal program memory
Internal data memory
• Minimum instruction execution time
• Serial port
• LCD driver
(1) At 1/4 duty and 1/3 bias
(2) At 1/3 duty and 1/3 bias
(3) At 1/2 duty and 1/2 bias
• Buzzer driver
• Watchdog timer
• Clock
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
32.768 kHz (crystal oscillation)
32.768 kHz (crystal oscillation)
600 kHz maximum
(RC oscillation/ceramic resonator oscillation)
0.9 to 1.8 V (1.5 V spec.)
1.8 to 3.6 V (3.0 V spec.)
–10 to +65°C
2016 bytes
128 nibbles
5
ms
@ 600 kHz (3.0 V spec. only)
91.6
ms
@ 32.768 kHz
Clock synchro, 8-bit data transfer
27 outputs (duty ratio switchable by software)
92 segments (max.)
72 segments (max.)
50 segments (max.)
1 output; ON/OFF controllable in four modes
32.768 kHz crystal oscillator
RC oscillator/ceramic oscillator (600 kHz max.)
for high-speed clock (only for 3.0 V spec.)
32.768 kHz
Switchable to high-speed clock by software
(only for 3.0 V spec.)
32.768 kHz
1.5 V/3.0 V (selectable by mask option), low
power consumption
CPU clock
:
Time base clock
• Power supply voltage
:
:
1/29
¡ Semiconductor
• I/O port
Input-output port
Input port
MSM64172
:
:
2 ports
¥
4 bits
1 port
¥
4 bits
(16 out of the 27 LCD driver outputs can be
used as output-only ports by a mask option.)
2 sources
5 sources
: (Product name : MSM64172-¥¥¥GS-K)
: (Product name : MSM64172-¥¥¥GS-2K)
: (Product name : MSM64172-¥¥¥)
¥¥¥
indicates a code number.
• Interrupt sources
External interrupt
:
Internal interrupt
:
• Package options:
56-pin plastic QFP (QFP56-P-910-0.65-K)
56-pin plastic QFP (QFP56-P-910-0.65-2K)
Chip
2/29
BLOCK DIAGRAM
¡ Semiconductor
BIAS
TR2
TR0
(4)
TR1
PCM PCL
PCH
A11 to A8
A7 to A0
ROM
2016B
V
SS1
V
SS2
V
SS3
C1
C2
S0
S1
OSC2
OSC1
XT
XT
RESET
TST1
TST2
V
SSL
BSR
HALT
MIEF
2CLK
RSTG
TST
VR
C
PORT ADDRESS
ALU
LCD
B
A
H
L
X
Y
RAM
128N
S22
COM3/S23
COM2/S24
COM1
COM0
V
SS
TIMING
CONTROLLER
TBC
3
INT
WDT
INT
(4)
(4)
DB7 to DB0
(8)
P1
P2
INT
INT
P1.0
P1.1
P2.3
V
SS
P0
P0.0
P0.1
P0.2
P0.3
SP
ROMR
SIOP
IR
DECODER
(8)
INT
IR
PORT ADDRESS
DB7 to DB0
V
SS
INTC
BD
V
DD
MSM64172
3/29
is the CPU core (nX–4/20).
BD
¡ Semiconductor
MSM64172
PIN CONFIGURATION (TOP VIEW)
S11/P5.3
S12/P6.0
S13/P6.1
S14/P6.2
S15/P6.3
S16
S17
(V
DD
)
S18
S19
S20
S21
S22
COM3/S23
56
55
54
53
52
51
50
49
48
47
46
45
44
43
S10/P5.2
S9/P5.1
S8/P5.0
S7/P4.3
S6/P4.2
S5/P4.1
S4/P4.0
S3/P3.3
S2/P3.2
S1/P3.1
S0/P3.0
P1.0
P1.1
P1.2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
42
41
40
39
38
37
36
35
34
33
32
31
30
29
COM2/S24
COM1
COM0
C2
C1
V
SS3
V
SS2
V
SS1
V
SSL
OSC1
OSC2
XT
XT
RESET
Note: Pin 49 is internally connected to V
DD
, and V
DD
should be supplied from pin 21.
P1.3
P2.0
P2.1
P2.2
P2.3
V
SS
V
DD
P0.0
P0.1
P0.2
P0.3
BD
TST1
TST2
15
16
17
18
19
20
21
22
23
24
25
26
27
28
56-Pin Plastic QFP
4/29