KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD INTRODUCTION The KS0076B is a dot matrix LCD driver & controller LSl which is fabricated by low power CMOS technology. FUNCTION • Character type dot matrix LCD driver & controller • Internal driver: 16 common and 40 segment signal output. • Display character format; 5 x 7 dot + cursor, 5 x 10 dots + cursor • Easy Interface with a 4-bit or 8-bit MPU • Display character pattern: 5 x 7 dots format: 192 kinds, 5 x 10 dots format: 32 kinds • The special character pattern can be programmable by character generator RAM directly. • A customer character pattern can be programmable by mask option.(KS0076B-00 : Standard type) • Automatic power on reset function. • It can drive a maximum 80 characters by using the KS0065B or KS0063 externally. • It is possible to read both Character Generator and Display Data RAM from MPU. FEATURES • Wave form: M signal B type • Internal Memory - Character Generator ROM: 8320bits - Character Generator RAM: 512 bits - Display Data RAM: 80 x 8bits for 80 digits. • Power supply Voltage; +5V ±10% • Supply voltage for display : 0V(V5) • CMOS process • 1/8 duty, 1/11 duty or 1/16 duty: selectable (1/8 duty; 5x7 dots format 1 line, 1/11 duty; 5x10 dots format 1 line, 1/16 duty: 5x7 dots format 2 line) • 80 QFP or bare chip available . 80 QFP KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD BLOCK DIAGRAM Power V1 Parallel/serial supply V2 Data conversion for V3 LCD V4 Drive V5 Circuit 5 5 Busy Charater Character Cursor Flag Generator Generator Blink ROM RAM Control ( CG ROM ) ( CG RAM ) Circuit 8320 bits 512 bits DB0 ~ DB3 Input 8 8 Data 8 DB4 ~ DB 7 segment Register 40 - bit ( DR ) 7 Output Display Buffer 7 R/W 40 - bit 40 40 Segment Shift Latch Signal Register Circuit Driver signal 40 ( S - S ) 1 40 Data RAM ( DD RAM ) RS 80¡¿8 bits 8 E 8 Instruction Instruction Register Decoder ( IR ) ( ID ) D 7 Address Counter ( AC ) 7 OSC 1 16 - bit 16 Signal Register Driver Timing 16 CLK1 Generation OSC 2 Common Shift CLK2 Circuit M VDD GND Fig. 1. KS0076B functional block diagram. common signal ( C 1 - C16 ) KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD DB2 DB3 DB4 DB5 DB6 DB7 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 S40 S39 PIN CONFIGURATION 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 S38 65 40 DB1 S37 66 39 DB0 S36 67 38 E S35 68 37 R/W S34 69 36 RS S33 70 35 D S32 71 34 M S31 72 KS0076B 33 VDD S30 73 32 CLK2 S29 74 31 CLK1 S28 75 30 V5 S27 76 29 V4 S26 77 28 V3 S25 78 27 V2 S24 79 26 V1 S23 80 25 OSC2 S16 S15 S14 OSC1 S17 GND S18 S1 S19 S2 S20 S3 S21 S4 S22 Fig. 2. 80 QFP Top View S5 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 S6 8 S7 7 S8 6 S9 5 S10 4 S11 3 S12 2 S13 1 KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD PIN DESCRIPTION PIN (NO) VDD(33) VSS(GND) (23) V1-V5 (26-30) S1-S40 (22-1, 80-63) C1-C16 (47-62) OSC1, OSC2 (24, 25) CLK1 (31) INPUT/OUTPUT Power Output NAME DESCRIPTION Operating Voltage for logical circuit (5V±10%) 0V (GND) Supply Voltage Bias voltage level fro LCD driving Segment output Segment signal output for LCD driving Output Common output Intput (OSC1) Output (OSC2) Oscillator Output Data latch Cock CLK2 (32) Data shift clock M (34) Alternated signal for LCD driver output Display data interface D (35) E (38) R/W (37) Intput RS (36) DB0-DB7 (39-46) Enable Read/Write Register select Input / Output Data interface Common signal output for LCD driving Both pin connected to Rf resistor or ceramic resonator for internal oscillator circuit. In case of external frequency use only, the frequency is input to OSC1 terminal. Clock output terminal for the serially transfered data to be latched to the driver. Clock output terminal used when D terminal data output shifts the inside of the driver. The alternating signal to convert LCD drive waveform to AC INTERFACE Power supply LCD LCD Resistor or Ceramic Resonator KS0065B or KS0063 Character pattern data, which is corresponding to each common signal, is supplied to driver serially. High Selection Low Non selection Start enable signal to read or write the data R/W signal input is used to select the read/write mode High Read mode Low Write Mode Register selection input High Data register (for read and write) Low Instruction register (for write), Busy flag, address counter (for read) Used for data transfer between the MPU and KS0076B. These terminals are for data bus with bidirectional three-state. Initial 4 bit (DB0-DB3) are not used during 4-bit operation (DB7 can be used as a busy flag) MPU MPU MPU KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD Internal logic of input/output terminal Logic diagram Input/output Input Applicable pin No E VDD Pull up with VDD RS, R/W VDD pull up Output CLK1, CLK2 VDD M,D Input VDD DB0 - DB 7 VDD Output VDD Enable Data KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD MAXIMUM ABSOLUTE LIMIT(Ta=25°C) Characteristic Symbol Value VDD Operating Voltage -0.3~+7.0 Driver Supply Voltage VLCD -0.3~VDD+0.3 Input Voltage VIN -0.3 ~ VDD +0.3 Power Dissipation PD 500 Operating Temperature T OPR -20~+75 Storage Temperature -55~+125 T STG * Voltage greater than above may damage to the circuit (VDD≥V1≥V2≥V3≥V4≥V5) Unit V V V mW °C °C ELECTRICAL CHARACTERISTICS DC Characteristics(VDD= +5V±10%, VSS=0V, Ta=-20°C ~+75°C) Characteristic Symbo l VDD IDD1 Operating Voltage OperatingCurrent(*1) IDD2 Input Voltage 1 High Low High Low High Low High Low COM SEG Test condition Min 4.5 Ceramic resonator fosc=250KHz Resistor oscilation external clock operation fosc=270KHz 2.2 -0.3 VDD-1.0 -0.2 IOH=-0.205mA 2.4 IOL=1.2mA 0.9VDD IO=-40µA IO=40µA IO=±0.1mA VIN=0 or VDD -1 VDD=5V (test pull up R) -50 125 45 190 Rf=91KΩ±2% 245 VIH1 VIL1 Input Voltage 2 VIH2 VIL2 Output Voltage 1 VOH1 VOL1 Output Voltage 2 VOH2 VOL2 Voltage Drop (*2) VdCOM VdSEG Input Leakage Current ILKG Input Low Current IIL Frequency(*3) fEC External Clock Duty duty Rise Time tR Fall Time tF Internal Clock Frequency(*3) fOSC1 Ceramic Resinator Oscillation fOSC2 Frquency(*3) LCD Driving Voltage(*4) VLCD1 VDD-V5 VLCD2 1/5 bias 1/4 bias 4.6 3.0 Typ Max Unit 0.55 5.5 0.8 V mA 0.35 0.6 -125 250 50 270 250 VDD 0.6 VDD 1.0 0.4 0.1VDD 1 1 1 -250 350 55 0.2 0.2 350 255 - VDD VDD Applicable Pin E, OB0-DB7, R/W, RS OSC1 DB0-DB7 V µA KHz % µs µs KHz V CLK1, CLK2, M D C1-C16 S1-S40 E RS,R/W,DB0-DB7 OSC1 OSC1, OSC2 V1 ~ V5 Note: *1) Applies to the current value flown in terminal VDD when power is input as follows; VDD=5V, GND=0V, V1 = 3.75V, V2 = 2.5V, V3 = 2.5V, V4 = 1.25V and V5 = 0V. *2) Applied to the voltage drop occuring from terminals VDD, V1, V4 and V5 to each common terminal (C1-C16) when 0.1mA is flown in or out to and from all COM and SEG terminals, and also to voltage drop occuring from terminals VDD, V2, V3 and V5 to each SEG terminal S1-S40. When the output level is at VDD, V1 or V2 level, 0.1 mA is flown out, while 0.1 mA flow in when the output level is at V3, V4, or V5 level. This occurs when 5V is input to VDD, V1 and V3 or to V2, V4, and V5 respectively. KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD *3) Oscillator circuit Resistor circuit External clock cirucit *4) Input the voltage listed in the table below to V1-V5 Duty Bias 1/8, 1/11 1/4 V1 VDD - VLCD/4 V2 VDD - VLCD/2 V3 VDD - VLCD/2 V4 VDD - 3VLCD/4 V5 VDD - VLCD *VLCD is the LCD driving voltage, refer to the initial set of the instruction code. Power 1/16 1/5 VDD - VLCD/5 VDD - 2VLCD/5 VDD - 3VLCD/5 VDD - 4VLCD/5 VDD - VLCD KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD AC Characteristics(VDD=5V±10%, VSS=0V Ta=-20 ~ +75°C) (1) Write mode (Writing data from Micom to KS0076B) Characteristic E Cycle Time Symbol tc Min 500 Typ - Max - Unit ns Test pin E E Rise Time tR - - 25 ns E E Fall Time tF - - 25 ns E E Pulse Width ( High, Low) tw 220 - - ns E R/W And RS Set-Up Time tSU1 40 - - ns R/W, RS R/W And RS Hold Time tH 10 - - ns R/W, RS Data Set-Up Time tSU2 60 - - ns DB0 ~ DB7 Data Hold Time tH2 10 - - ns DB0 ~ DB7 RS VIH1 VIH1 VIL1 VIL1 tH1 tSU1 R/W VIL1 VIL1 tw E tH1 VIH1 VIH1 VIL1 VIL1 tSU2 VIL1 tF tH2 tR VIH1 DB0 - DB7 VIL1 VIH1 Valid Data VIL1 tc (2) Read mode (Reading data from KS0076B to Micom) Characteristic E Cycle Time Symbol tc Min 500 Typ - Max - Unit ns Test pin E E Rise Time tR - - 25 ns E E Fall Time tF - - 25 ns E E Pulse Width ( High, Low) tw 220 - - ns E R/W And RS Set-Up Time tSU 40 - - ns R/W, RS R/W And RS Hold Time tH 10 - - ns R/W, RS Data Output Delay Time tD - - 120 ns DB0 ~ DB7 Data Hold Time tDH 20 - - ns DB0 ~ DB7 KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD V IH1 V IH1 V IL1 RS V IL1 tH tSU R/W V IL1 tw tF tH V IH1 E V IL1 V IL1 V IL1 tR tDH tD V IH1 D B0 - D B7 V IH1 Valid Data V IL1 V IL1 tc (3) Interface mode with KS0065B, KS0063 Characteristic Clock Pulse Width High Clock Pluse Width Low Data Set-Up Time Data Hold Time Clock Set-Up Time M Delay Time Symbol tWCKH tWCKL tSU tDH tCSU tDM Min 800 800 300 300 500 -1000 0.9VDD Typ - Max 1000 0.9VDD CLK1 tW C K H tW C K H tC S U CLK2 0.9VDD 0.9VDD 0.1VDD 0.1VDD tC S U D M 0.1VDD tW C K L 0.9VDD 0.1VDD 0.9VDD 0.1VDD tS U tD H 0.9VDD tD M Unit ns ns ns ns ns ns Test pin CLK CLK D D CLK M KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD CONTROL and DISPLAY COMMAND Command DISPLAY CLEAR RETURN HOME ENTRY MODE SET RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 L L L L L L L L L L L L L L L L L L L L L L L H L H I/D H X SH Excution Remark time (fosc=250KHz) 1.64ms 1.64ms cursor move to first digit 40µs •I/D; set cursor move direction H Increase I/D Decrease L •SH: Specifies shift of display display is shifted H SH L DISPLAY ON/OFF L L L L L L H D C B 40µs display is not shifted •Display D H Display on L Display off H Cursor on L Cursor off •Cursor C •Blinking H Blinking on L Blinking off SC H L Display shift R/L H Right shift L Left shift H L 8 bits interface H 2 line display L 1 line display H 5x10 dots L 5x7 dots B SHIFT SET FUNCTION L L L L L L L L L H H DL S/C R/L N F X X X X 40µs 40µs DL N F Table 1. Cursor move 4 bits interface KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD CONTROL and DISPLAY COMMAND (continued) Command SET CG RAM ADDRESS SET DD RAM ADDRESS READ BUSY FLAG & ADDRESS WRITE DATA READ DATA X: don’t care Excution Remark time (fosc=250KHz) CG RAM Data is sent and CG RAM address 40µs received after this setting (corresponds to cursor address) DD RAM Data is sent and DD RAM address 40µs recevied after this setting Address Counter used for 0µs Busy Both DD & CG RAM address BF H Ready L RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 L L L L L H L H BF H H H L H Read Data Write Data Table 1 46µs 46µs - Reads BF indication internal operating is being performed. - reads address counter contents Write data into DD or CGRAM Read data from DD or CGRAM KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD APPLICATION INFORMATION ACCORDING TO LCD PANEL C1 C8 S1 KS0076B S 40 2) LCD Panel: 8 characterx1 line character format; 5x10 dots + 1 cursor line (1/4 bias, 1/11 duty) C1 C11 KS0076B S1 S40 ~ ~~~~~~~ 1) LCD Panel:8 characterx1 line character format;5x7 dots + 1 cursor line(1/4 bias, 1/8 duty) KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD 3) LCD Panel : 8 character x 2 line character format; 5 x 7 dots + 1 cursor line (1/5 bias, 1/16 duty) C1 C8 C9 KS0076B C 16 S1 S 40 4) LCD Panel : 16 character x 1 line Character format;5x7 dots + 1 cursor line (1/5 bias, 1/16 duty) C1 C8 KS0076B S1 S40 C9 C16 KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD 5) LCD Panel : 4character x 2 line character ; 5x 7 dots + 1 cursor line (1/4 bias, 1/8 duty) S1 S 20 C1 C8 KS0076B S 21 S 40 BIAS VOLTAGE DIVIDE CIRCUIT KS0076B KS0066 KS0076B KS0066 VDD V1 V2 V3 V4 VDD V5 VDD ( +5V ) V1 V2 V3 V4 V5 VDD ( + 5V ) R R R R R R R R GND GND ( 1/4 bias, 1/8 or 1/11 duty ) -5V or GND R ( 1/5 bias, 1/16 duty ) -5V or GND C1 ~ C16 KS0076B DB0 ~ DB7 S 1 ~ S 80 D OSC1 OSC2 VSS M CLK1 CLK2 VDD V1 V2 V3 V4 V5 To MPU 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD KS0076B APPLICATION CIRCUIT KS0065B LCD Panel DL2 DR1 SC1 ~ SC40 DL2 DR1 DL1 DR2 FCS CL1 SHL1 CL2 SHL2 M VSS VDD V6 V5 V4 V3 V2 V1 VEE SC1 ~ SC40 DL2 DR1 DL1 DR2 FCS CL1 SHL1 CL2 SHL2 M VSS VDD V6 V5 V4 V3 V2 V1 VEE SC1 ~ SC40 DL1 DR2 FCS CL1 SHL1 CL2 SHL2 M VSS VDD V6 V5 V4 V3 V2 V1 VEE KS0065B KS0065B VDD V1 V2 V3 V4 V5 GND VLCD ( 1/5 bias ) When KS0065B is externally connected to the KS0076B, you can increase the number of display digits up to 80 characters. KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD PAD DIAGRAM KS0076B 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 1 62 2 61 3 60 4 59 5 58 6 7 57 8 56 9 55 Y 10 54 11 53 12 (0,0) X 52 13 51 14 50 CHIP SIZE : 3630 ¡ ¿4450 PAD SIZE : 100¡ ¿100 UNIT : ¥ì m 15 16 49 48 17 47 18 19 46 20 45 21 44 22 43 42 41 23 24 25 26 27 28 29 30 * “KS0076B” Marking : easy to find the PAD No.1 31 32 33 34 35 36 37 38 39 40 KS0076B 16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD PAD LOCATION PAD NUMBER PAD UNIT (µm) COORDINATE PAD PAD PAD PAD COORDINATE Y X NUMBER NAME 55 -673.5 -1911.5 C9 COORDINATE Y X 717.5 1630 1 NAME S22 X -1630 Y 1816.5 2 S21 -1630 1676.5 29 V4 -489.5 -1911.5 56 C10 1630 857.5 3 S20 -1630 1536.5 30 V5 -305.5 -1911.5 57 C11 1630 997.5 4 S19 -1630 1396.5 31 CLK1 -121.5 -1911.5 58 C12 1630 1166 5 S18 -1630 1256.5 32 CLK2 62.5 -1911.5 59 C13 1630 1306 6 S17 -1630 1116.5 33 VDD 240.5 -1911.5 60 C14 1630 1446 7 S16 -1630 976.5 34 M 409.5 -1911.5 61 C15 1630 1586 8 S15 -1630 836.5 35 D 593.5 -1911.5 62 C16 1630 1276 9 S14 -1630 696.5 36 RS 777.5 -1911.5 63 S40 1630 1918 10 S13 -1630 556.5 37 R/W 961.5 -1911.5 64 S39 1104.5 2040 11 S12 -1630 416.5 38 E 1145.5 -1911.5 65 S38 964.5 2040 12 S11 -1630 276.5 39 DB0 1329.5 -1911.5 66 S37 824.5 2040 13 S10 -1630 136.5 40 DB1 1513.5 -1911.5 67 S36 684.5 2040 14 S9 -1630 -3.5 41 DB2 1501.5 -1573 68 S35 544.5 2040 15 S8 -1630 -143.5 42 DB3 1501.5 -1389 69 S34 404.5 2040 16 S7 -1630 -283.5 43 DB4 1501.5 -1205 70 S33 264.5 2040 17 S6 -1630 -423.5 44 DB5 1501.5 -1021 71 S32 124.5 2040 18 S5 -1630 -563.5 45 DB6 1501.5 -837 72 S31 -15.5 2040 19 S4 -1630 -703.5 46 DB7 1501.5 -653 73 S30 -155.5 2040 20 S3 -1630 -843.5 47 C1 1630 -452 74 S29 -295.5 2040 21 S2 -1630 -983.5 48 C2 1630 -312 75 S28 -435.5 2040 22 S1 -1630 -1123.5 49 C3 1630 -172 76 S27 -575.5 2040 23 GND -1630 -1722.5 50 C4 1630 -32 77 S26 -715.5 2040 24 OSC1 -1401.5 -1911.5 51 C5 1630 108 78 S25 -855.5 2040 25 OSC2 -1217.5 -1911.5 52 C6 1630 248 79 S24 -995.5 2040 26 V1 -1041.5 -1911.5 53 C7 1630 388 80 S23 -1135.5 2040 27 V2 -857.5 -1911.5 54 C8 1630 528 NUMBER NAME V3 28 Standard Character Pattern (KS0076B-00)