E2B0045-27-Y3 ¡ Semiconductor
¡ Semiconductor MSM9006-01, -02
LCD Driver with Keyscan Function
This version: Nov. 1997 MSM9006-01, -02 Previous version: Mar.1992 June 1996
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 SEG35 SEG36/P05 SEG41/LED
COMMON DRIVER
35 OUT SEGMENT DRIVER
5 SEGMENT/PORT & SEGMENT/LED DRIVER
41 BIT DATA SELECTOR TIMING GEN
41 BIT LATCH OSC OSC
41 BIT LATCH
41 BIT LATCH VDD VSS
RESET
MODE SELECTOR
TEST
C6 C5 C4 C3 C2 C1 C0 LOAD CONTROL DATAI/O CLOCK LOGIC 5¥5 KEY SCANNER INT (41+7) 48 BIT SHIFT REGISTER
C0 C1 C2 C3 C4
R0 R1 R2 R3 R4
2/18
¡ Semiconductor
MSM9006-01, -02
BLOCK DIAGRAM
MSM9006-02
COM1 COM4 SEG1 SEG35 SEG36/P05 SEG41/LED
COMMON DRIVER
35 OUT SEGMENT DRIVER
5 SEGMENT/PORT & SEGMENT/LED DRIVER
41 BIT DATA SELECTOR TIMING GEN
41 BIT LATCH OSC OSC
41 BIT LATCH
41 BIT LATCH
41 BIT LATCH VDD VSS
RESET
MODE SELECTOR
TEST
C6 C5 C4 C3 C2 C1 C0 LOAD CONTROL DATAI/O CLOCK LOGIC 5¥5 KEY SCANNER INT (41+7) 48 BIT SHIFT REGISTER
C0 C1 C2 C3 C4
R0 R1 R2 R3 R4
3/18
¡ Semiconductor
MSM9006-01, -02
PIN CONFIGURATION (TOP VIEW)
MSM9006-01
49 CLOCK
48 DATA I/O 47 INT 46 RESET 45 TEST 44 VSS 43 OSC 42 VDD 41 SEG41/LED 40 SEG40/PO1 39 SEG39/PO2 38 SEG38/PO3 37 SEG37/PO4 36 SEG36/PO5 35 SEG35 34 SEG34 33 SEG33
64 COM1
63 COM2
62 COM3
SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9
1 2 3 4 5 6 7 8 9
SEG10 10 SEG11 11 SEG12 12 SEG13 13 SEG14 14 SEG15 15 SEG16 16
SEG17 17
SEG18 18
SEG19 19
SEG20 20
SEG21 21
SEG22 22
SEG23 23
SEG24 24
SEG25 25
SEG26 26
SEG27 27
SEG28 28
SEG29 29
SEG30 30
SEG31 31
50 LOAD
61 NC
55 R0
54 R1
53 R2
52 R3
54 R4
60 C0
59 C1
58 C2
57 C3
56 C4
NC: No-connection pin 64-Pin Plastic QFP
SEG32 32
4/18
¡ Semiconductor
MSM9006-01, -02
PIN CONFIGURATION (TOP VIEW)
MSM9006-02
49 CLOCK
48 DATA I/O 47 INT 46 RESET 45 TEST 44 VSS 43 OSC 42 VDD 41 SEG41/LED 40 SEG40/PO1 39 SEG39/PO2 38 SEG38/PO3 37 SEG37/PO4 36 SEG36/PO5 35 SEG35 34 SEG34 33 SEG33
64 COM1
63 COM2
62 COM3
61 COM4
SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9
1 2 3 4 5 6 7 8 9
SEG10 10 SEG11 11 SEG12 12 SEG13 13 SEG14 14 SEG15 15 SEG16 16
SEG17 17
SEG18 18
SEG19 19
SEG20 20
SEG21 21
SEG22 22
SEG23 23
SEG24 24
SEG25 25
SEG26 26
SEG27 27
SEG28 28
SEG29 29
SEG30 30
SEG31 31
50 LOAD
55 R0
54 R1
53 R2
52 R3
54 R4
60 C0
59 C1
58 C2
57 C3
56 C4
64-Pin Plastic QFP
SEG32 32
5/18
¡ Semiconductor
MSM9006-01, -02
ABSOLUTE MAXIMUM RATINGS
Paramater Supply Voltage Input Voltage Output Current Storage Temperature Symbol VDD VI IO TSTG Condition Ta=25°C Ta=25°C Ta=25°C Ta=25°C — *1 *2 Rating –0.3 to +6.5 –0.3 to VDD+0.3 –20 –3 –55 to +150 Unit V V mA mA °C
*1 Applies to LED output. *2 Applies to port output.
RECOMMENDED OPERATING CONDITIONS
Paramater Supply Voltage Operating Temperature Symbol VDD Top Condition VSS=0V — Range 4.5 to 5.5 –40 to +85 Unit V °C
Recommended Oscillation Circuit Conditions
Paramater Oscillation Resistance Oscillation Capacitance Symbol RO CO Condition — — Min. 20 0.01 Max. 82 0.047 Unit kW mF
6/18
¡ Semiconductor
MSM9006-01, -02
ELECTRICAL CHARACTERISTICS
DC Characteristics
(VDD=5V±10%, Ta=–40 to +85°C) Parameter "H" Input Voltage "L" Input Voltage "H" Input Voltage "L" Input Voltage "H" Input Current "L" Input Current "H" Input Current "L" Input Current "L" Input Current "L" Input Current Segment Output Voltage Symbol VIH1 VIL1 VIH2 VIL2 IIH1 IIL1 IIH2 IIL2 IIL3 IIL4 VOS0 VOS1 VOS2 VOS3 VOC0 Common Output Voltage "H" Output Voltage "L" Output Voltage "H" Output Voltage "L" Output Voltage "H" Output Voltage "L" Output Voltage "H" Output Voltage "L" Output Voltage Current Consumption VOC1 VOC2 VOC3 VOH1 VOL1 VOH2 VOL2 VOH3 VOL3 VOH4 VOL4 IDD VDD=5.5V VDD=4.5V VDD=5.0V VDD=5.5V Condition — — — — VI=VDD VI=0V VI=VDD VI=0V VI=0V VI=0V IO=–10mA IO=±10mA IO=±10mA IO=10mA IO=–10mA IO=±10mA IO=±10mA IO=10mA IO=–15mA IO=0.1mA IO=–2mA IO=1mA IO=–0.4mA IO=0.4mA IO=–50mA IO=1.0mA No load Min. 0.8VDD VSS 0.7VDD VSS — — — — –0.18 –0.02 VDD–0.7 Max. Unit Applicable Pin VDD 0.2VDD VDD 0.3VDD 1 –1 10 –10 –0.9 –0.1 — V V V V mA mA mA mA mA mA V V V V V V V V V V V V V V V V mA SEG41/LED *3
SEG36/PO5 to SEG40/PO1 *4 COM1 to COM4
*1 C0 to C4
CLOCK, LOAD
DATA I/O C0 to C4 RESET
SEG1 to SEG35, SEG36/PO5 to SEG41/LED *2
2/3VDD–0.7 2/3VDD+0.7 1/3VDD–0.7 1/3VDD+0.7
— VDD–0.65
VSS+0.7 —
2/3VDD–0.65 2/3VDD+0.65 1/3VDD–0.65 1/3VDD+0.65
— 3.0 — 3.5 — 4.1 — 2.5 — —
VSS+0.65
— 0.4 — 1.0 — 0.4 — 0.4 0.45
DATA I/O INT R0 to R4 *5 VDD
*1 *2 *3 *4 *5
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 Switching Characteristics
MSM9006-01, -02
(VDD=5V±10%, Ta=–40 to +85°C) Paramater Clock Frequency Clock Pulse Width Rise/Fall Time Data Setup Time Data Hold Time Load Pulse Width ClockÆLoad Time LoadÆClock Time Output Delay Time 1 Output Delay Time 2 Symbol fCP tWCP tr, tf tDSU tDHD tWLD tCL tLC tpd1 tpd2*1 Condition — — — — — — — — CL=50pF — Min. — 200 — 100 100 200 100 200 — — Max. 2.0 — 50 — — — — — 300 300 Unit MHz ns ns ns ns ns ns ns ns ns
*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
0.8VDD
tWCP tf
0.2VDD
0.8VDD 0.2VDD
CLOCK
1/fCP tDSU tDHD DATAI/O 0.8VDD 0.2VDD (During input mode) tWLD tCL LOAD
0.8VDD
tLC
0.2VDD
tpd1 DATAI/O (When changing from input mode to output mode) HiZ 0.8VDD 0.2VDD tpd2 DATAI/O (When changing from output mode to intput mode) HiZ
tpd1
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 "H" "L" LCD and LED Display ON OFF Port "H" "L" Key Status ON 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 Display Data Input
MSM9006-01, -02
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
,, ,
DATA I/O
,, ,, ,, ,,
D1
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 Keyscan
MSM9006-01, -02
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 Display ON, Display OFF
MSM9006-01, -02
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 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 F4 F5 F6 F7 F8 F9 0 0 0 0 0 1 1 1 1 1 1 0 0 1 0 1 1 1 0 0 1 0 1 ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ 0 1 0 1 ¥ 0 1 0 1 ¥ ¥ ¥ ¥ ¥ Operation
MSM9006-01, -02
Display Data Input (Corresponds to common 1) Display Data Input (Corresponds to common 2) Display Data Input (Corresponds to common 3) Display Data Input (Corresponds to common 4) Key Data Output Display Data Input (1) + Key Data Output Display Data Input (2) + Key Data Output Display Data Input (3) + Key Data Output Display Data Input (4) + Key Data Output Display OFF Display ON Keyscan Stop + Key Data Output Keyscan Stop Keyscan Start + Key Data Output (*1) ¥ : Don't care (*2) (*2)
S/P5 S/P4 S/P3 S/P2 S/P1 S/L LCD/Output Port, LED Pin Setting
*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 Data Configuration
Input data
MSM9006-01, -02
First Bit (Corresponds to SEG 41/LED)
Corresponds to SEG 40/PO1 Corresponds to SEG 35/PO5
Last Bit
Corresponds to SEG 1
Corresponds to SEG 35
C6
C5
C4
C3
C2
C1
C0 D41 D40
D8
D7
D6
D2
D1
Command
LCD Display Data
LCD/LED 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 025 R4 R3 R2 R1 R0 01 First Bit
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 400 300 VDD = 5V Ta = 25°C 2
3 4 5 6 8
200
fFRM [Hz]
150
100 CO=0.01mF 70
10 15
50 CO=0.022mF 30 20 CO=0.033mF CO=0.047mF 50 20 30 40
20
33 39
62 RO [kW]
82
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
TSCN [ms]
¡ 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