OKI MSM63188A-xxx, MSM63188A-xxxGS-BK Datasheet

E2E0056-19-62
¡ Semiconductor MSM63188A
This version: Jun. 1999
¡ Semiconductor
MSM63188A
4-Bit Microcontroller with Built-in 1024-Dot Matrix LCD Drivers and Melody Circuit, Operating at 0.9 V (Min.)
GENERAL DESCRIPTION
The MSM63188A is an enhanced version of the MSM63188 in which supply currents have been improved. The MSM63188A is a CMOS 4-bit microcontroller with built-in 1024-dot matrix LCD drivers and operates at 0.9 V (min.). The MSM63188A is suitable for applications such as games, toys, watches, etc. which are provided with an LCD display. The MSM63188A 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/A, 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 16K words Basic instruction length is 16 bits/1 word
• Data memory space 3584 nibbles
• External data memory space 64 Kbytes (expandable by using an I/O port)
1/32
¡ Semiconductor MSM63188A
• Stack level Call stack level : 16 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 : 6 ports ¥ 4 bits Input-output port : 6 ports ¥ 4 bits
• Melody output function Melody sound frequency : 529 to 2979 Hz Tone length : 63 types Tempo : 15 types Note data : Resides in the program memory Buzzer drive signal output : 4 kHz
• LCD driver
Number of segments : 1024 Max. (64 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
• Multiplier/divider circuits Multiplier : (8 bits) ¥ (8 bits) Æ Product (16 bits)
Divider : (16 bits) ÷ (8 bits) Æ Quotient (16 bits), Remainder (8 bits)
• 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
2/32
¡ Semiconductor MSM63188A
• Timers and counter 8-bit timer ¥ 4
Selectable as auto-reload mode/capture mode/clock frequency measurement mode
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
• Serial port Mode : UART mode, synchronous mode UART communication speed : 1200 bps, 2400 bps, 4800 bps, 9600 bps Clock frequency in synchronous mode : 32.768 kHz (internal clock mode), external
clock frequency
Data length : 5 to 8 bits
• Interrupt sources External interrupt : 4 Internal interrupt : 13 (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: 176-pin plastic LQFP (LQFP176-P-2424-0.50-BK) : (Product name: MSM63188A-xxxGS-BK) Chip : (Product name: MSM63188A-xxx)
xxx indicates a code number.
Differences Between the MSM63188 and the MSM63188A
The MSM63188A has the following improved characteristics.
• Supply currents (I
• The V
voltage during a halt of high-speed clock oscillation
DDL
DD1
, I
DD2
, I
) in DC characteristics
DD3
3/32
¡ Semiconductor MSM63188A
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 interface).
nX-4/250
H
RESET
TST1 TST2
TIMING CON­TROL
SP
RSP
STACK CAL : 16-level REG : 16-level
RST
TST
CBR
EBR
ALU
INSTRUCTION DECODER
4
INT
L
YX
C G
RAM
3584N
INT188
MULDIV
TBC
RA
A
Z
MIE
IR
PC
BUS CON­TROL
DATA BUS
ROM 16KW
EXTMEM
INT
4
TIMER
8bit ¥ 4
INT
2
SIO
INT
1
MELODY
INT 1
INPUT PORT
(power supply for
DDI
D0-7*
A0-15*
RD*
WR*
TM0CAP/TM1CAP* TM0OVF/TM1OVF* T02CK* T13CK*
RXC* TXC* RXD* TXD*
MD MDB
P0.0-P0.3
P1.0-P1.3
XT0
XT1 OSC0 OSC1
TBCCLK*
HSCLK*
OSC
V
CB1
CB2 V V V V V
V
DDH
V
DD1
DD2
DD3
DD4
DD5
DDL
DD
C1 C2
BACK UP
BIAS
BLD
INT
1
INT
1
100HzTC
WDT
LCLK*
FRAME*
OUTPUT
PORT
I/O PORT
INT
3
LCD
&
DSPR
P2.0-P2.3
P3.0-P3.3
P4.0-P4.3
P5.0-P5.3
P6.0-P6.3
P7.0-P7.3
P8.0-P8.3
P9.0-P9.3
PA.0-PA.3
PB.0-PB.3
PC.0-PC.3
PD.0-PD.3
COM1-16
SEG0-63
V
DDI
V
SS
4/32
¡ Semiconductor MSM63188A
PIN CONFIGURATION (TOP VIEW)
SEG61
SEG62
SEG63
(NC)
P0.0
P0.1
P0.2
P0.3
P1.0
P1.1
P1.2
P1.3
P2.0
P2.1
P2.2
P2.3
P3.0
P3.1
P3.2
P3.3
P4.0
P4.1
P4.2
P4.3
(NC)
SEG43 SEG42 SEG41 SEG40 SEG39 SEG38 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
11 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 39 40 41 42 43 44
SEG45
SEG46
SEG47
SEG48
SEG49
SEG50
SEG51
SEG52
SEG53
168
167
SEG54
166
165
(NC)
SEG44
174
173
172
171
170
176
175
474849505152535455565758596061
45
46
169
SEG55
SEG56
SEG57
164
163
162
SEG58
SEG59
SEG60
158
157
156
155
154
153
152
151
150
149
148
147
146
145
144
143
142
141
161
160
159
63646566676869707172737475767778798081828384858687
62
140
139
138
137
136
135
134
(NC)
133
132 131 130 129 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 103 102 101 100
99 98 97 96 95 94 93 92 91 90 89
88
P5.0 P5.1 P5.2 P5.3 P6.0 P6.1 P6.2 P6.3 P7.0 P7.1 P7.2 P7.3 P8.0 P8.1 P8.2 P8.3 P9.0 P9.1 P9.2 P9.3 PA.0 PA.1 PA.2 PA.3 PB.0 PB.1 PB.2 PB.3 PC.0 PC.1 PC.2 PC.3 PD.0 PD.1 PD.2 PD.3 (NC) (NC) (NC) (NC) (NC) (NC) (NC) (NC)
(NC)
COM16
COM15
COM14
COM13
COM12
COM11
COM10
COM9
COM8
COM7
COM6
COM5
COM4
COM3
COM2
SS
DD1VDD2VDD3VDD4VDD5
V
V
COM1
C1
C2
DDH
V
CB1
CB2
DD
DDL
V
V
OSC1
OSC0
XT1
XT0
RESET
TST2
176-Pin Plastic LQFP
Note: Pins marked as (NC) are no-connection pins which are left open.
(NC)
TST1
MD
(NC)
(NC)
MDB
V
DDI
(NC)
5/32
¡ Semiconductor MSM63188A
PAD CONFIGURATION
Pad Layout
PD.3 PD.2 PD.1 PD.0 PC.3 PC.2 PC.1 PC.0 PB.3 PB.2 PB.1 PB.0 PA.3 PA.2 PA.1 PA.0
P9.3 P9.2 P9.1 P9.0 P8.3 P8.2 P8.1 P8.0 P7.3 P7.2 P7.1 P7.0 P6.3 P6.2 P6.1 P6.0
P5.3 P5.2 P5.1 P5.0
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
156 157 158 159
DDI
122 MDB
121 MD
123 V
118 XT0
117 XT1
119 TST2
120 TST1
DDL
116 RESET
112 V
113 V
115 OSC0
114 OSC1
DD
110 CB1
111 CB2
DDH
108 C2
109 V
DD5
DD4
106 V
105 V
107 C1
DD3
DD2
104 V
103 V
DD1
SS
102 V
101 V
100 COM1
98 COM3
97 COM4
99 COM2
96 COM5
93 COM8
95 COM6
92 COM9
94 COM7
89 COM12
91 COM10
87 COM14
88 COM13
90 COM11
85 COM16
86 COM15
84 SEG0 83 SEG1 82 SEG2 81 SEG3 80 SEG4 79 SEG5 78 SEG6 77 SEG7 76 SEG8 75 SEG9 74 SEG10 73 SEG11 72 SEG12 71 SEG13 70 SEG14 69 SEG15 68 SEG16 67 SEG17 66 SEG18 65 SEG19 64 SEG20 63 SEG21 62 SEG22 61 SEG23 60 SEG24 59 SEG25 58 SEG26 57 SEG27 56 SEG28 55 SEG29 54 SEG30 53 SEG31 52 SEG32 51 SEG33 50 SEG34 49 SEG35 48 SEG36 47 SEG37 46 SEG38 45 SEG39 44 SEG40 43 SEG41
42 SEG42 41 SEG43
Y
P4.3 1
P4.2 2
P4.1 3
P4.0 4
P3.3 5
P3.2 6
P3.1 7
P3.0 8
P2.3 9
P2.2 10
P2.1 11
P2.0 12
P1.3 13
P1.2 14
P1.1 15
P1.0 16
P0.3 17
P0.2 18
P0.1 19
P0.0 20
SEG63 21
SEG62 22
SEG61 23
SEG60 24
SEG59 25
SEG58 26
SEG57 27
SEG56 28
SEG55 29
SEG54 30
SEG53 31
SEG52 32
SEG51 33
SEG50 34
SEG49 35
SEG48 36
SEG47 37
SEG46 38
SEG45 39
SEG44 40
X
Chip Size : 6.60 mm ¥ 6.60 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 VSS.
6/32
¡ Semiconductor MSM63188A
Pad Coordinates
Pad No.
Name
X (µm) Y (µm)
1 P4.3 –2837 –3105
Pad
2 –2697 3 –2557 4 –2417 5 –2277 6 –2137 7 –1997 8 –1857
9 –1717 10 –1577 11 –1437 12 –1297 13 –1157 14 –1017 15 –877 16 –737 17 –597 18 –457 19 –317 20 –177 21 54 22 194
P4.2 –3105 SEG41 3155 P4.1 –3105 SEG40 3155 P4.0 –3105 SEG39 3155 P3.3 –3105 SEG38 3155 P3.2 –3105 SEG37 3155 P3.1 –3105 SEG36 3155 P3.0 –3105 SEG35 3155 P2.3 –3105 SEG34 3155 P2.2 –3105 SEG33 3155 P2.1 –3105 SEG32 3155 P2.0 –3105 SEG31 3155 P1.3 –3105 SEG30 3155 P1.2 –3105 SEG29 3155 P1.1 –3105 SEG28 3155 P1.0 –3105 SEG27 3155 P0.3 –3105 SEG26 3155 P0.2 –3105 SEG25 3155 P0.1 –3105 SEG24 3155
P0.0 –3105 SEG23 3155 SEG63 SEG62
23 SEG61 334 24 SEG60 474 25 SEG59 614 26 SEG58 754 27 SEG57 894 28 SEG56 1034 29 SEG55 1174 30 SEG54 1314 31 SEG53 1454 32 SEG52 1594 33 SEG51 1734 34 SEG50 1874 35 SEG49 2014 36 SEG48 2154 37 SEG47 2294 38 SEG46 2434 39 SEG45 2574 40 SEG44 2714 41 SEG43 3155
Pad No.
42
Name
SEG42 3155 –2870
X (µm) Y (µm)
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
Pad
–3105 SEG22 3155 –3105 SEG21 3155 –3105 SEG20 3155 –3105 SEG19 3155 –3105 SEG18 3155 –3105 SEG17 3155 –3105 SEG16 3155 –3105 SEG15 3155 –3105 SEG14 3155 –3105 SEG13 3155 –3105 SEG12 3155 –3105 SEG11 3155 –3105 SEG10 3155 –3105 SEG9 3155 –3105 SEG8 3155 –3105 SEG7 3155 –3105 SEG6 3155 –3105 SEG5 3155 –3105 SEG4 3155 –3105 SEG3 3155 –3010 SEG2 3155
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
–2730 –2590 –2450 –2310 –2170 –2030 –1890 –1750 –1610 –1470 –1330 –1190 –1050
–910 –770 –630 –490 –350 –210
–70
70 210 350 490 630 770 910
1050 1190 1330 1470 1610 1750 1890 2030 2170 2310 2450 2590 2730
Pad No.
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
Pad
Name
X (µm) Y (µm)
SEG1 3155 2870
SEG0 3155 COM16 COM15 COM14 COM13 COM12 COM11 COM10
COM9 3105 COM8 3105 COM7 3105 COM6 3105 COM5 3105 COM4 3105 COM3 3105 COM2 3105 COM1 3105
V
SS
V
DD1
V
DD2
V
DD3
V
DD4
V
DD5
C1 C2
V
DDH
CB1 CB2 V
DD
V
DDL
OSC1
OSC0 RESET
XT1
XT0 TST2 TST1
MD
MDB
V
DDI
2705 2565 2425 2285 2145 2005 1865 1725 1585 1445 1305 1165 1025
885 745 605 420 270 120
–30 –179 –329 –479 –629 –779 –929
–1079 –1229 –1379 –1529 –1679 –1829 –1979 –2129 –2324 –2464 –2604 –2744 –2884
3010 3105 3105 3105 3105 3105 3105 3105
3105 3105 3105 3105 3105 3105 3105 3105 3105 3105 3105 3105 3105 3105 3105 3105 3105 3105 3105 3105 3105 3105 3105
7/32
¡ Semiconductor MSM63188A
Pad Coordinates (continued)
Pad No.
124 PD.3 –3155 2428 125 126 127 128 129 130 131 132 133 134 135
Pad
Name
PD.2 2288 PD.1 2148 PD.0 PC.3 PC.2 PC.1 PC.0 PB.3 PB.2 PB.1 PB.0
X (µm) Y (µm)
–3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155 –3155
2008 1868 1728 1588 1448 1308 1168 1028
888
Pad No.
136 137 138 139 140 141 142 143 144 145 146 147
Pad
Name
PA.3 PA.2 PA.1 PA.0
P9.3 P9.2 P9.1 P9.0 P8.3 P8.2 P8.1 P8.0
X (µm) Y (µm)
–3155 748
608 468 328 188
48
–92 –232 –372 –512 –652 –792
Pad No.
149 150 151 152 153 154 155 156 157 158 159
Pad
Name
P7.3 P7.2 P7.1 P7.0 P6.3 P6.2 P6.1 P6.0 P5.3 P5.2 P5.1 P5.0
X (µm) Y (µm)
–3155 –932148
–1072 –1212 –1352 –1492 –1632 –1772 –1912 –2172 –2312 –2452 –2592
8/32
¡ Semiconductor MSM63188A
PIN DESCRIPTIONS
The basic functions of each pin of the MSM63188A 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
73 — 62 — 63 64 65 — 66 67
V V V V V
V
V
DD
SS
DD1
DD2
DD3
DD4
DD5
C1 68
Power
Supply
C2 69
V
V
V
DDI
DDL
DDH
87
74
70
CB1 71 — CB2 72
XT0 79 I
XT1 78 O
Oscillation
OSC0 76 I
OSC1 75 O
TST1 81 I
Test
TST2 80 I
Reset RESET 77 I
Description
Positive power supply Negative power supply Power supply pins for LCD bias (internally generated). Capacitors (0.1 mF) should be connected between these pins and V
.
SS
Capacitor connection pins for LCD bias generation. A capacitor (0.1 mF) should be connected between C1 and C2. Positive power supply pin for external interface (power supply for input, output, and input-output ports) Positive power supply pin for internal logic (internally generated). A capacitor (0.1 mF) should be connected between this pin and V
SS
. Voltage multiplier pin for power supply backup (internally generated). A capacitor (1.0 mF) should be connected between this pin and VSS. 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. A 32.768 kHz crystal should be connected between XT0 and XT1,
(5 to 25 pF) should be connected between XT0 and VSS.
and C
G
High-speed clock oscillation pins. A ceramic resonator and capacitors (C oscillation resistor (R
) should be connected to these pins.
OS
, CL1) or external
L0
Input pins for testing. A pull-down resistor is internally connected to these pins. The user cannot use these pins. Reset input pin. Setting this pin to "H" level puts this device into a reset state. Then, setting this pin to "L" level starts executing an instruction from address 0000H. A pull-down resistor is internally connected to this pin.
Melody
MD 84 O
MDB 85 O
Melody output pin (non-inverted output) Melody output pin (inverted output)
9/32
¡ Semiconductor MSM63188A
Table 1 Pin Descriptions (Basic Functions) (continued)
Function Symbol
P0.0/INT5 P0.1/INT5 P0.2/INT5 P0.3/INT5 P1.0/INT5 P1.1/INT5 P1.2/INT5 P1.3/INT5
P2.0 P2.1 P2.2 P2.3 P3.0 P3.1 P3.2
Port
P3.3 P4.0/A0 P4.1/A1 P4.2/A2 P4.3/A3 P5.0/A4 P5.1/A5 P5.2/A6 P5.3/A7 P6.0/A8 P6.1/A9
P6.2/A10 P6.3/A11 P7.0/A12 P7.1/A13 P7.2/A14 P7.3/A15
Pin
154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 132 131 130 129 128 127 126 125 124 123 122 121
Type Description
4-bit input ports. Pull-up resistor input, pull-down resistor input, or
I
high-impedance input is selectable for each bit.
I
4-bit output ports. P-channel open drain output, N-channel open drain output,
O
CMOS output, or high-impedance output is selectable for each bit.
O
O
O
O
O
10/32
Loading...
+ 23 hidden pages