CM2916 LCD Driver with Key Scan(4*8) . General Description: 此 IC 是針對 VCD/DVD LCD 面板而設計,有 Green mode(省電控制)的功能,可以讓系 統擁有 Stand-by mode(小於 1W 的耗電),希望讓客戶成本降低,產品更有競爭力。 . Features: 工作電壓 2.2V-5.5V LCD RAM read condition:2.6V-5.5V RC 振盪器需要外掛一個固定電阻 15KΩ和電容 300pF,其頻率為 256KHZ (default on) 可以推動 32 function key Built-in CM2221/CM2222 decoder Provide power saving key function(from CPU initial or External EEPROM) Provide 24Cxx EEPROM interface(read only) Provide 4 pin general output port share with segment 提供簡單串接介面給 LCD 介面使用 液晶驅動 52 SEG/5 COM or 53 SEG/ 4COM or 54 SEG/3 COM (select by software), 1/3 duty or 1/4 duty or 1/5 duty,1/3 bias 提供內部 RESET 線路(Power on reset + LVR) 提供 64 pin QFP package . Application: z z z z VCD 面板控制器 DVD 面板控制器 音響面板控制器 LCD DRIVER (52 SEG*5 COM) * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 1 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) SEG26 SEG25 SEG24 SEG23 SEG22 SEG21 SEG20 SEG19 SEG18 SEG17 SEG16 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 . Pin Assignment S7DI SEG27 S6DO SEG28 S5O4 SEG29 S4O3 SEG30 S3O2 SEG31 S2O1 SEG32 CM2916 S1CM4 S0CM3 SEG33 SEG34 S40C1 S41C2 S42C3 S43C4 S44C5 S45C6 S46C7 S47C8 S48R1 S49R2 S50R3 S51R4 S39LV S52IR VDD S53GO SEG38 VSS SEG37 VLCD ROSC SEG36 COM0 DIO COM1 CKRB SEG35 CKWB COM2 * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 2 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) . PAD Position Chip size:2130*2330 um**2 No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 Name DIO ROSC VSS S53GO S52IR S51R4 S50R3 S49R2 S48R1 S47C8 S46C7 S45C6 S44C5 S43C4 S42C3 S41C2 S40C1 S39LV SEG38 SEG37 SEG36 SEG35 X -950 -950 -950 -950 -950 -950 -950 -950 -950 -950 -950 -950 -950 -950 -950 -950 -819 -702 -585 -468 -351 -234 Y 738.4 610.6 489.6 372.6 255.6 138.6 21.6 -95.4 -212.4 -329.4 -446.4 -563.4 -680.4 -797.4 -914.4 -1045 -1045 -1045 -1045 -1045 -1045 -1045 No. 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 Name SEG34 SEG33 SEG32 SEG31 SEG30 SEG29 SEG28 SEG27 SEG26 SEG25 SEG24 SEG23 SEG22 SEG21 SEG20 SEG19 SEG18 SEG17 SEG16 SEG15 SEG14 SEG13 X -117 0 117 234 351 468 585 702 819 950 950 950 950 950 950 950 950 950 950 950 950 950 Y -1045 -1045 -1045 -1045 -1045 -1045 -1045 -1045 -1045 -1045 -914.4 -797.4 -680.4 -563.4 -446.4 -329.4 -212.4 -95.4 21.6 138.6 255.6 372.6 No. 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 Name SEG12 SEG11 SEG10 SEG9 SEG8 S7DI S6DO S5O4 S4O3 S3O2 S2O1 S1CM4 S0CM3 COM2 COM1 COM0 VLCD VDD CKWB CKRB X 950 950 950 950 870 727.8 610.8 493.8 376.8 259.8 142.8 9.5 -112.7 -234 -352 -470 -589 -720.7 -950 -950 Y 489.6 626.6 743.6 884 1045 1045 1045 1045 1045 1045 1045 1045 1045 1045 1045 1045 1045 1045 1019.4 874.5 * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 3 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) . Pin Description Name SEG53/GOUT SEG52/IRI SEG51/R4, SEG50/R3 SEG49/R2, SEG48/R1 SEG47/C8, SEG46/C7, SEG45/C6, SEG44/C5, SEG43/C4, SEG42/C3, SEG41/C2, SEG40/C1 SEG39-8 SEG7/EDA SEG6/ECL SEG5/O4, SEG4/O3, SEG3/O2, SEG2/O1 COM4/SEG1, COM3/SEG0 COM2-COM0 VLCD VDD CKWB CKRB DIO I/O O I/O I/O O P P I I I/O ROSC VSS IO P O O I/O O O O Description LCD pin or Green pin output (20 mA @Vol=0.5V, 5V) LCD pin or IR receiver 資料輸入腳 LCD pin or 鍵盤輸入腳(active high) pins 1 1 4 LCD segment output pin or 鍵盤輸入腳 8 LCD segment output pin LCD segment output pin or 24Cxx interface mode LCD segment output pin or 24Cxx interface mode LCD segment output pin or General output port 32 1 1 4 LCD segment pin or LCD common output pin 2 LCD common output pin LCD power pin Power pin 串接輸入控制腳,low active,有 pull high 電阻 75Kohm@5V 串接輸入控制腳,low active,有 pull high 電阻 75Kohm@5V 串接輸入資料腳,有 pull high 電阻 75Kohm@5V(DSP 是 3.3V) RC 振盪線路腳 Ground pin Total Pin 3 1 1 1 1 1 1 1 64 Note – Please notice input pin pull low/high or output pin driving current capacity in this table. * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 4 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) . AC / DC Characteristics Absolutely max. ratings ITEM Operating Temperature Storage Temperature Supply Voltage Voltage to input terminal SYMBOL Top Tsto VDD Vin RATING -20℃- +70℃ -50℃- +125℃ 5.5 Vss-0.3 to Vdd+0.3 UNIT ℃ ℃ V V D.C. Characteristics (Condition : Ta= 25 ± 3 ℃,RH ≦ 65 %,VDD =+ 5V,VSS=0V) Symbol Condition min. typ. Max. Item Operating voltage VDD 2.2 5 5.5 Power consumption IOPR System clock at 256Khz RC 400 800 current oscillator, LCD off, no load, @5V stand by current Ist System halt, No load, RC 1 2 oscillator off, LCD off, @5V Input low voltage for VIL1 0 0.3VDD input pin Input high voltage for VIH1 0.7VDD VDD input pin RC oscillator VST 2.7 start-up voltage RC oscillator VSU 2.6 sustain voltage GOUT source current IOH 8 VDD=5V, VOH=4.5V GOUT sink current IOL 20 VDD=5V, VOL=0.5V O1-O4 source current IOH 3 VDD=5V, VOH=4.5V 6 O1-O4 sink current IOL VDD=5V, VOL=0.5V Segment output Rseg VLCD = 4.5V 10 20 impedance (從 Rbias 分壓端點到輸出端) Common output Rcom VLCD = 4.5V 2 4 impedance (從 Rbias 分壓端點到輸出端) R-bias current(default) IR1 VLCD = 4.5V 100 200 300 R-bias current IR2 VLCD = 4.5V 25 50 70 unit V uA uA V V V V mA mA mA mA Kohm Kohm uA uA * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 5 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) A.C. Characteristics (Condition : Ta= 25 ± 3 ℃,RH ≦ 65 %,VDD =+ 5V,VSS=0V) Item Symbol Condition min. System clock fSYS RC oscillator @5v, external 5% 180 resistor and 15% capacitor LCD frame frequency FLCD1 1/3 duty 60 LCD frame frequency FLCD2 1/4 duty 45 LCD frame frequency FLCD 1/5 duty 36 FCK 串行 clock @5V,Clock duty 50% CKWB/CKRB TSYNC @5V 串行同步控制 CKWB/CKRB typ. 256 Max. 332 unit KHz 85 64 51 1 110 83 66 HZ HZ HZ MHz 500 ns Note:如果發射器是用 resonator 的話, CM2916在解碼的設計上,可以容許有 40% 的 RC oscillator 的頻率誤差。 * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 6 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) . Block Diagram Serial Interface Control Circuit RC Oscillator DATA OUT DECODER LCD RAM Low Voltage Reset/ Detector CODE SETTING EEPROM INTERFACE LCD DRIVER BIAS CIRCUIT KEY SCAN OUTPUT PORT RLCD-2 * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 7 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) . Function Description 1. CONTROL REGISTER TABLE 位址 Register 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH 0BH 0CH 0DH 0EH 0FH 10H 11H 12H 13H 14H 15H 16H 17H 18H 19H 1AH 1BH 1CH 1DH 1EH 1FH 20H 21H 22H 23H 24H 25H 26H 27H 28H 29H 2AH 2BH 2CH 2DH 2EH 2FH 30H 31H SEG0 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 Bit3 Bit2 Bit1 Bit0 Initial COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---- COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---- COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---- COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX R/W RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---- RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---- RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---- RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 8 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) 位址 Register 32H 33H 34H 35H 36H 37H 38H 39H 3AH 3BH 3CH 3DH 3EH 3FH 40H 41H 42H 43H 44H 45H 46H 47H 48H 49H 4AH 4BH 4CH SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG38 4DH LCDC1 4EH SEG39 4FH LCDC2 50H SEG40 51H LCDC3 52H SEG41 53H LCDC4 54H 55H 56H 57H 58H 59H 5AH 5BH 5CH 5DH 5EH 5FH 60H 61H 62H 63H 64H SEG42 GKEYE0 SEG43 GKEYE1 SEG44 GKEYF0 SEG45 GKEYF1 SEG46 GKEYG0 SEG47 GKEYG1 SEG48 GKEYH0 SEG49 GKEYH1 SEG50 Bit3 Bit2 Bit1 Bit0 Initial R/W COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 ---COM3 SEG50 (COM4) COM3 SEG51 (COM4) COM3 SEG52 (COM4) COM3 SEG53 (COM4) COM3 GKE3 COM3 GKE7 COM3 GKF3 COM3 GKF7 COM3 GKG3 COM3 GKG7 COM3 GKH3 COM3 GKH7 COM3 COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 ---COM2 SEG46 (COM4) COM2 SEG47 (COM4) COM2 SEG48 (COM4) COM2 SEG49 (COM4) COM2 GKE2 COM2 GKE6 COM2 GKF2 COM2 GKF6 COM2 GKG2 COM2 GKG6 COM2 GKH2 COM2 GKH6 COM2 COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 ---COM1 SEG42 (COM4) COM1 SEG43 (COM4) COM1 SEG44 (COM4) COM1 SEG45 (COM4) COM1 GKE1 COM1 GKE5 COM1 GKF1 COM1 GKF5 COM1 GKG1 COM1 GKG5 COM1 GKH1 COM1 GKH5 COM1 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 COM4 COM0 SEG38 (COM4) COM0 SEG39 (COM4) COM0 SEG40 (COM4) COM0 SEG41 (COM4) COM0 GKE0 COM0 GKE4 COM0 GKF0 COM0 GKF4 COM0 GKG0 COM0 GKG4 COM0 GKH0 COM0 GKH4 COM0 XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW ---RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW XXXX RW RW RW RW XXXX RW RW RW RW XXXX RW RW RW RW XXXX RW RW RW RW XXXX RW RW RW RW XXXX RW RW RW RW XXXX RW RW RW RW XXXX 0000 XXXX 0010 XXXX 0000 XXXX 0010 XXXX 0000 XXXX 0010 XXXX 0000 XXXX 0010 XXXX RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 9 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) 位址 Register 65H 66H 67H 68H CMD1 SEG51 CMD2 SEG52 69H CMD3 6AH 6BH 6CH 6DH 6EH 6FH 70H 71H 72H 73H 74H 75H 76H 77H 78H 79H 7AH 7BH 7CH 7DH 7EH 7FH SEG53 EEC FLAG C14 C58 R14 OUTC OUTD KEY1 KEY2 ROM1L ROM1H ROM2L ROM2H GKEYA0 GKEYA1 GKEYB0 GKEYB1 GKEYC0 GKEYC1 GKEYD0 GKEYD1 Bit3 Bit2 Bit1 Bit0 Initial R/W D7 COM3 LCDB COM3 GOUT/ SEG COM3 EEN LVDF C4/SEG C8/SEG R4/SEG O4/SEG O4 K3 K7 R13 R17 R23 R27 GKA3 GKA7 GKB3 GKB7 GKC3 GKC7 GKD3 GKD7 LVS COM2 LCDD2 COM2 LVREN COM1 LCDD1 COM1 LVEN COM0 TEST COM0 0001 XXXX 0110 XXXX RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW GOUT IRIC STOP 1110 RW RW RW RW COM2 EEFLT KEYF C3/SEG C7/SEG R3/SEG O3/SEG O3 K2 K6 R12 R16 R22 R26 GKA2 GKA6 GKB2 GKB6 GKC2 GKC6 GKD2 GKD6 COM1 EER WKF C2/SEG C6/SEG R2/SEG O2/SEG O2 K1 K5 R11 R15 R21 R25 GKA1 GKA5 GKB1 GKB5 GKC1 GKC5 GKD1 GKD5 COM0 EESET EEOKF C1/SEG C5/SEG R1/SEG O1/SEG O1 K0 K4 R10 R14 R20 R24 GKA0 GKA4 GKB0 GKB4 GKC0 GKC4 GKD0 GKD4 XXXX 1001 0000 0000 0000 0000 0000 0000 0000 0110 0000 0000 0000 0000 0000 0010 0000 0010 0000 0010 0000 0010 RW RW R RW RW RW RW RW R R RW RW RW RW RW RW RW RW RW RW RW RW RW RW R RW RW RW RW RW R R RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW R R RW RW RW RW RW RW RW RW RW RW RW RW RW RW R RW RW RW RW RW R R RW RW RW RW RW RW RW RW RW RW RW RW * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 10 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) A. CMD 的定義如下: 位址 Register 65H 67H CMD1 CMD2 69H CMD3 Bit3 Bit2 Bit1 Bit0 Initial R/W D7 LCDB GOUT/ SEG LVS LCDD2 LVREN LCDD1 LVEN TEST 0001 0110 RW RW RW RW RW RW RW RW GOUT IRIC STOP 1110 RW RW RW RW - LVEN:為 high 時,低壓偵測線路 active。 - LVREN:為 high 時,啟動 low voltage reset 功能,電壓低於設定點,整個 IC 要做 power on reset 的動作。 - LVS:Low 時,低壓設定點為 2.5v +/- 10%,為 high 時,低壓設定點為 3.3v +/- 10%。 - D7:”K7” 的 data,按面板的 key 時,其 “K7” 是抓此 register 輸出。如果是按 remote control key,其 “K7” 則由 remote code 定義。 - LCDD2/LCDD1:(LCDD2/LCDD1)為(00)時,LCD 是 1/4 duty,(LCDD2/LCDD1)為 (01)時,此時 LCD 為 1/3 duty, (LCDD2/LCDD1)為(10)時,此時 LCD 為 1/5 duty, (LCDD2/LCDD1)為(11)時,此時 LCD 為 off。 - LCDB:為 high 時,LCD bias current 為 50uA,Default 為 low,LCD bias current 為 200uA。 - KEYC:為 high 時,(SEG51/R4, SEG50/R3, SEG49/R2, SEG48/R1),選擇 R1-R4 做 key scan 功能。為 low 時,選擇 LCD segment 功能。 - STOP:為 high 時,RC oscillator off,此時系統進入 stand by mode,耗電流小於 1uA,default 為 low state。 - IRIC:為 high 時(default),為有解碼功能, (SEG52/IRI)選擇 IRI 功能。為 low 時,選 擇 LCD segment 功能。 - GOUT:Default 為 high(green mode) ,是 GOUT pin 的 data register。為 low 時,是 CPU operating mode。 - SEG53/GOUT:為 high 時(default) ,(SEG53/GOUT) 選擇 GOUT 功能。為 low 時,選擇 LCD segment 功能。 * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 11 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) LVS 分壓電阻 De-bounce 64us System reset LVDF reg. Band gap LVREN POR LVEN B. EEC 的定義如下: 位址 Register Bit3 Bit2 Bit1 Bit0 Initial 6BH EEN EEFLT EER EESET 1001 EEC R/W RW RW RW RW - EESET:為 high 時(default) ,由 EEPROM 來做 initial,CPU 寫不進來。為 low 時,由 CPU 來做 initial,EEPROM 寫不進來。( GOUT&OUTD register 不受 EESET 設定控制,其先後順 序為:CM2916 read EEPROM 的過程中,CPU 寫不進來,要等 CM2916 read EEPROM 結束 後,GOUT&OUTD 才 release 給 CPU access) - EEN:為 high 時(Default),enable EEPROM interface 功能, (SEG7/EDA, SEG6/ECL)等 pin 為 EEPROM interface pin。為 low 時,此 2 pin(SEG7/EDA, SEG6/ECL)為 segment pin。 - EEFLT:在 EEN 為 high 時,EEFLT 若是也為 high 時,EEPROM 的 interface pin 都要 floating,EEFLT 若是為 low 時,是 normal state。 (此功能是提供在 on board 燒錄 EEPROM 時,把 IC 的 pin 做 floating 控制,以防 IC 被燒壞) - EER:在 EEN 為 high 時,EER 若是也為 high 時,要重讀 EEPROM 的 data 三次(共 約 35 ms 時間),讀完後會自動把此 EER register clear。EER 為 low 時,是 normal state。 - 在 EEPROM mode,EDA 和 ECL pin 有 pull high 500Kohm 的 function,而 read EEPROM 的資料時,EDA pin 有 pull high 75Kohm 的 function。 - Read EEPROM 沒有加仲裁的功能,所以無法同時和其他 IC 一起共用 EEPROM,如果要共 用 EEPROM 的話,可以由同一個 master CPU 來分配 read EEPROM 的時間,就可以避開 bus 仲裁的問題。 * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 12 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) C. EEPROM data 的定義如下: 位址 Register Bit3 Bit2 Bit1 Bit0 Initial 6BH 6CH EEN LVDF EEFLT KEYF EER WKF EESET EEOKF 1001 0000 EEC FLAG R/W RW R RW R RW RW RW R 當 MCU 重下 EER flag 為 high 時(重讀 EEPROM),亦會重新 clear EEOKF flag 為 low。 而此 EER flag 將於 EEPROM read 完成後,硬體會設 EER flag 至 low。 Customer code/ Green key/ D7/ GOUT/ OUTC/ OUTD/ C14/ C58/ R14 等都可以經由 EEPROM 來 initial。如果 check bit 不對或是 END register 不是讀到 “FA” code,則要 clear “EEOKF” 為 low。(若是 EEPROM read 三次都 fail 後,會讓 GOUT=0 來 wake up CPU) 當 MCU 重下 EER flag 為 high 時(重讀 EEPROM),亦會重新 clear EEOKF flag 為 low。 而此 EER flag 將於 EEPROM read 完成後,硬體會設 EER flag 至 low。 MCU 可藉由 EEOKF flag 判斷 EEPROM 是否 load 完成。 Resister name ROMIL ROMIH ROM2L ROM2H GKEYA0 GKEYA1 GKEYB0 GKEYB1 GKEYC0 GKEYC1 GKEYD0 GKEYD1 GKEYE0 GKEYE1 GKEYF0 GKEYF1 GKEYG0 GKEYG1 GKEYH0 GKEYH1 D7 GOUT OUTD OUTC C14 C58 R14 END Address Data bit D0D1D2D3 Check bit D4D5D6D7 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH 0BH 0CH 0DH 0EH 0FH 10H 11H 12H 13H 14H 15H 16H 17H 18H 19H 1AH 1BH B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 XXXB0 XXXB0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 B3B2B1B0 1111 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 0101 1010 EEPROM interface format: DATA n SDA D0 | D1 | D2 | D3 | D4 | D5 |D6 | D7 DATA n+1 D0 | D1 | D2 | D3 | D4 | D5 |D6 | D7 RLCD-B * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 13 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) D. FLAG 的定義如下: 位址 Register Bit3 Bit2 Bit1 Bit0 Initial 6CH LVDF KEYF WKF EEOKF 0000 FLAG R/W R R RW R - LVDF : 偵測電壓低於設定點時,此 flag 會被設為 high - KEYF:有收到新的 key input 時,會 set 此 KEYF flag,CPU 讀完 KEY1/KEY2 後,要把 此 flag clear,以防重複讀 KEY1/ KEY2 - WKF:Power on reset 要把此 flag clear,而 CPU initial 此 chip 時,應該同時 set 此 WKF flag,爾後 CPU 讀此 bit 時,可以判斷此 chip 是 power on initial,或是 wake up。 - EEOKF:讀 EEPROM 的 code OK 後,會 set 此 bit 為 high。 E. C14/ C58/ R14 的定義如下: 位址 Register 6DH 6EH 6FH C14 C58 R14 Bit3 Bit2 Bit1 Bit0 Initial C4/SEG C8/SEG R4/SEG C3/SEG C7/SEG R3/SEG C2/SEG C6/SEG R2/SEG C1/SEG C5/SEG R1/SEG 0000 0000 0000 R/W RW RW RW RW RW RW RW RW RW RW RW RW - C14/ C58/ R14:為 high 時,此 pin 為 key scan function,Default 為 low,此時為 segment function。 F. OUTC/OUTD 的定義如下: 位址 Register 70H 71H OUTC OUTD Bit3 Bit2 Bit1 Bit0 Initial O4/SEG O4 O3/SEG O3 O2/SEG O2 O1/SEG O1 0000 0000 R/W RW RW RW RW RW RW RW RW - OUTC:是選擇 PIN 為 segment 或是 general out port function,為 low (default)時,是 segment function。 - OUTD:是 general out port 的 data register。 * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 14 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) G. KEY1/KEY2 的定義如下: 位址 Register 72H 73H Bit3 Bit2 Bit1 Bit0 Initial K3 K7 K2 K6 K1 K5 K0 K4 0000 0110 KEY1 KEY2 R/W R R R R R R R R ON chip key scan & from external CM2221/CM2222 encoder input KEY NAME K11 K21 K31 K41 K12 K22 K32 K42 K13 K23 K33 K43 K14 K24 K34 K44 K51 K61 K71 K81 K52 K62 K72 K82 K53 K63 K73 K83 K54 K64 K74 K84 K16+K26 K16+K36 DATA CODES K0 K1 K2 K3 K4 K5 K6 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 1 0 0 0 1 1 0 1 0 0 0 0 0 1 1 0 0 0 1 0 1 1 0 0 0 0 1 1 1 0 0 0 1 1 1 1 0 0 0 K7 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 KEY NAME K15 K25 K35 K45 K16 K26 K36 K46 K17 K27 K37 K47 K18 K28 K38 K48 K55 K65 K75 K85 K56 K66 K76 K86 K57 K67 K77 K87 K58 K68 K78 K88 K16+K46 DATA CODES K0 K1 K2 K3 K4 K5 K6 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 1 0 0 1 1 0 0 1 0 0 0 0 1 0 1 0 0 1 0 1 0 1 0 0 0 1 1 0 1 0 0 1 1 1 0 1 0 0 0 0 0 1 1 0 0 1 0 0 1 1 0 0 0 1 0 1 1 0 0 1 1 0 1 1 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 0 0 1 1 1 1 0 0 1 1 1 1 1 0 0 K7 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 K7 is from “D7” data register when on chip key scan. * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 15 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) H. Custom code 定義: 位址 Register 74H 75H 76H 77H ROM1L ROM1H ROM2L ROM2H Bit3 Bit2 Bit1 Bit0 Initial R13 R17 R23 R27 R12 R16 R22 R26 R11 R15 R21 R25 R10 R14 R20 R24 0000 0000 0000 0000 R/W RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW ROM1H/ROM1L,ROM2H/ROM2L 為 custom code 的 programming,custom code 可由三個 方式定義,其優先順序如下: - 由 MASK OPTION - 由 EEPROM 定義 - 由 software programming 來定義 I. Green key 定義: 位址 Register 55H 57H 59H 5BH 5DH 5FH 61H 63H 78H 79H 7AH 7BH 7CH 7DH 7EH 7FH GKEYE0 GKEYE1 GKEYF0 GKEYF1 GKEYG0 GKEYG1 GKEYH0 GKEYH1 GKEYA0 GKEYA1 GKEYB0 GKEYB1 GKEYC0 GKEYC1 GKEYD0 GKEYD1 Bit3 Bit2 Bit1 Bit0 Initial GKE3 GKE7 GKF3 GKF7 GKG3 GKG7 GKH3 GKH7 GKA3 GKA7 GKB3 GKB7 GKC3 GKC7 GKD3 GKD7 GKE2 GKE6 GKF2 GKF6 GKG2 GKG6 GKH2 GKH6 GKA2 GKA6 GKB2 GKB6 GKC2 GKC6 GKD2 GKD6 GKE1 GKE5 GKF1 GKF5 GKG1 GKG5 GKH1 GKH5 GKA1 GKA5 GKB1 GKB5 GKC1 GKC5 GKD1 GKD5 GKE0 GKE4 GKF0 GKF4 GKG0 GKG4 GKH0 GKH4 GKA0 GKA4 GKB0 GKB4 GKC0 GKC4 GKD0 GKD4 0000 0010 0000 0010 0000 0010 0000 0010 0000 0010 0000 0010 0000 0010 0000 0010 R/W RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW GKEYA1/GKEYA0,GKEYB1/GKEYB0,GKEYC1/GKEYC0,GKEYD1/GKEYD0 為 green code 的 programming,green code 可由三個方式定義,其優先順序如下: - 由 MASK OPTION - 由 EEPROM 定義 - 由 software programming 來定義 Wake up 功能敘述如下: - 系統 power on 時,WKF=0,要 read EEPROM 的 data 來做 initial 的動作,以 EEPROM 的 data 來判斷是否要做 wake up 的動作。若是沒有讀到 EEPROM 的 “FA” code 時,就做 wake-up 的動作(GOUT=0)。 - CPU 要 check 此 IC 的 ”WKF” 是否為 ”0”,若是為 “0” 則表示此 IC 是剛 power on, - 當 WKF=1 時,decoder 要判斷客戶碼以及 green code,接收要符合上述的 code,才做 wake-up 的動作(GOUT=0) ,而 CPU 要做 power saving 時,需向 GOUT resister write “1” 的 動作。 * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 16 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) 2. LCD 串列控制格式表 控制碼 功能 Command Mode 寫入 讀取 101 110 功能 Command Mode 寫入 101 位址碼 A6A5A4A3A2A1A0 A6A5A4A3A2A1A0 資料碼 B0B1B2B3 B0B1B2B3 A. 寫入格式 控制碼 位址碼 A6A5A4A3A2A1A0 資料碼 B0B1B2B3 分段寫入: 101 A6A5A4A3A2A1A0 B0B1B2B3 101 A6A5A4A3A2A1A0 B0B1B2B3 B0B1B2B3 A6A5A4A3A2A1A0 B0.. Fck Tsync 連續寫入: 101 B0B1B2B3 B0B1B2B3 Fck Tsync * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 17 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) B. 讀取格式 控制碼 功能 Command Mode 讀取 110 位址碼 A6A5A4A3A2A1A0 資料碼 B0B1B2B3 分段讀取: 110 A6A5A4A3A2A1A0 B0B1B2B3 1 10 B0B1B2B3 B0B1B2B3 A6A5A4A3A2A1A0 B0.. 連續讀取: 110 A6A5A4A3A2A1A0 B0B1B2B3 B0B1B2B3 3. The keyboard form : C1 C2 C3 C4 C5 C6 C7 C8 R1 K11 K12 K14 K22 K32 K42 K17 K27 K18 K21 K31 K41 K15 K25 K16 R2 R3 R4 K13 K23 K33 K43 K24 K34 K44 K35 K45 K26 K36 K46 K37 K47 K28 K38 K48 RLCD-A 4. To set the custom codes ( A0 - - - A15 ) The custom codes ( A0 - - - A15 ) can be set by EEPROM or software programming。The (A0..A15) equal to (R10/ … R17/ R20/ … R27). * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 18 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) 5. LCD pattern * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 19 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) . Application circuit Px Px MCU Px IR rcv. COM 0 -- COM4 O1 SEG 2 - SEG53 O2 VLCD C1 C2 CKRB C3 C4 CKWB C5 C6 DIO C7 IRI C8 VDD 0.1u GND R1 R2 R3 R4 Power supply GOUT ROSC EEPROM ECL EDA GND RLCD-3 * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 20 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) . CM2916 interface(Software) 注意事項: 1. Power on: 1. Power on 後 SEG2、SEG3、SEG4、SEG5 為 default,但可由 EEPROM 之設定更改為 O1、 O2、O3、O4 pin。 2. Power on 後 SEG6/ECL、SEG7/EDA 為 EEPROM INTERFACE,若沒接 EEPROM,則最後 會 keep high 直到 MCU programming(EEN) 此 2 pin 為 segment pin。 3. Power on 後 SEG40~51 為 default ,但可由 EEPROM(C14&C58&R14)分別設定更改為 R1~R4、C1~C8。 4. Power on 後 SEG53/GOUT、SEG52/IRI default 為 GOUT、IRI pin,只能由 MCU programming 為 segment pin 2. Initial:power on 之後 LCD 為 off(LCD1&LCD2 皆為 high) 1. 要 initial 相關 register & LCD register 2. 再設定 LCDD1、LCDD2 register 以決定 LCD duty,並讓 LCD on。 3. GOUT PIN 之使用: 1. GOUT pin 在 power on 後 default 為 high (但可用 EEPROM 之 download 方式改變其初值 )。 2. GOUT pin 為 Hi,使 MCU off(power saving),wake up 則由 green key 決定 wake up。 (green key、ID code 均可由 EEPROM download) 4. Sleep Mode:MCU 在工作時,scan key input。MCU 必須不斷 read KEYF flag,待 read KEYF 為 high 時,MCU 必須 Read key buffer (KEY1、KEY2 register)之 code,MCU 在比對後,若判斷 為 green key,則 write to CM2916(address 69H)之 GOUT flag,使 GOUT 為 high(application 則使 power down)。 5. MCU interface:address 由 high bit serial 寫入 CM2916,但 data 則由 low bit serial 進 CM2916。 (詳見規格書) * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 21 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052 CM2916 LCD Driver with Key Scan(4*8) . Package Information * All specs and applications shown above subject to change without prior notice. 1F-5 NO.66 SEC.2 NAN-KAN RD ., LUCHU , TAOYUAN, TAIWAN Email: [email protected] Tel:886-3-3214525 Http: www.ceramate.com.tw Page 22 of 22 Rev 1.0 Oct. 5, 2004 Fax:886-3-3521052