4-Bit Microcontroller with Built-in 16K Word PROM and 1024-Dot Matrix LCD Drivers
GENERAL DESCRIPTION
The MSM63P180 is an M6318x series one-time-programmable ROM version product of OLMS63K family, which employs Oki's original CPU core nX-4/250.
The MSM63P180 has one-time PROM as internal program memory.
The MSM63188 and other mask ROM-version products have mask ROM as internal program
memory.
The specifications of the MSM63P180 are equal to those of the MSM63188 except for electrical
characteristics, packaging, and some functions.
The MSM63P180 is used for evaluating the software development of M6318x series products.
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)
• 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
• Melody output function
Melody sound frequency: 529 to 2979 Hz
Tone length: 63 types
Tempo: 15 types
Note data: Resides in the program memory
• 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
MSM63P180-NGS-BK (blanked PROM)
xxx indicates a code number.
3/35
¡ SemiconductorMSM63P180
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).
Note:Pins marked as (NC) are no-connection pins which are left open.
BD
MD
BDB
PP
V
MDB
DDI
V
(NC)
5/35
¡ SemiconductorMSM63P180
PIN DESCRIPTIONS
The basic functions of each pin of the MSM63P180 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 SymbolPinTypeDescription
V
PP
V
DD
V
SS
V
DD1
V
DD2
V
DD3
V
DD4
V
Power
Supply
DD5
C168
C269
V
DDI
V
DDH
CB171—
CB272—
XT079I
XT178O
Oscillation
OSC076I
OSC175O
TST181I
Test
TST280I
ResetRESET77I
RESET77I
86—Power supply (+12.5 V) for PROM writing
73—Positive power supply
62—Negative power supply
63
64
65—
Power supply pins for LCD bias (internally generated).
Capacitors (0.1 mF) should be connected between these pins and
VSS.
66
67
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
87—
70—
(power supply for input, output, and input-output ports)
Voltage multiplier pin for power
supply backup (internally generated).
Pins to connect a capacitor for
voltage multiplier.
A capacitor (0.1 mF) should be
connected between CB1 and CB2.
To enable high-speed oscillation, apply
2.7 V to V
(backup OFF).
To disable high-speed oscillation, connect
a 1 mF capacitor between V
and between CB1 and CB2.
Low-speed clock oscillation pins.
A 32.768 kHz crystal should be connected between XT0 and XT1,
(12 to 30 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
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 2 interrupt input pin.
I
The change of input signal level causes an interrupt to occur.
External 3 interrupt input pins.
The change of input signal level causes an interrupt to occur.
I
The Port F Interrupt Enable register (PFIE) enables or disables
an interrupt for each bit.
External 4 interrupt input pin.
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.