background image
¡ Semiconductor
MSM63184B
1/29
GENERAL DESCRIPTION
The MSM63184B is a CMOS 4-bit microcontroller with built-in 640-dot matrix LCD drivers and
operates at 0.9 V (min.). The MSM63184B is suitable for applications such as games, toys,
watches, etc. which are provided with an LCD display.
The MSM63184B is an M6318x series mask ROM-version product of OLMS-63K family, which
employs Oki's original CPU core nX-4/250.
The MSM63P180 is the one-time-programmable ROM version of MSM63188, having one-time
PROM (OTP) as internal program memory.
The MSM63P180 is used to evaluate the software development.
FEATURES
• Rich instruction set
439 instructions
Transfer, rotate, increment/decrement, arithmetic operations, comparison, logic operations,
mask operations, bit operations, ROM table reference, external memory transfer, stack
operations, flag operations, branch, conditional branch, call/return, control.
• Rich 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
: 32.768 kHz crystal oscillator
High-speed clock
: 2 MHz (Max.) RC or ceramic oscillator select
• Program memory space
8K words
Basic instruction length is 16 bits/1 word
• Data memory space
640 nibbles
• External data memory space
64 Kbytes (expandable by using an I/O port)
¡ Semiconductor
MSM63184B
4-Bit Microcontroller with Built-in 640-Dot Matrix LCD Drivers, Operating at 0.9 V (Min.)
E2E0042-18-95
This version: Sep. 1998
background image
¡ Semiconductor
MSM63184B
2/29
• Stack level
Call stack level
: 8 levels
Register stack level
: 16 levels
• I/O ports
Input ports: Selectable as input with pull-up resistance/input with pull-down resistance/
high-impedance input
Output ports: Selectable as P-channel open drain output/N-channel open drain output/
CMOS output/high-impedance output
Input-output ports: Selectable as input with pull-up resistance/input with pull-down
resistance/high-impedance input
Selectable as P-channel open drain output/N-channel open drain
output/CMOS output/high-impedance output
Can be interfaced with external peripherals that use a different power supply than this device
uses.
Number of ports:
Input port
: 2 ports ¥ 4 bits
Output port
: 4 ports ¥ 4 bits
Input-output port
: 5 ports ¥ 4 bits
• Buzzer function
Buzzer output
: 0.946 to 5.461 kHz (adjustable in 15 steps)
Buzzer output modes
: Intermittent sound 1, 2; simple sound; continu-
ous sound
• LCD driver
Number of segments
: 640 Max. (40 SEG ¥ 16 COM)
1/1 to 1/16 duty
1/4 or 1/5 bias (regulator built-in)
Selectable as all-on mode/all-off mode/power down mode/normal display mode
Adjustable contrast
• Reset function
Reset through RESET pin
Power-on reset
Reset by low-speed oscillation halt
• Battery check
Low-voltage supply check
Criterion voltage
: Can be selected as 1.05
±
0.10 V, 1.30
±
0.15 V,
2.20
±
0.20 V or 2.80
±
0.30 V
• Power supply backup
Backup circuit (voltage multiplier) enables operation at 0.9 V minimum
background image
¡ Semiconductor
MSM63184B
3/29
• Timers and counter
Watchdog timer ¥ 1
Overflows in 2 sec.
100 Hz timer ¥ 1
Measurable in steps of 1/100 sec.
15-bit time base counter ¥ 1
1, 2, 4, 8, 16, 32, 64, and 128 Hz signals can be read
• Shift register
Shift clock
: 1x or 1/2x system clock; external clock
Data length
: 8 bits
• Interrupt sources
External interrupt
: 3
Internal interrupt
: 7 (watchdog timer interrupt is a nonmask-
able interrupt)
• Operating voltage
When backup used
: 0.9 to 2.7 V
(Low-speed clock operating)
1.2 to 2.7 V
(Operating frequency: 300 to 500 kHz)
1.5 to 2.7 V
(Operating frequency: 200 kHz to 1 MHz)
When backup not used
: 1.8 to 5.5 V
(Operating frequency: 300 to 500 kHz)
2.2 to 5.5 V
(Operating frequency: 300 kHz to 1 MHz)
2.7 to 5.5 V
(Operating frequency: 200 kHz to 2 MHz)
• Package:
128-pin plastic QFP (QFP128-P-1420-0.50-K)
: (Product name: MSM63184B-xxxGS-K)
Chip
: (Product name: MSM63184B-xxx)
xxx indicates a code number.
background image
¡ Semiconductor
MSM63184B
4/29
BLOCK DIAGRAM
An asterisk (*) indicates the port secondary function. indicates that the power is supplied
to the circuits corresponding to the signal names inside from V
DDI
(power supply for
interface).
ROM
8KW
EXTMEM
BUS
CON-
TROL
MIE
XT0
XT1
OSC0
OSC1
TBCCLK*
HSCLK*
OSC
CBR
EBR
L
C
G
Z
ALU
RA
A
IR
INSTRUCTION
DECODER
RAM
640N
D0-7*
A0-15*
RD*
WR*
nX-4/250
RESET
RST
V
DDI
PC
H
Y
X
TIMING
CON-
TROL
SP
RSP
STACK
CAL: 8-level
REG: 16-level
SIN*
SOUT*
SCLK*
SFT
1
INT
I/O
PORT
P8.0-P8.3
P9.0-P9.3
PA.0-PA.3
PD.0-PD.3
PE.0-PE.3
2
INT
V
DDH
V
DD
CB1
CB2
P4.0-P4.3
P5.0-P5.3
P6.0-P6.3
P7.0-P7.3
OUTPUT
PORT
DATA BUS
TBC
4
INT
BLD
INT
100HzTC
1
BACKUP
V
SS
BUZZER
BD
BDB
INPUT
PORT
P0.0-P0.3
P1.0-P1.3
LCD
&
DSPR
COM1-16
SEG0-39
LCLK*
FRAME*
TST1
TST
TST2
INT
WDT
1
V
DD1
V
DD2
V
DD3
V
DD4
V
DD5
C1
C2
V
DDL
BIAS
INT184
1
INT
background image
¡ Semiconductor
MSM63184B
5/29
PIN CONFIGURATION (TOP VIEW)
128-Pin Plastic QFP
Note: Pins marked as (NC) are no-connection pins which are left open.
1
103
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
102
101
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
(NC)
P6.0
P6.1
P6.2
P6.3
P1.0
P1.1
P1.2
P1.3
PA.0
PA.1
PA.2
PA.3
P9.0
P9.1
P9.2
P9.3
P8.0
P8.1
P8.2
P8.3
PE.0
PE.1
PE.2
PE.3
PD.0
PD.1
PD.2
PD.3
P0.0
P0.1
P0.2
P0.3
P4.0
P4.1
P4.2
P4.3
P5.0
SEG37
SEG36
SEG35
SEG34
SEG33
SEG32
SEG31
SEG30
SEG29
SEG28
SEG27
SEG26
SEG25
SEG24
SEG23
SEG22
SEG21
SEG20
SEG19
SEG18
SEG17
SEG16
SEG15
SEG14
SEG13
SEG12
SEG11
SEG10
SEG9
SEG8
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
SEG1
SEG0
(NC)
SEG38
SEG39
COM16
COM15
COM14
COM13
COM12
COM11
COM10
COM9
COM8
COM7
COM6
COM5
COM4
COM3
COM2
COM1 V
DDI
BDB
BD
P7.0
P7.1
P7.2
P7.3
64
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
(NC)
(NC)
V
SS
V
DD1
V
DD2
V
DD3
V
DD4
V
DD5
C1
C2
V
DDH
CB1
CB2
(NC)
V
DD
V
DDL
OSC1
OSC0
RESET
XT1
XT0
TST2
TST1
P5.3
P5.2
P5.1
background image
¡ Semiconductor
MSM63184B
6/29
PAD CONFIGURATION
Pad Layout
Chip Size
: 5.35 mm ¥ 4.66 mm
Chip Thickness
: 350 mm (typ.)
Coordinate Origin
: Chip center
Pad Hole Size
: 100 mm ¥ 100 mm
Pad Size
: 110 mm ¥ 110 mm
Minimum Pad Pitch
: 140 mm
Note: The chip substrate voltage is V
SS
.
Y
X
97 P6.0
96 P6.1
95 P6.2
94 P6.3
93 P1.0
92 P1.1
91 P1.2
90 P1.3
89 PA.0
88 PA.1
87 PA.2
86 PA.3
85 P9.0
84 P9.1
83 P9.2
82 P9.3
81 P8.0
80 P8.1
79 P8.2
78 P8.3
77 PE.0
76 PE.1
75 PE.2
74 PE.3
73 PD.0
72 PD.1
71 PD.2
70 PD.3
69 P0.0
68 P0.1
67 P0.2
66 P0.3
65 P4.0
64 P4.1
63 P4.2
62 P4.3
61 P5.0
60 P5.1
59 P5.2
58 P5.3
57 TST1
56 TST2
55 XT0
54 XT1
53 RESET
52 OSC0
51 OSC1
50 V
DDL
49 V
DD
48 CB2
47 CB1
46 V
DDH
45 C2
44 C1
43 V
DD5
42 V
DD4
41 V
DD3
40 V
DD2
39 V
DD1
38 V
SS
SEG36 1
SEG35 2
SEG34 3
SEG33 4
SEG32 5
SEG31 6
SEG30 7
SEG29 8
SEG28 9
SEG27 10
SEG26 11
SEG25 12
SEG24 13
SEG23 14
SEG22 15
SEG21 16
SEG20 17
SEG19 18
SEG18 19
SEG17 20
SEG16 21
SEG15 22
SEG14 23
SEG13 24
SEG12 25
SEG11 26
SEG10 27
SEG9 28
SEG8 29
SEG7 30
SEG6 31
SEG5 32
SEG4 33
SEG3 34
SEG2 35
SEG1 36
SEG0 37
P7.3 98
P7.2 99
P7.1 100
P7.0 101
BD 102
BDB 103
V
DDI
104
COM1 105
COM2 106
COM3 107
COM4 108
COM5 109
COM6 110
COM7 111
COM8 112
COM9 113
COM10 114
COM11 115
COM12 116
COM13 117
COM14 118
COM15 119
COM16 120
SEG39 121
SEG38 122
SEG37 123
background image
¡ Semiconductor
MSM63184B
7/29
Pad Coordinates
Pad No.
Pad
Name
X (µm) Y (µm)
1
SEG36
–2520
–2135
2
–2380
3
–2240
4
–2100
5
–1960
6
–1820
7
–1680
8
–1540
9
–1400
10
–1260
11
–1120
12
–980
13
–840
14
–700
15
–560
16
–420
17
–280
18
–140
19
0
20
140
21
280
22
420
23
SEG14
560
24
SEG13
700
25
SEG12
840
26
SEG11
980
27
SEG10
1120
28
SEG9
1260
29
SEG8
1400
30
SEG7
1540
31
SEG6
1680
32
SEG5
1820
33
SEG4
1960
34
SEG3
2100
35
SEG2
2240
36
SEG1
2380
Pad No.
Pad
Name
X (µm) Y (µm)
V
DD4
2530
–1065
V
DD5
–915
C1
–765
C2
–615
V
DDH
–465
42
CB1
–315
43
CB2
–165
44
V
DD
–15
45
V
DDL
135
46
OSC1
285
47
OSC0
435
48
RESET
585
49
XT1
735
50
XT0
885
51
TST2
1030
52
TST1
1170
53
P5.3
1328
54
P5.2
1468
55
P5.1
1608
56
P5.0
2520
57
P4.3
2380
58
P4.2
2240
59
P4.1
2100
60
P4.0
1960
61
P0.3
1820
62
P0.2
1680
63
P0.1
1540
64
P0.0
1400
65
PD.3
1260
66
PD.2
1120
67
PD.1
980
68
PD.0
840
69
PE.3
700
70
PE.2
560
71
PE.1
420
72
PE.0
280
Pad No.
Pad
Name
X (µm) Y (µm)
P9.2
–560
2135
P9.1
–700
P9.0
–840
PA.3
PA.2
PA.0
P1.3
P1.2
P1.1
P1.0
83
P6.3
84
P6.2
85
P6.1
86
P6.0
87
P7.3
1607
88
P7.2
1467
89
P7.1
1327
90
P7.0
1187
91
BD
1029
92
BDB
889
93
V
DDI
749
94
COM1
609
95
COM2
469
96
COM3
329
97
COM4
189
98
COM5
49
99
COM6
–91
100
COM7
–231
101
COM8
–371
102
COM9
–511
103
COM10
–651
104
COM11
–791
105
–931
106
COM12
–1071
107
COM13
–1211
PA.1
–2530
–2520
–2380
–2240
–2100
–1960
–1820
–1680
–1540
–1400
–1260
–1120
–980
COM14
–1351
37
SEG0
2520
38
V
SS
2530
39
V
DD1
2530
40
V
DD2
2530
41
V
DD3
2530
73
P8.3
140
74
P8.2
0
75
P8.1
–140
76
P8.0
–280
77
P9.3
–420
2135
COM15
COM16
–1491
–1631
SEG39
SEG38
–1771
108
SEG37
–1970
78
79
80
81
82
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
–2135
2530
2135
–2135
2530
2135
–2135
2530
2135
–2135
2530
2135
–2135
2530
2135
–2135
2530
2135
–2135
2530
2135
–2135
2530
2135
–2135
2530
2135
–2135
2530
2135
–2135
2530
2135
–2135
2530
2135
–2135
2530
2135
–2135
2530
–2135
2530
–2135
2530
–2135
2530
–2135
2530
–2135
–2135
–2135
–2135
–2135
–2135
–2135
–2135
–2135
–2135
–2135
–2135
–2135
–2135
–2135
–2135
–2135
–2135
–1665
–1515
–1365
–1215
SEG35
SEG34
SEG33
SEG32
SEG31
SEG30
SEG29
SEG28
SEG27
SEG26
SEG25
SEG24
SEG23
SEG22
SEG21
SEG20
SEG19
SEG18
SEG17
SEG16
SEG15
2135
2135
2135
2135
2135
2135
2135
2135
2135
2135
2135
2135
2135
2135
2135
2135
2135
2135
2135
2135
2135
2135
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
–2530
background image
¡ Semiconductor
MSM63184B
8/29
PIN DESCRIPTIONS
The basic functions of each pin of the MSM63184B 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 input-
output pin.
Table 1 Pin Descriptions (Basic Functions)
Function Symbol
Pin
Type
V
DD
52
V
SS
40
V
DD1
41
V
DD2
42
V
DD3
43
V
DD4
44
Power
Supply
V
DD5
45
C1
46