OKI MSM9006-02GS-BK

E2B0045-27-Y3
¡ Semiconductor
MSM9006-01, -02
¡ Semiconductor
This version:
Nov. 1997
MSM9006-01,
-02
Previous version:
Mar.1992
1996
June
LCD Driver with Keyscan Function
GENERAL DESCRIPTION
The MSM9006-01 is an LCD driver for a 1/3 duty dynamic display. It can directly drive an LCD
with a maximum of 123 segments.
The MSM9006-02 is an LCD driver for a 1/4 duty dynamic display, and can directly drive an
LCD with a maximum of 164 segments.
The MSM9006-01, -02 are capable of directly driving one LED, and up to five ports can be used
by simply switching the LCD pin.
The internal 5 x 5 keyscan circuit enables keyboard input, decreasing the number of
interconnections between the front panel and the CPU.
FEATURES
• 41 segment outputs (when LED and output port are not used)
A maximum of 123 segments can be dispalyed (MSM9006-01)
A maximum of 164 segments can be displayed (MSM9006-02)
• One LED can be driven directly (IO=–15mA max.)
• Up to five output ports are available (IO=–2mA to +1mA)
• The state of up to 25 key switches can be read through the internal 5 x 5 keyscan circuit
• The interface with the CPU is a serial interface using LOAD, DATA I/O, and CLOCK
• Built-in RC oscillation circuit for LCD alternating current drive
• Built-in voltage dividing resistor for bias voltage generation
• Power supply voltage : 5V±10%
• Temperature range : –40 to +85°C
• Package:
64-pin plastic QFP (QFP64-P-1414-0.80-BK)(Product name : MSM9006-01GS-BK)
(Product name : MSM9006-02GS-BK)
1/18
¡ Semiconductor
MSM9006-01, -02
BLOCK DIAGRAM
MSM9006-01
COM1
COM3
SEG1
COMMON
SEG35
SEG36/P05
SEG41/LED
5 SEGMENT/PORT
& SEGMENT/LED
DRIVER
35 OUT SEGMENT DRIVER
DRIVER
41 BIT DATA SELECTOR
TIMING
GEN
OSC
41 BIT
41 BIT
41 BIT
LATCH
LATCH
LATCH
OSC
VDD
VSS
RESET
MODE
TEST
SELECTOR
C6 C5 C4 C3 C2 C1 C0
LOAD
(41+7) 48 BIT SHIFT REGISTER
CONTROL
DATAI/O
CLOCK
LOGIC
5¥5 KEY SCANNER
C0 C1 C2 C3 C4
INT
R0 R1 R2 R3 R4
2/18
¡ Semiconductor
MSM9006-01, -02
BLOCK DIAGRAM
MSM9006-02
COM1
COM4
SEG1
COMMON
SEG35
SEG36/P05
SEG41/LED
5 SEGMENT/PORT
& SEGMENT/LED
DRIVER
35 OUT SEGMENT DRIVER
DRIVER
41 BIT DATA SELECTOR
TIMING
GEN
OSC
41 BIT
41 BIT
41 BIT
41 BIT
LATCH
LATCH
LATCH
LATCH
OSC
VDD
VSS
RESET
MODE
TEST
SELECTOR
C6 C5 C4 C3 C2 C1 C0
LOAD
(41+7) 48 BIT SHIFT REGISTER
CONTROL
DATAI/O
CLOCK
LOGIC
5¥5 KEY SCANNER
C0 C1 C2 C3 C4
INT
R0 R1 R2 R3 R4
3/18
¡ Semiconductor
MSM9006-01, -02
PIN CONFIGURATION (TOP VIEW)
49 CLOCK
50 LOAD
54 R4
52 R3
53 R2
54 R1
55 R0
56 C4
57 C3
58 C2
59 C1
60 C0
61 NC
62 COM3
63 COM2
64 COM1
MSM9006-01
8
41 SEG41/LED
SEG9
9
40 SEG40/PO1
SEG10 10
39 SEG39/PO2
SEG11 11
38 SEG38/PO3
SEG12 12
37 SEG37/PO4
SEG13 13
36 SEG36/PO5
SEG14 14
35 SEG35
SEG15 15
34 SEG34
SEG16 16
33 SEG33
SEG32 32
SEG8
SEG31 31
42 VDD
SEG30 30
43 OSC
7
SEG29 29
6
SEG7
SEG28 28
SEG6
SEG27 27
44 VSS
SEG26 26
45 TEST
5
SEG25 25
4
SEG5
SEG24 24
SEG4
SEG23 23
46 RESET
SEG22 22
47 INT
3
SEG21 21
2
SEG3
SEG20 20
SEG2
SEG19 19
48 DATA I/O
SEG18 18
1
SEG17 17
SEG1
NC: No-connection pin
64-Pin Plastic QFP
4/18
¡ Semiconductor
MSM9006-01, -02
PIN CONFIGURATION (TOP VIEW)
49 CLOCK
50 LOAD
54 R4
52 R3
53 R2
54 R1
55 R0
56 C4
57 C3
58 C2
59 C1
60 C0
61 COM4
62 COM3
63 COM2
64 COM1
MSM9006-02
SEG1
1
48 DATA I/O
SEG2
2
47 INT
SEG3
3
46 RESET
SEG4
4
45 TEST
SEG5
5
44 VSS
SEG6
6
43 OSC
SEG7
7
42 VDD
SEG8
8
41 SEG41/LED
SEG9
SEG32 32
SEG31 31
SEG30 30
SEG29 29
SEG28 28
33 SEG33
SEG27 27
34 SEG34
SEG16 16
SEG26 26
SEG15 15
SEG25 25
35 SEG35
SEG24 24
36 SEG36/PO5
SEG14 14
SEG23 23
SEG13 13
SEG22 22
37 SEG37/PO4
SEG21 21
38 SEG38/PO3
SEG12 12
SEG20 20
SEG11 11
SEG19 19
39 SEG39/PO2
SEG18 18
40 SEG40/PO1
SEG17 17
9
SEG10 10
64-Pin Plastic QFP
5/18
¡ Semiconductor
MSM9006-01, -02
ABSOLUTE MAXIMUM RATINGS
Paramater
Symbol
Condition
Rating
Unit
VDD
Ta=25°C
–0.3 to +6.5
V
Input Voltage
VI
Ta=25°C
–0.3 to VDD+0.3
V
Output Current
IO
Supply Voltage
Storage Temperature
TSTG
Ta=25°C
*1
–20
mA
Ta=25°C
*2
–3
mA
–55 to +150
°C
Range
Unit
—
*1 Applies to LED output.
*2 Applies to port output.
RECOMMENDED OPERATING CONDITIONS
Paramater
Symbol
Condition
Supply Voltage
VDD
VSS=0V
4.5 to 5.5
V
Operating Temperature
Top
—
–40 to +85
°C
Recommended Oscillation Circuit Conditions
Paramater
Symbol
Condition
Oscillation Resistance
RO
—
Oscillation Capacitance
CO
—
Min.
Max.
Unit
20
82
kW
0.01
0.047
mF
6/18
¡ Semiconductor
MSM9006-01, -02
ELECTRICAL CHARACTERISTICS
DC Characteristics
(VDD=5V±10%, Ta=–40 to +85°C)
Parameter
Symbol
Condition
Min.
"H" Input Voltage
VIH1
—
0.8VDD
VDD
V
"L" Input Voltage
VIL1
—
VSS
0.2VDD
V
"H" Input Voltage
VIH2
—
0.7VDD
VDD
V
"L" Input Voltage
VIL2
—
VSS
0.3VDD
V
"H" Input Current
IIH1
VI=VDD
—
1
mA
"L" Input Current
IIL1
VI=0V
—
–1
mA
"H" Input Current
IIH2
VI=VDD
—
10
mA
"L" Input Current
IIL2
VI=0V
—
–10
mA
"L" Input Current
IIL3
VI=0V
–0.18
–0.9
mA
C0 to C4
RESET
"L" Input Current
IIL4
VDD=5.5V
VDD=5.0V
Max. Unit Applicable Pin
VI=0V
–0.02
–0.1
mA
VOS0
IO=–10mA
VDD–0.7
—
V
Segment Output
VOS1
IO=±10mA
2/3VDD–0.7 2/3VDD+0.7
V
Voltage
VOS2
IO=±10mA
1/3VDD–0.7 1/3VDD+0.7
V
VOS3
IO=10mA
—
VSS+0.7
V
VOC0
IO=–10mA
VDD–0.65
—
V
Common Output
VOC1
IO=±10mA
2/3VDD–0.65 2/3VDD+0.65
V
Voltage
VOC2
IO=±10mA
1/3VDD–0.65 1/3VDD+0.65
V
"H" Output Voltage
VOH1
"L" Output Voltage
VOC3
*1
C0 to C4
CLOCK, LOAD
DATA I/O
SEG1 to SEG35,
SEG36/PO5 to
SEG41/LED
*2
COM1 to COM4
IO=10mA
—
VSS+0.65
V
IO=–15mA
3.0
—
V
SEG41/LED
VOL1
IO=0.1mA
—
0.4
V
*3
"H" Output Voltage
VOH2
IO=–2mA
3.5
—
V
SEG36/PO5 to
"L" Output Voltage
VOL2
IO=1mA
—
1.0
V
SEG40/PO1 *4
"H" Output Voltage
VOH3
IO=–0.4mA
4.1
—
V
DATA I/O
"L" Output Voltage
VOL3
IO=0.4mA
—
0.4
V
"H" Output Voltage
VOH4
IO=–50mA
2.5
—
V
INT
R0 to R4
"L" Output Voltage
VOL4
IO=1.0mA
—
0.4
V
*5
Current Consumption
IDD
No load
—
0.45
mA
VDD
*1
*2
*3
*4
*5
VDD=4.5V
VDD=5.5V
CLOCK, LOAD, DATA I/O and RESET
When SEG36/PO5-SEG41/LED are used as LCD segment output pins.
When SEG41/LED is used as output pin for LED driving.
When SEG36/PO5-SEG40/PO1 are used as general purpose port output pins.
When key data that corresponds to C0-C4 is on one of the lines to which the R0-R4 pins are
connected, the key data is not identified if the line is at a "H" level.
Therefore, as long as the value of VOH4 is 2.5V or greater, key data is identified correctly.
7/18
¡ Semiconductor
MSM9006-01, -02
Switching Characteristics
(VDD=5V±10%, Ta=–40 to +85°C)
Paramater
Symbol
Condition
Min.
Max.
Unit
fCP
—
—
2.0
MHz
Clock Pulse Width
tWCP
—
200
—
ns
Rise/Fall Time
tr, tf
—
—
50
ns
Data Setup Time
tDSU
—
100
—
ns
Data Hold Time
tDHD
—
100
—
ns
Load Pulse Width
tWLD
—
200
—
ns
ClockÆLoad Time
tCL
—
100
—
ns
LoadÆClock Time
tLC
—
200
—
ns
Output Delay Time 1
tpd1
CL=50pF
—
300
ns
Output Delay Time 2
tpd2*1
—
—
300
ns
Clock Frequency
*1 Since the DATA I/O pin input-output state is undefined for 300ns after the rising edge of
LOAD when changing from output mode to input mode, do not input any signal to the
DATA I/O pin for this period.
tWCP
tr
tWCP
tf
0.8VDD
0.8VDD
0.2VDD
CLOCK
0.2VDD
1/fCP
tDSU tDHD
DATAI/O
0.8VDD
0.2VDD
(During input mode)
tWLD
tCL
0.8VDD
tLC
0.2VDD
LOAD
tpd1
tpd1
0.8VDD
DATAI/O (When changing from input mode to output mode)
HiZ
0.2VDD
tpd2
DATAI/O (When changing from output mode to intput mode)
HiZ
The duration of charge or discharge at
the high-impedance period is determined
by the wiring resistance and the wiring
capacitance.
8/18
¡ Semiconductor
MSM9006-01, -02
FUNCTIONAL DESCRIPTION
Pin Functional Description
• OSC
This is an input pin for the oscillator to generate LCD AC lighting and keyscan signals. Connect
external capacitor and resistor as shown below to form RC oscillation circuit.
The relationship between frame frequency fFRM, keyscan period TSCN, and oscillation frequency
fOSC is:
fFRM = fOSC/24, TSCN = 20/fOSC
(See REFERENCE DATA for information on the relationship between CO, RO values, frame
frequency, and keyscan periods.)
VDD
RO
OSC
CO
• DATA I/O
This is a serial data input/output. The pin is in output state for the duration from the first shift
clock rising after "Key Data Output" command is entered, to the load signal rising, and in input
state otherwise. (The pin is in input state after reset.)
The relationship between data level and operation is shown below.
Data Level
LCD and LED Display
Port
Key Status
"H"
ON
"H"
ON
"L"
OFF
"L"
OFF
• CLOCK
This is an input pin for the shift clock. DATA I/O pin data is either input or output in
synchronization with the rising of the clock.
• LOAD
This is a load signal input pin. It is used for transferring serial input data to a latch for display,
entering commands, or resetting the output state of the DATA I/O pin.
9/18
¡ Semiconductor
MSM9006-01, -02
• R0 - R4
These are keyswitch scan signal output pins. During the scan operation, "L" level is output in
the order of R0, R1, …, R4. All signals go to "L" level when scanning stops. (See keyscan)
• C0 - C4
These are input pins that detect the key status. Pull-up resistor is included. Key matrices are
formed with R0 -␣ R4 pins.
C0
C1
C2
C3
C4
R0 R1 R2 R3 R4
• INT
This is the keyscan end signal output pin. This pin goes to "H" level when one scan cycle ends,
and returns to "L" level by a load signal after data is output or after the "Keyscan Stop" command
is entered. (This pin also returns to "L" level at reset.)
10/18
¡ Semiconductor
MSM9006-01, -02
• RESET
This is the reset signal input pin that initializes the device, and it is activated at "L" level. Pullup resistor is included. The power-on reset operation is performed by externally connecting a
capacitor. (See "Power-on Reset" in REFERENCE DATA)
VDD
RESET
• SEG1 - SEG35
These are output pins for the LCD display, and are connected to the segment pins of the LCD
panel. See the section on data configuration for the correspondence between SEG output and
input data.
• COM1 - COM4
These are output pins for the LCD display, and are connected to the common pins of the LCD
panel.
In the case of MSM9006-01, the COM1 to COM3 pins apply.
• SEG36/PO5 - SEG40/PO1
These pins can select the output pins for the LCD display (segment pins) or general port output
pins by setting with commands.
• SEG 41/LED
This is an output pin for the LCD display (segment), or LED drive selection with command. If
LED drive is selected, the LED and current limit resistor are externally connected.
SEG41/LED
• TEST
This is an input pin for IC testing. This pin should be connected to VSS.
• VDD, VSS
These are power supply and ground pins.
11/18
¡ Semiconductor
MSM9006-01, -02
Display Data Input
As shown in the section on data configuration, the data for display consists of data field
corresponding to segments ON/OFF and of command field indicating display data input.
Set the C0 and C1 bits of the command field according to the COM pins corresponding to the
display data. LED display data when LED display pin is selected and output port data when
output port pin is selected correspond to common 1. Data input to the DATA I/O pin is
caputured by a shift register at the rising edge of a clock signal, then it is transferred to a data
latch for display when the LOAD signal is at "H" level, and is then output through a segment
driver.
CLOCK
,,
,
D1
DATA I/O
D2
D3
D4
D40 D41
C0
C1
C2
C3
C4
C5
C6
,,
,,
,,
,,
,,,
,,
,,
,,
LOAD
Display Output
,,
,,
,,
,,
,,
,,
,,
,,
,,
,
,
,,
,
,,
,,
,,
,,
,,
,,
,
,,
,,
,,
,
,,
,,
,,
,,
,,
,
,,
Old Data
New Data
Key Data Output
The status of a key switch is indicated by ON = 1, OFF = 0, and is read as 25-bit serial data. (For
information on the sequence, see the section on data configuration.) To output data, the "Key
Data Output" command is first entered. Then data is output synchronizing with the rising edge
of a clock signal. If a LOAD pulse is then added, the DATA I/O pin returns to the input status,
and the next data or command can be input.
CLOCK
DATA I/O
C3
C4
C5
C6
,,
,,
,,
,,
,,
,,
,,
,,
,
01
02
03
024
025
,
LOAD
,,
,,
,,
,
Output Command Write
Key Data Read
Next Command
Input
12/18
¡ Semiconductor
MSM9006-01, -02
Keyscan
Keyscan starts when the key status is changed, or when the "Keyscan Start + key data output"
command is entered. Scan continues until the "Keyscan Stop" command is entered. (Scan is in
stop state at power-on reset.)
When 1 keyscan cycle ends, the INT signal goes to "H" level, so this signal can be used as an
interrupt flag. The INT signal is reset when the LOAD pulse is input after the key data is output,
when the "Keyscan Stop" command is entered, or when a reset signal is applied.
TSCN
R0
R1
R2
R3
R4
INT
Keyscan Start Command Entered, Data Read
or Key Status Changed
Data Read
Data Read
Keyscan Stop
Command Entered
Notes: 1. A recognition error (that is, a switch that was not pressed is recognized as being
pressed) may occur when three or more key switches are pressed at the same time.
If simultaneous pressing of three or more key switches must be recognized, insert
diodes serially to each switch. If simultaneous pressing of three or more key switches
is required not to be recognized, a possible approach is to program so that the entire
key information will be ignored if there are three or more 1s in read data.
2. A change of key status is detected as a change of column inputs (C0 - C4). Therefore
if multiple switches which connected to the same column are pressed at the same
time, it will not be detected as a change of key status.
13/18
¡ Semiconductor
MSM9006-01, -02
Display ON, Display OFF
Upon power-on reset, the display is put in off state. To turn on the display, enter the Display
ON command.
Regardless of the display data, the display goes out by entering the Display OFF command
because the Display OFF command turns off all segments and LED display and changes the
state of the output port from "H" to "L" level.
The display returns to the initial state by entering the Display ON command because the Display
ON command resets the off-state of the display.
CLOCK
DATA I/O
D1
D2
C5
C6
C2
C3
C4
C5
C6
C2
C3
C4
C5
C6
LOAD
Display ON/OFF
RESET
Display Data Input Period
+F9 Command
Display On Command
Entry Timing
Display Off Command
Entry Timing
14/18
¡ Semiconductor
MSM9006-01, -02
Command List
Command C6 C5 C4 C3 C2 C1 C0
0
F1
0
0
0
1
0
1
F2
0
0
1
0
¥
¥
0
F3
0
0
1
1
0
1
0
Operation
Display Data Input (Corresponds to common 1)
1
Display Data Input (Corresponds to common 2)
0
Display Data Input (Corresponds to common 3)
1
Display Data Input (Corresponds to common 4)
¥
Key Data Output
0
Display Data Input (1) + Key Data Output
1
Display Data Input (2) + Key Data Output
0
Display Data Input (3) + Key Data Output
1
Display Data Input (4) + Key Data Output
0
¥
¥
Display OFF
1
1
¥
¥
Display ON
0
¥
¥
¥
Keyscan Stop + Key Data Output
0
0
¥
¥
¥
Keyscan Stop
1
1
¥
¥
¥
Keyscan Start + Key Data Output
F4
0
1
0
1
F5
0
1
0
F6
0
1
1
F7
0
1
F8
0
1
F9
1
S/P5 S/P4 S/P3 S/P2 S/P1 S/L LCD/Output Port, LED Pin Setting
(*2)
(*2)
(*1)
¥ : Don't care
*1 The bits C5-C0 correspond to SEG36/PO5, SEG37/PO4, SEG38/PO3, SEG39/PO2, SEG40/
PO1, and SEG41/LED pin, respectively.
The high level selects the LCD (SEG36-SEG41) output. The low level selects the output port
(PO5-PO1) and LED output (any pin combination is selectable).
Because the pin select mode is not set upon power-on reset, be sure to put the device into pin
select mode before entering the Display On command.
*2 Out of the eight F1 and F3 commands, only those that correspond to common 1-3 are valid
in the case of the MSM9006-01. (Common 4 is not available in the MSM9006-01.)
15/18
¡ Semiconductor
MSM9006-01, -02
Data Configuration
Input data
First Bit
(Corresponds to SEG 41/LED)
Corresponds to
SEG 40/PO1
Corresponds to
SEG 35/PO5
Corresponds
to SEG 35
Last Bit
Corresponds
to SEG 1
C6
C5
C4
C3
C2
C1
C0 D41 D40
Command
D8
D7
D6
D2
D1
LCD/LED Display Data
LCD Display Data
LCD Display/Port Data
Notes: 1. LED data when the LED pin is selected and output port data when an output port
pin is selected, correspond to common 1 side (C0, C1=0).
2. The commands F2, F6-F8 are enabled when only the 4 bits of C3-C6 are input. The
commands F4 and F5 are enabled when only the 5 bits of C2-C6 are input. (Bits D1D41, C0-C1 are not required.)
3. If dummy bits are required depending on the number of transfer bits, insert them
into the first bit side.
Output data
Last Bit
First Bit
025
01
R4
R3
R2
R1
R0
C4 C3 C2 C1 C0 C4 C3 C2 C1 C0 C4 C3 C2 C1 C0 C4 C3 C2 C1 C0 C4 C3 C2 C1 C0
16/18
¡ Semiconductor
MSM9006-01, -02
REFERENCE DATA
500
2
VDD = 5V
Ta = 25°C
fFRM [Hz]
300
3
200
4
150
5
6
TSCN [ms]
400
8
100
CO=0.01mF
10
70
15
50
CO=0.022mF
30
CO=0.033mF
20
30
40
20
CO=0.047mF
50
20
33 39
62
82
RO [kW]
fFRM and TSCN vs. RO vs. CO
• Power-on Reset
The capacitance of an external capacitor connected to the RESET pin should be:
CRST ≥ 12.5 ¥ TR (mF)
(ex. CRST ≥ 0.125 (mF) if TR=10 (ms))
When TR is the rise time for power supply connected to the MSM9006 and CRST is the
capacitance of a capacitor connected to the RESET pin.
The pulse width of an external reset signal should be more than TR.
17/18
¡ Semiconductor
MSM9006-01, -02
PACKAGE DIMENSIONS
(Unit : mm)
QFP64-P-1414-0.80-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
0.87 TYP.
Notes for Mounting the Surface Mount Type Package
The SOP, QFP, TSOP, 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 for the
product name, package name, pin number, package code and desired mounting conditions
(reflow method, temperature and times).
18/18