E2E0028-38-95
¡ Semiconductor MSM64152A/64152AL
¡ Semiconductor
This version: Sep. 1998
Previous version: Mar. 1996
MSM64152A/64152AL
4-Bit Microcontroller with Built-in LCD Driver and Melody Circuit
GENERAL DESCRIPTION
The MSM64152A (1.5 V)/64152AL (3.0 V) is a high-performance 4-bit microcontroller that
incorporates Oki-original CPU core nX-4/20.
The MSM64152A/64152AL has an LCD driver for up to 104 segments, an event counter, and a
melody circuit. It is best suited for applications such as clocks and LCD games.
FEATURES
• Operating range
Operating voltage : 1.5 V/3.0 V
Operating temperature : –40 to +70 °C
Operating frequency : 32.768 kHz crystal oscillation
Approx. 32 kHz RC oscillation
Supply current (Typ.) : 0.9 mA (3.0 V at HALT mode)
• Minimum instruction execution time : 91 ms
• General memory space : 1504 bytes
• Local memory space : 128 nibbles
• LCD driver : 30
Common driver ¥ 4
Segment driver ¥ 26
1/4 duty, 1/3 bias; 104 segments (26 ¥ 4)
1/3 duty, 1/3 bias; 78 segments (26 ¥ 3)
• I/O port
Input-output port : 1 port ¥ 4 bits (open-drain output/CMOS output
selectable; pull-down resistor input/high-impedance
input selectable)
Input port
Output port
• Event counter : 1 channel
• Melody output : 1
• Interrupts : 7 sources
• Package:
60-pin plastic QFP (QFP60-P-1519-1.00-K) : (Product name : MSM64152A-¥¥¥GS-K,
Chip : MSM64152A-¥¥¥, MSM64152AL-¥¥¥
• OTP version (for program evaluation) : MSM64P155/64P155L
(The package, power polarity, and operating voltage of the MSM64P155/64P155L are
different from the MSM64152A/64152AL. For details, refer to the "MSM64P155 User's
Manual".)
: 1 port ¥ 4 bits (pull-down resistor input/high-impedance
input selectable)
: 1 port ¥ 4 bits (CMOS output)
External 2, time base 4, melody 1
MSM64152AL-¥¥¥GS-K)
¥¥¥ indicates a code number.
1/25
¡ Semiconductor MSM64152A/64152AL
BLOCK DIAGRAM
SS3VSS2VSS1
COM4
COM3
COM2
C2C1V
COM1
OSC0
OSC1
RESET
TST1
TST2
TST3
V
SSL
BSRHALTMIEF
OSC
RST
TST
VR
TR2 TR0 TR1
(4)
C
BA HL XY
ALU
(4) (4)
TIMING
CONTROLLER
TBC
PCM PCL
DB7 to DB0
IR
DECODER
PCH
A7 to A0
ROMRSP
IR
PORT ADDRESS
DB7 to DB0
A8 to A11
(8)
(8)
ROM
1504B
RAM
128N
INTC
BIAS
COM
DRV
LCD
DRV
PORT ADDRESS
LCD
CNT
DSPR
MD0
SEG0
SEG25
MD0
MD0
BUP CAPR PORT2 PORT6
V
DD
is the CPU core (nX-4/20).
P2.0
P2.1
P2.2
P2.3
PORT4
P4.0
P4.1
P4.2
P4.3
P6.0
P6.1
P6.2
P6.3
2/25
¡ Semiconductor MSM64152A/64152AL
PIN CONFIGURATION (TOP VIEW)
P4.0
P4.1
P4.2
P4.3
RESET
TST1
TST2
TST3
P2.0
P2.1
P2.2
P2.348OSC147OSC0
60
59
58
57
56
55
54
53
52
51
50
49
P6.3
P6.2
P6.1
P6.0
MD0
MD0
V
DD
SEG25
SEG24
SEG23
SEG22
SEG21
SEG20
SEG19
SEG18
(NC)
10
11
12
13
14
15
16
V
1
2
3
4
5
6
7
8
9
17
18
19
20
21
22
23
24
25
26
27
28
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
SSL
V
SS1
V
SS2
V
SS3
C1
C2
COM1
COM2
COM3
COM4
SEG0
SEG1
SEG2
SEG3
SEG4
(NC)
SEG17
SEG16
SEG15
SEG14
SEG13
SEG12
(NC)
SEG11
SEG9
SEG10
SEG8
SEG729SEG630SEG5
60-Pin Plastic QFP
Note: Pins marked as (NC) are no-connection pins which are left open.
3/25
¡ Semiconductor MSM64152A/64152AL
PAD CONFIGURATION
Pad Layout
44
45
46
47
48
49
50
51
52
53
54
55
56
57
43 42 41 40 39 38 37 36 35 34 33 32 31 30
123456789101112131415
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Y
X
Chip Size : 3.90 mm ¥ 3.48 mm
Chip Thickness : 350 mm (typ.)
Coordinate Origin : Chip center
Pad Hole Size : 110 mm ¥ 110 mm
Pad Size : 120 mm ¥ 120 mm
Minimum Pad Pitch : 180 mm
Note: The chip substrate voltage is VDD.
4/25
¡ Semiconductor MSM64152A/64152AL
Pad Coordinates
Pad No. Y (µm)X (µm)Pad Name
1 –1589–1529P6.3
2
3
4
P6.2
P6.1
P6.0
5MD0
6 MD0
7V
DD
8 SEG25
9
10
11
12
13
14
15
16
17
18 –923
19 –706
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36 26
37 –196
38 –418
39 –640
40 –863V
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
COM4
COM3
COM2
COM1
C2
C1
SS3
–1307 –1307
–1085 –1529
–863 –1749
–640
–418
–196
26
242
459
675
892
1108
1324
1541
1749
1749
1749
1749
1749
1749
1749
1749
1749
1749
1749
1749
1749
1541
1324
1108
892
675
459
242
Pad No.
41 1589–1085V
–1589 1589
–1589 1589
–1589
–1589
–1589
–1589
–1589
–1589
–1589
–1589
–1589
–1589
–1589
–1589
–1357
–1140
42 V
43 V
44
45
46
47
48
49
50
51
52
53
54
55
56
57
SS2
SS1
SSL
OSC0
OSC1
P2.3
P2.2
P2.1
P2.0
TST3
TST2
TST1
RESET
P4.3
P4.2
P4.1
P4.0
–1749
–1749
–1749
–1749
–1749
–1749
–1749
–1749
–1749
–1749
–1749
–1749
–1749
Y (µm)X (µm)Pad Name
1340
1132
924
715
507
299
91
–117
–326
–534
–743
–952
–1160
–1369
–490
–273
38
254
471
687
904
1120
1336
1589
1589
1589
1589
1589
1589
1589
1589
1589
1589
1589
1589
5/25
¡ Semiconductor MSM64152A/64152AL
PIN DESCRIPTIONS
Basic Functions
Function
Power
Supply
Oscillation
Test
RESET
Pin
7
45
44
43
42
41
46
47
48
55
54
53
56 53 I
Pad
7
42
41
40
39
38
43
44
45
52
51
50
Symbol
V
DD
V
SS1
V
SS2
V
SS3
C1
C2
V
SSL
OSCO
OSC1
TST1
TST2
TST3
RESET
DescriptionType
—
Digital supply voltage(0 V)
—
Digital negative power supply (1.5 V spec.)
Bias output for LCD driver (3.0 V spec.)
—
Digital negative power supply (3.0 V spec.)
Bias output for LCD driver (1.5 V spec.)
Bias output for LCD driver (–4.5 V)
—
—
For connection to capacitors that generate bias for the
LCD driver
—
—
Negative power supply voltage pin for internal logic
(An internally generated constant voltage is present at this pin.)
I
Clock oscillation pins:
Either a crystal (32.768 kHz) and a capacitor (10 to 30 pF)
are connected to these pins or a resistor (1 MW) is.
O
I
Input pins for test
I
I
System 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 000H.
This pin is internally connected to V
SS1
or V
through a
SS2
pull-down resistor.
6/25
¡ Semiconductor MSM64152A/64152AL
Basic Functions (continued)
Ports
Melody
Drivers
LCD
Drivers
PadPin DescriptionTypeFunction
4952
51
50
49 46
59
58
57 54
3
2
11
39
38
37 34
48
47
5760
56
55
44
3
2
3740
36
35
Symbol
P2.0
P2.1
P2.2
P2.3
P4.0
P4.1
P4.2
P4.3
P6.0
P6.1
P6.2
P6.3
MD0
MD0
COM1
COM2
COM3
COM4
I
4-bit input port (port 2) :
Select between pull-down resistor input and high impedance
input for each bit with the port 2 control register (P2CON).
When configured for secondary functions, an external
interrupt and capture circuit trigger input are allocated.
If P2.0 to P2.3 are set to "H" level, the IC enters system
reset mode.
O
4-bit output port (port 4) :
4-bit CMOS output port.
4-bit input-output port (port 6) :
I/O
Select between input and output, between pull-down resistor
input and high impedance input, and between open-drain
output and CMOS output with the port 6 control register
(P6CON). When configured for a secondary function, an
external interrupt is allocated.
O Output pin of melody driver 055
O Inverted output pin of MD0 output66
O
LCD common signal output pins
O
O
O
7/25
¡ Semiconductor MSM64152A/64152AL
Basic Functions (continued)
LCD
Drivers
PadPin DescriptionTypeFunction
3336
Symbol
SEG0
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
SEG9
SEG10
SEG11
SEG12
SEG13
SEG14
SEG15
SEG16
O
LCD segment signal output pins
O3235
O3134
O3033
O2932
O2830
O2729
O2628
O2527
O2426
O2325
O2224
O2122
O2021
O1920
O1819
O1718
SEG17
SEG18
SEG19
SEG20
SEG21
SEG22
SEG23
SEG24
SEG25
O1617
O1515
O1414
O1313
O1212
O1111
O1010
O99
O88
8/25