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)
• 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:
• 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
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
Page 4
¡ SemiconductorMSM63188A
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).
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
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 inputoutput pin.
Table 1 Pin Descriptions (Basic Functions)
Function SymbolPinType
73—
62—
63
64
65—
66
67
V
V
V
V
V
V
V
DD
SS
DD1
DD2
DD3
DD4
DD5
C168—
Power
Supply
C269—
V
V
V
DDI
DDL
DDH
87—
74—
70—
CB171—
CB272—
XT079I
XT178O
Oscillation
OSC076I
OSC175O
TST181I
Test
TST280I
ResetRESET77I
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.
or high-impedance input is selectable for each bit.
In output mode, P-channel open drain output, N-channel open
drain output, CMOS output, or high-impedance output is
selectable for each bit.
External 0 interrupt input pins.
The change of input signal level causes an interrupt to occur.
I
The Port B Interrupt Enable register (PBIE) enables or disables
an interrupt for each bit.
External 1 interrupt input pins.
The change of input signal level causes an interrupt to occur.
I
The Port C Interrupt Enable register (PCIE) enables or disables
an interrupt for each bit.
External 4 interrupt input pins.
I
The change of input signal level causes an interrupt to occur.
External 5 interrupt input pins.
The change of input signal level causes an interrupt to occur.
The Port 0 Interrupt Enable register (P0IE) and Port 1 Interrupt
Enable register (P1IE) enable or disable an interrupt for each bit.
Sync serial port clock input-output pin.
Transmit clock output when this device is used as a master processor.
I/O
Transmit clock input when this device is used as a slave processor.
Sync serial port clock input-output pin.
I/O
Receive clock output when this device is used as a master processor.
Receive clock input when this device is used as a slave processor.
Serial port transmit data output pin.
ORead signal output pin for external memory (negative logic)
OWrite signal output pin for external memory (negative logic)
Description
16/32
Page 17
¡ SemiconductorMSM63188A
ABSOLUTE MAXIMUM RATINGS
= 0 V)
(V
SS
ParameterSymbolConditionRatingUnit
Power Supply Voltage 6
DD1
V
DD2
V
DD3
V
DD4
V
DD5
V
V
DDH
DDL
OUT1
OUT2
OUT3
OUT4
OUT5
OUT6
OUT7
OUT8
T
STG
DD
DDI
IN1
IN2
DDI
DD1
DD2
DD3
DD4
DD5
DDI
DDH
–0.3 to +1.6Power Supply Voltage 1Ta = 25°CV
–0.3 to +2.9Power Supply Voltage 2Ta = 25°C
–0.3 to +4.2Power Supply Voltage 3Ta = 25°C
–0.3 to +5.5Power Supply Voltage 4Ta = 25°C
–0.3 to +6.8Power Supply Voltage 5Ta = 25°C
V
V
V
V
V
–0.3 to +6.0Ta = 25°CV
–0.3 to +6.0Power Supply Voltage 7Ta = 25°CV
–0.3 to +6.0Power Supply Voltage 8Ta = 25°C
–0.3 to +6.0Power Supply Voltage 9Ta = 25°CV
–0.3 to V
Input, Ta = 25°CV
Output, Ta = 25°CV
Output, Ta = 25°CV
Output, Ta = 25°CV
Output, Ta = 25°CV
Output, Ta = 25°CV
–0.3 to V
–0.3 to V
–0.3 to V
–0.3 to V
–0.3 to V
–0.3 to V
–0.3 to V
Output, Ta = 25°CV
Output, Ta = 25°CV
–0.3 to V
–0.3 to V
DD
DDI
DD1
DD2
DD3
DD4
DD5
DD
DDI
DDH
+ 0.3Input Voltage 1VDD Input, Ta = 25°CV
+ 0.3Input Voltage 2V
+ 0.3Output Voltage 1V
+ 0.3Output Voltage 2V
+ 0.3Output Voltage 3V
+ 0.3Output Voltage 4V
+ 0.3Output Voltage 5V
+ 0.3Output Voltage 6VDD Output, Ta = 25°CV
+ 0.3Output Voltage 7V
+ 0.3Output Voltage 8V
–55 to +150Storage Temperature—
V
V
V
V
V
V
V
V
V
V
V
V
V
°C
17/32
Page 18
¡ SemiconductorMSM63188A
RECOMMENDED OPERATING CONDITIONS
• When backup is used
(V
= 0 V)
SS
ParameterSymbolConditionRangeUnit
Operating TemperatureT
Operating Voltage
Crystal Oscillation Frequencyf
Ceramic Oscillation Frequency
External RC Oscillator Resistance
• When backup is not used
op
V
DD
V
DDI
XT
—
—0.9 to 2.7V
—
—
VDD = 1.2 to 2.7 V
f
CM
VDD = 1.2 to 2.7 V
R
OS
–20 to +70°C
0.9 to 5.5V
30 to 35kHz
300k to 500k
Hz
200k to 1MVDD = 1.5 to 2.7 V
100 to 300
kW
50 to 300VDD = 1.5 to 2.7 V
ParameterSymbolConditionRangeUnit
Operating TemperatureT
Operating Voltage
Crystal Oscillation Frequencyf
Ceramic Oscillation Frequency
External RC Oscillator Resistance
(V
= 0 V)
SS
op
V
DD
V
DDI
XT
—
—1.8 to 5.5V
—
—
–20 to +70°C
1.8 to 5.5V
30 to 35kHz
300k to 500kVDD = 1.8 to 5.5 V
f
CM
300k to 1MHzVDD = 2.2 to 5.5 V
200k to 2MVDD = 2.7 to 5.5 V
100 to 300VDD = 1.8 to 5.5 V
R
OS
50 to 300kWVDD = 2.2 to 5.5 V
30 to 300VDD = 2.7 to 5.5 V
•Ports are powered from external memory
power source.
•C
is an IC power supply bypass capacitor.
v
•Values of C
C
, and CG, are for reference only.
h
, Cb, Cc, Cd, Ce, Cl, C
a
b12
, C12,
Crystal
32.768 kHz
COM1-16
XT0
C
G
5 to
25 pF
C
1.5 V
v
C
C
l
C
e
C
d
C
c
C
b
C
a
C
h
0.1 mF
b12
1.0 mF
1.0 mF
0.1 mF
0.1 mF
0.1 mF
0.1 mF
0.1 mF
0.1 mF
XT1
V
DDH
V
DD
CB1
CB2
V
DDL
V
DD5
V
DD4
V
DD3
V
DD2
V
DD1
MSM63188A
C1
C
12
Push SW
0.1 mF
C2
SEG0-63
OSC0
OSC1
P3.3
P3.2
P3.1
P3.0
P2.3
P2.2
P2.1
P2.0
P1.3
P1.2
P1.1
P1.0
P0.3
P0.2
P0.1
P0.0
R
OS
SW Matrix
(8 ¥ 8)
RESET
Buzzer
Open
TST1
TST2
V
DDI
MD
Note:V
Be sure to connect the V
device or to the positive power supply pin of the external memory.
V
MDB
P4-7
A15-0
DD
External
V
SS
P9, PA
P8.0
P8.1
is the power supply pin for the input, output, and input-output ports.
DDI
pin either to the positive power supply pin (VDD) of this
DDI
Memory
D7-0
(64K ¥ 8 bits)
RD
WR
V
SS
Application Circuit Example with Power Supply Backup
5.0 V
30/32
Page 31
¡ SemiconductorMSM63188A
APPLICATION CIRCUITS (continued)
•Ceramic oscillation is selected as high-speed
LCD
oscillation.
•Ports, external memory, and IC share their
power supply.
•C
is an IC power supply bypass capacitor.
v
•Values of C
C
, and CL1 are for reference only.
L0
, Cb, Cc, Cd, Ce, Cl, C12, CG,
a
C
V
DD
G
5 to 25 pF
5.0 V
C
v
C
l
C
e
C
d
C
c
C
b
C
a
Buzzer
Crystal
32.768 kHz
Open
0.1 mF
0.1 mF
0.1 mF
0.1 mF
0.1 mF
0.1 mF
0.1 mF
C
12
Push SW
Open
0.1 mF
XT0
XT1
V
DDH
V
DD
CB1
CB2
V
DDL
V
DD5
V
DD4
V
DD3
V
DD2
V
DD1
C1
C2
RESET
TST1
TST2
MD
COM1-16
SEG0-63
MSM63188A
OSC0
OSC1
P3.3
P3.2
P3.1
P3.0
P2.3
P2.2
P2.1
P2.0
P1.3
P1.2
P1.1
P1.0
P0.3
P0.2
P0.1
P0.0
V
DDI
CL0 30 pF
C
L1
30 pF
Ceramic
Resonator
(Example: 1 MHz)
SW Matrix
(8 ¥ 8)
V
DD
Note:V
Be sure to connect the V
device or to the positive power supply pin of the external memory.
V
DD
MDB
P4-7
A15-0
External
V
SS
P9, PA
P8.0
P8.1
is the power supply pin for the input, output, and input-output ports.
DDI
pin either to the positive power supply pin (VDD) of this
DDI
D7-0
Memory
(64K ¥ 8 bits)
RD
WR
V
SS
Application Circuit Example with No Power Supply Backup
31/32
Page 32
¡ SemiconductorMSM63188A
PACKAGE DIMENSIONS
(Unit : mm)
LQFP176-P-2424-0.50-BK
Mirror finish
Package material
Lead frame material
Pin treatment
Solder plate thickness
Package weight (g)
Epoxy resin
42 alloy
Solder plating
5 mm or more
1.87 TYP.
Notes for Mounting the Surface Mount Type Package
The SOP, QFP, TSOP, TQFP, LQFP, SOJ, QFJ (PLCC), SHP, and BGA are surface mount type
packages, which are very susceptible to heat in reflow mounting and humidity absorbed in
storage. Therefore, before you perform reflow mounting, contact Oki’s responsible sales person
on the product name, package name, pin number, package code and desired mounting conditions
(reflow method, temperature and times).
32/32
Page 33
E2Y0002-29-62
NOTICE
1.The information contained herein can change without notice owing to product and/or
technical improvements. Before using the product, please make sure that the information
being referred to is up-to-date.
2.The outline of action and examples for application circuits described herein have been
chosen as an explanation for the standard action and performance of the product. When
planning to use the product, please ensure that the external conditions are reflected in the
actual circuit, assembly, and program designs.
3.When designing your product, please use our product below the specified maximum
ratings and within the specified operating ranges including, but not limited to, operating
voltage, power dissipation, and operating temperature.
4.Oki assumes no responsibility or liability whatsoever for any failure or unusual or
unexpected operation resulting from misuse, neglect, improper installation, repair, alteration
or accident, improper handling, or unusual physical or electrical stress including, but not
limited to, exposure to parameters beyond the specified maximum ratings or operation
outside the specified operating range.
5.Neither indemnity against nor license of a third party’s industrial and intellectual property
right, etc. is granted by us in connection with the use of the product and/or the information
and drawings contained herein. No responsibility is assumed by us for any infringement
of a third party’s right which may result from the use thereof.
6.The products listed in this document are intended for use in general electronics equipment
for commercial applications (e.g., office automation, communication equipment,
measurement equipment, consumer electronics, etc.). These products are not authorized
for use in any system or application that requires special or enhanced quality and reliability
characteristics nor in any system or application where the failure of such system or
application may result in the loss or damage of property, or death or injury to humans.
Such applications include, but are not limited to, traffic and automotive equipment, safety
devices, aerospace equipment, nuclear power control, medical equipment, and life-support
systems.
7.Certain products in this document may need government approval before they can be
exported to particular countries. The purchaser assumes the responsibility of determining
the legality of export of these products and will take appropriate and necessary steps at their
own expense for these.
8.No part of the contents contained herein may be reprinted or reproduced without our prior
permission.
9.MS-DOS is a registered trademark of Microsoft Corporation.
Copyright 1999 Oki Electric Industry Co., Ltd.
Printed in Japan
Loading...
+ 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.