E2E0039-27-Y3
¡ Semiconductor
MSM64422/64424
¡ Semiconductor
This version: Jan. 1998
MSM64422/64424
Previous version: Mar. 1996
in
im
el
Pr
y
ar
Built-in 256/512-Bit EEPROM and LCD Driver 4-Bit Microcontroller
GENERAL DESCRIPTION
The MSM64422/64424 is a low power 4-bit microcontroller using OKI original CPU core nX-4/
20. Integrated into a single chip are 64/128 nibbles of EEPROM, PWM generation circuit, 8-bit
timer counter, 8-bit synchronous serial port, time base counter, low voltage detection circuit,
watchdog timer, 4-bit input port, one or two input-output port(s). For the oscillator circuit, it
is possible to choose from the crystal oscillation circuit or the 3-pin RC oscillation circuit (resistor
R and capacitor C are externally connected).
Most suitable for small-sized security systems such as the key-less entry.
FEATURES
• Operating range
CPU operating voltage
EEPROM write voltage
Operating frequencies
Operating temperature
• Memory space
<MSM64422>
ROM (program memory)
RAM (data memory)
EEPROM
:
:
:
:
:
:
2.5 to 5.5V (crystal oscillation mode)
1.7 to 5.5V (RC oscillation mode)
2.2 to 5.5V
f
max
= 2.4 MHz (crystal oscillation mode)
f
max
= 1.2 MHz (RC oscillation mode)
Ta=–40 to +85°C
: 2048 bytes
: 64 nibbles
: 64 nibbles
(Number of data rewriting cycles to EEPROM:
10,000)
(EEPROM data retaining years: 10 Years)
: 4096 bytes
: 128 nibbles
: 128 nibbles
(Number of data rewriting cycles to EEPROM:
10,000)
(EEPROM data retaining years: 10 Years)
<MSM64424>
ROM (program memory)
RAM (data memory)
EEPROM
• Functions
PWM generation circuit (each pulse width, and pulse period is set by a 4-bit counter)
8-bit timer counter (automatic reload timer)
8-bit synchronous serial port
Standby functions
Low voltage detection circuit built in.
Watchdog timer
• Interrupt sources
: internal 5 sources
: external 1 source
1/13
¡ Semiconductor
• I/O Port
Input port
Input-output port
MSM64422/64424
: 1 port
¥
4 bits
: 1 port
¥
4 bits (MSM64422)
2 ports
¥
4 bits (MSM64424)
(Two of them provide 10mA sink current when V
DD
≥
2.5V)
• Package Options:
<MSM64422>
16-pin plastic SOP (SOP16-P-300-1.27-K) (Product name: MSM64422-¥¥¥MS-K)
<MSM64424>
20-pin plastic SSOP (SSOP20-P-250-0.95-K) (Product name: MSM64424-¥¥¥MS-K)
24-pin plastic SOP (SOP24-P-430-1.27-K) (Product name: MSM64424-¥¥¥GS-K)
• MTP Version
The MTP version MSM64Q424 (24-pin plastic SOP only) using EEPROM in place of the
internal program memory is available.
<MSM64Q424>
24-pin plastic SOP (SOP24-P-430-1.27-K) (Product name: MSM64Q424-N GS-K)
2/13
¡ Semiconductor
MSM64422/64424
BLOCK DIAGRAM
OSC0/XT
OSC1/XT
OSC2
V
DD
GND
TEST
RESET
OSC/XT
clock
generation
Time
base
counter
EEPROM
64N
CPU core
Interrupt
control
(nX-4/20)
RAM
64N
ROM
2Kbytes
Watchdog
timer
Databus
PORT0
PORT1
Low voltage
detection
circuit
8-bit
synchronous
serial port
*SIN *SOUT*SCLK
8-bit
timer
counter
PWN
generation
circuit
*PWM
P0.0-P0.3
P1.0-P1.3
Note: * means the secondary function for each port.
MSM64422 Block Diagram
OSC0/XT
OSC1/XT
OSC2
V
DD
GND
TEST
RESET
OSC/XT
clock
generation
Time
base
counter
EEPROM
128N
CPU core
Interrupt
control
(nX-4/20)
ROM
4Kbytes
RAM
128N
Watchdog
timer
Databus
PORT0 PORT1 PORT2
Low voltage
detection
circuit
8-bit
synchronous
serial port
*SIN *SOUT*SCLK
8-bit
timer
counter
PWN
generation
circuit
*PWM
P0.0-
P0.3
P1.0-
P1.3
P2.0-
P2.3
Note: * means the secondary function for each port.
MSM64424 Block Diagram
3/13
¡ Semiconductor
MSM64422/64424
PIN CONFIGURATION (TOP VIEW)
P0.2/XI2
P0.3/XI3
V
DD
TEST
RESET
GND
P1.0/PWM
P1.1/SIN
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
P0.1/XI1
P0.0/XI0
OSC2
OSC1/XT
OSC0/XT
NC
P1.3/SCLK
P1.2/SOUT
P0.2/XI2
P0.3/XI3
V
DD
TEST
RESET
GND
P2.0
P2.1
P1.0/PWM
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
P0.1/XI1
P0.0/XI0
OSC2
OSC1/XT
OSC0/XT
NC
P2.3
P2.2
P1.3/SCLK
P1.2/SOUT
MSM64422 (16-Pin Plastic SOP)
P1.1/SIN
MSM64424 (20-Pin Plastic SSOP)
P0.2/XI2
NC
P0.3/XI3
V
DD
TEST
RESET
GND
P2.0
P2.1
P1.0/PWM
NC
P1.1/SIN
1
2
3
4
5
6
7
8
9
10
11
12
24
23
22
21
20
19
18
17
16
15
14
13
P0.1/XI1
NC
P0.0/XI0
OSC2
OSC1/XT
OSC0/XT
NC
P2.3
P2.2
P1.3/SCLK
NC
P1.2/SOUT
P0.2/XI2
NC
P0.3/XI3
V
DD
TEST
RESET
GND
P2.0
P2.1
P1.0/PWM
NC
P1.1/SIN
1
2
3
4
5
6
7
8
9
10
11
12
24
23
22
21
20
19
18
17
16
15
14
13
P0.1/XI1
NC
P0.0/XI0
OSC2
OSC1/XT
OSC0/XT
PGM
P2.3
P2.2
P1.3/SCLK
NC
P1.2/SOUT
MSM64424 (24-Pin Plastic SOP)
MSM64Q424 (24-Pin Plastic SOP)
NC: No-connection pin
4/13
¡ Semiconductor
MSM64422/64424
PIN CONFIGURATIONS
Basic Functions
Function
Power
Supply
Test
Symbol
V
DD
GND
TEST
Type
—
—
I
Pin (5V)
Pin (0V)
Input pin for IC test
A system reset input pin.
Reset
RESET
I
When this pin changes to "L" level from "H", the internal condition is
initialized, and with the level change to "H" from "L", the command
execution is started from the address 000H.
P0.0/XI0
P0.1/XI1
P0.2/XI2
P0.3/XI3
P1.0/PWM
P1.1/SIN
Port*
P1.2/SOUT
P1.3/SCLK
P2.0
P2.1
P2.2
P2.3
OSC0/XT
Oscillation
OSC1/XT
OSC2
I/O
I/O
I/O
I/O
I/O
I/O
I
O
O
Pin for setting a EEPROM write/read mode.
PGM
PGM
I/O
The device enters a EEPROM write/read mode, when a logic "1" is input to
this pin to release a reset.
This pin is left open in a normal operating mode.
I
I
I
I
I/O
I/O
4-bit input port (P0).
Each bit can be configured to be a pull-down resistor input or high
impedance input.
As the secondary function, an external interrupt is allocated to each pin.
4-bit input/output port (P1).
At the time of input mode, each bit can be configured to be a pull-down
resistor input or high impedance input.
At the time of output mode, each bit can be configured to be an Nch
open drain output or CMOS output. As the secondary function, it
becomes an input-output pin that is related to serial port and PWM
output.
4-bit input-output port (P2).
At the time of input mode, each bit can be configured to be a pull-down
resistor input or high impedance input.
At the time of output mode, each bit can be configured to be an Nch open
drain output or CMOS output.
Pins for connectiong an oscillator or RC (capacitor C, resistor R is
externally connected).
Description
*
The P2.0-2.3 pins are only built into MSM64424.
5/13