OKI MSM64155A-xxx, MSM64155AL-xxx, MSM64155AL-xxxGS-BK, MSM64155A-xxxGS-BK Datasheet

E2E0030-38-95
This version: Sep. 1998
MSM64155A/64155AL¡ Semiconductor
¡ Semiconductor
Previous version: Mar. 1996
MSM64155A/64155AL
4-Bit Microcontroller with Built-in LCD Driver and Melody Circuit
GENERAL DESCRIPTION
The MSM64155A (1.5 V)/64155AL (3.0 V) is a high-performance 4-bit microcontroller that incorporates Oki-original CPU core nX-4/20. The MSM64155A/64155AL has an LCD driver for up to 240 segments, an event counter, and melody circuits. It is best suited for applications such as clocks and LCD games.
FEATURES
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 : 4064 bytes
• Local memory space : 256 nibbles
• LCD driver : 64
Common driver ¥ 4 Segment driver ¥ 60 1/4 duty, 1/3 bias; 240 segments (60 ¥ 4) 1/3 duty, 1/3 bias; 180 segments (60 ¥ 3)
• I/O port Input-output port : 2 ports ¥ 4 bits (open-drain output/CMOS output
selectable; pull-down resistor input/high-impedance input selectable)
Input port :
Output port : 1 port ¥ 4 bits (CMOS output)
• Event counter : 1 channel
• Melody output : 2
• Interrupts : 10 sources
• Package: 100-pin plastic QFP (QFP100-P-1420-0.65-BK) : (Product name : MSM64155A-¥¥¥GS-BK,
Chip : MSM64155A-¥¥¥, MSM64155AL-¥¥¥
• OTP version (for program evaluation) : MSM64P155/64P155L (The power polarity and operating voltage of the MSM64P155/64P155L are different from the MSM64155A/64155AL. For details, refer to the "MSM64P155 User's Manual".)
1 port ¥ 2 bits (pull-down resistor input/high-impedance input selectable 1 port ¥ 4 bits (pull-down resistor input/high-impedance input selectable)
External 4, time base 4, melody 2
¥¥¥ indicates a code number.
)
MSM64155AL-¥¥¥GS-BK)
1/26
BLOCK DIAGRAM
BSRHALTMIEF
TR2 TR0 TR1
(4)
PCM PCL
PCH
ROM
4064B
MSM64155A/64155AL¡ Semiconductor
C2C1V
BIAS
SS3VSS2VSS1
COM1 COM2 COM3 COM4
OSC0
OSC1
RESET
TST1 TST2 TST3
V
SSL
V
DD
CLK
RST
TST
VR
C
BA HL XY
ALU
(4) (4)
TIMING
CONTROLLER
TBC
A8 to A11
A7 to A0
PORT ADDRESS
RAM
256N
DB7 to DB0
ROMRSP
4
IR
IR
(8)
INTC
(8)
DECODER
INT
PORT ADDRESS
DB7 to DB0
INT INTINTINT
BUP CAPR PORT2 EVENT PORT3 PORT4 PORT6 PORT7
INT
INT
LCD
MD0
MD1
SEG0
SEG59
MD0
MD0
MD1
MD1
is the CPU core (nX-4/20).
P2.0
P2.1
P2.2
P2.3
P3.0
P3.1
P4.0
P4.1
P4.2
P4.3
P6.0
P6.1
P6.2
P6.3
P7.0
P7.1
P7.2
P7.3
2/26
PIN CONFIGURATION (TOP VIEW)
SS3
SS2
SS1
V
100
C1
V
V
97
98
99
C2
96
COM2
COM1
94
95
COM4
COM3
92
93
SEG1
SEG0
90
91
SEG3
SEG2
88
89
SEG5
SEG4
86
87
SEG7
SEG6
84
85
SEG9
SEG8
82
83
MSM64155A/64155AL¡ Semiconductor
SEG10
81
RESET
OSC0
OSC1
V
SSL
P2.3 P2.2 P2.1 P2.0 P3.1 P3.0 P4.3 P4.2 P4.1 P4.0 P6.3 P6.2 P6.1 P6.0 P7.3 P7.2 P7.1 P7.0
V
DD
MD0
MD0 MD1
MD1
TST3 TST2 TST1
1
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
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG38 SEG39 SEG40
32
31
35
34
33
38
37
36
41
40
39
44
43
42
47
46
45
50
49
48
(NC)
SEG41
SEG42
SEG43
SEG44
SEG45
SEG46
SEG47
SEG48
SEG49
SEG50
SEG51
SEG52
SEG53
SEG54
SEG55
SEG56
SEG57
SEG58
SEG59
100-Pin Plastic QFP
Note: Pins marked as (NC) are no-connection pins which are left open.
3/26
PAD CONFIGURATION
Pad Layout
MSM64155A/64155AL¡ Semiconductor
76
75
51
50
Y
X
251
Chip Size : 4.35 mm ¥ 4.50 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 : 150 mm
Note: The chip substrate voltage is VDD.
2699
4/26
Pad Coordinates
MSM64155A/64155AL¡ Semiconductor
Pad No.
Pad
Name
X (µm) Y (µm)
1 OSC1 –1858 –2045
2 –1703
3 –1548
4 –1393
5 –1238
6 –1084
7 –929
8 –774
9 –619
10 –464
11 –310
12 –155
13 0
14 155
15 310
16 464
17 619
18 774
19 929
20 1084
21 1238
22 1430
V
SSL
P2.3
P2.2
P2.1
P2.0
P3.1
P3.0
P4.3
P4.2
P4.1
P4.0
P6.3
P6.2
P6.1
P6.0
P7.3
P7.2
P7.1
P7.0
V
DD
MD0
23 MD0 1658
24 MD1 1813 25 MD1 1968
26 TST3 2020
27 TST2 2020
28 TST1
29
SEG59
SEG58
30
31
SEG57
32
SEG56
33
SEG55
34
SEG54
35
SEG53
36
SEG52
37
SEG51
38
SEG50
39
SEG49
40
SEG48
2020
2020
2020
2020
2020
2020
2020
2020
2020
2020
2020
2020
2020
Pad No.
41 81
42
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–2045
–1810
–1655
–1500
–1345
–1190
–1036
–881
–726
–571
–416
–262 –2020
–107 –2020
48 –2020
203 –2020
358 –2020
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
Pad
Name
SEG47
SEG46
SEG45
SEG44
SEG43 SEG3
SEG42
SEG41
SEG40
SEG39
SEG38
SEG37
SEG36
SEG35
SEG34
SEG33
SEG32
X (µm) Y (µm)
2020 512
2020
2020
2020
2020
2020
2020
2020
2020
2020
1780
1625
1471
1316
1161
1006
SEG31
SEG30
SEG29
SEG28
SEG27
SEG26
SEG25
SEG24
SEG23
SEG22
SEG21
SEG20
SEG19
SEG18
SEG17
SEG16
SEG15
SEG14
SEG13
–232
–387
–542
–697
–851
–1006
–1161
–1316
–1471
–1625
–1780
–1935
SEG12
SEG11
SEG10
SEG9
SEG8
851
697
542
387
232
77
–77
667
822
977
1132
1286
1441
1596
1751
1906
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
2045
1772
1617
1462
1307
1153
Pad No.
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Pad
Name
SEG7
SEG6–2045
SEG5
SEG4
SEG2
SEG1
SEG0
COM4
COM3
COM2
COM1
C2
C1
V
SS3
V
SS2
V
SS1
RESET
OSC0
X (µm) Y (µm)
–2020 998
–2020
–2020
–2020
–2020
–2020
–2020
–2020
–2020
–2020
–2020
–2020
–2020
–2020
–2020
–2020
–2020
–2020
–2020
843
688
533
379
224
69
–86
–241
–395
–550
–705
–860
–1015
–1169
–1324
–1479
–1634
–1789
5/26
PIN DESCRIPTIONS
Basic Functions
MSM64155A/64155AL¡ Semiconductor
Function
Power Supply
Oscillation
Test
RESET
Pin
23
100
99
98 97
96
4
2
3
30 29
28
198 I
Pad
21
97
96
95 94
93
2
99
1
28 27
26
Symbol
V
DD
V
SS1
V
SS2
V
SS3
C1
C2
V
SSL
OSC0
OSC1
TST1
TST2
TST3
RESET
— —
— —
I
O
I I I
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.)
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.
Input pins for test
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/26
Basic Functions (continued)
MSM64155A/64155AL¡ Semiconductor
PadPin DescriptionTypeFunction
Ports 4-bit input port (port 2) :
7 6
53
10
9
13 12
11 9
17 16
15 13
68
5 4
8
7
1214
11 10
1618
15 14
Symbol
P2.0
P2.1
P2.2 P2.3
P3.0
P3.1
P4.0
P4.1
P4.2 P4.3
P6.0
P6.1
P6.2 P6.3
I
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 device enters system reset mode.
I 2-bit input port (port 3) :
Select between pull-down resistor input and high impedance input with the port 3 control register (P3CON). When configured for a secondary function, an external interrupt is allocated to P3.0 and an event counter is allocated to P3.1.
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.
Melody Drivers
LCD Drivers
2022
21 19
20 18 P7.2 19 17
9295
94 93
92 89
91 90
P7.0
P7.1
P7.3
MD0
MD0
MD1
MD1
COM1
COM2
COM3 COM4
4-bit input-output port (port 7) :
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 7 control register (P7CON). When configured for a secondary function, an external interrupt is allocated.
O Output pin of melody driver 0.2325 O Inverted output pin of MD0 output.2224
O Output pin of melody driver 1.2426
O Inverted output pin of MD1 output.2527
O
LCD common signal output pins.
O
O
O
7/26
Basic Functions (continued)
MSM64155A/64155AL¡ Semiconductor
LCD Drivers
PadPin DescriptionTypeFunction
8891
Symbol
SEG0
SEG1 SEG2
SEG3 SEG4
SEG5 SEG6
SEG7
SEG8
SEG9
SEG10
SEG11 SEG12
SEG13 SEG14
SEG15 SEG16
O
LCD segment signal output pins.
O8790 O8689
O8588 O8487
O8386 O8285
O8184
O8083
O7982 O7881
O7780 O7679
O7578 O7477
O7376 O7275
SEG17
SEG18 SEG19
SEG20 SEG21
SEG22 SEG23
SEG24 SEG25
SEG26 SEG27
SEG28
SEG29
SEG30 SEG31 SEG32
SEG33 SEG34
O7174
O7073
O6972
O6871 O6770
O6669 O6568
O6467 O6366
O6265 O6164
O6063
O5962
O5861 O5760 O5659
O5558 O5457
SEG35
SEG36 SEG37
SEG38
SEG39
O5356
O5255 O5154
O5053
O4952
8/26
Loading...
+ 18 hidden pages