CM2915 CERAMATE | Alldatasheet

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 19

Technical content

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 1 of 19 Rev 1.0 Aug.1, 2003 . General Description: 此 IC 是針對 VCD/DVD LCD 面板而設計,CM2221整合 LCD driver 功能,並精簡 CM2221 的應用線路,達到成本降低的目標,希望讓客戶的產品更有競爭力。 . Features: — 工作電壓 2.4V-5.5V — RC 振盪器(always on),需要外掛㆒個固定電阻和電容,其頻率為 56.875KHZ 或 是 455KHZ resonator 振盪器 — 可以推動 32 FUNCTION KEY 和 3 個 DOUBLE KEY (64+6 Using D7 pin) — 提供簡單串接介面給 LCD 介面使用 — 液晶驅動 19 SEG/4 COM ,1/4 duty,1/3 bias — 提供內部 RESET 線路 . Application: z VCD 面板控制器 z DVD 面板控制器 z 音響面板控制器 . Pin Description Name I/O Description pins R2-R1 I 鍵盤輸入腳(active high) 2 XI I Resonator 振盪線路腳 1 XO O Resonator 振盪線路腳 1 ROSC I RC oscilallator 振盪線路腳 1 SEG18-0 O LCD segment output pin 19 COM3-COM0 O LCD common output pin 4 SYNCB I 串接輸入控制腳,low active,有 pull high 電阻 140Kohm@5V 1 CKWB I 串接輸入控制腳,low active,有 pull high 電阻 140Kohm@5V 1 DI I 串接輸入資料腳,有 pull high 電阻 140Kohm@5V 1 GND P Ground pin 1 DOUT O 資料輸出腳 1 VDD P Power pin 1 VLCD P LCD power pin 1 D7 I 資料碼設定腳(pull low 280Kohm@5V) 1 C8-C1 I/O Column control for keyboard matrix 8 AIN I 客戶碼設定腳 1 R4-R3 I 鍵盤輸入腳(active high, pull low 200Kohm@5V) 2 Total Pin 47

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 2 of 19 Rev 1.0 Aug.1, 2003 . Pin Assignment 14 7 13 25 RLCD-C NO. NAME X Y NO. NAME X Y NO. NAME X Y 1 R2 -710 650 17 SEG7 -230 -650 33 DOUT 710 287.5 2 R1 -710 517.5 18 SEG6 -115 -650 34 VDD 710 402.5 3 XI -710 402.5 19 SEG5 0 -650 35 VLCD 710 517.5 4 XO -462.2 287.5 20 SEG4 115 -650 36 D7 710 650 5 ROSC -710 287.5 21 SEG3 230 -650 37 C8 575 650 6 SEG18 -710 172.5 22 SEG2 345 -650 38 C7 460 650 7 SEG17 -710 57.5 23 SEG1 460 -650 39 C6 345 650 8 SEG16 -710 -57.5 24 SEG0 575 -650 40 C5 230 650 9 SEG15 -710 -172.5 25 COM3 710 -650 41 C4 115 650 10 SEG14 -710 -287.5 26 COM2 710 -517.5 42 C3 0 650 11 SEG13 -710 -402.5 27 COM1 710 -402.5 43 C2 -115 650 12 SEG12 -710 -517.5 28 COM0 710 -287.5 44 C1 -230 650 13 SEG11 -710 -650 29 SYNCB 710 -172.5 45 AIN -345 650 14 SEG10 -575 -650 30 CKWB 710 -57.5 46 R4 -460 650 15 SEG9 -460 -650 31 DI 710 57.5 47 R3 -575 650 16 SEG8 -345 -650 32 VSS 710 172.5 Chip size : 1540*1650um

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 3 of 19 Rev 1.0 Aug.1, 2003 . AC / DC Characteristics 1 Absolutely max. ratings ITEM SYMBOL RATING UNIT Operating Temperature Top -20℃- +70℃ ℃ Storage Temperature Tsto -50℃- +125℃ ℃ Supply Voltage VDD 5.5 V Voltage to input terminal Vin Vss-0.3 to Vdd+0.3 V 2 D.C. Characteristics Item Symbol Condition min. typ. Max. unit Operating voltage VDD 2.4 5 5.5 V Power consumption current IOPR System clock at 56.875Khz RC oscillator, LCD on, no load, @5V 400 800 uA Input low voltage for input pin VIL1 0 0.3VDD V Input high voltage for input pin VIH1 0.7VDD VDD V RC oscillator start-up voltage VST 2.7 V RC oscillator sustain voltage V SU 2.4 V DOUT source current I IROH VDD=5V, VOH=4.5V 6 12 mA DOUT sink current I IROL VDD=5V, VOL=0.5V 6 12 mA 3 A.C. Characteristics Item Symbol Condition min. typ. Max. unit System clock f SYS RC oscillator @5v 56.875 KHz LCD frame frequency F LCD 1/4 duty 55.5 HZ 串行控制 CKWB FCKWB @5V,Clock duty 50% 500 KHz 串行控制 SYNCB (Reset pulse width of high state) tSYNCB @5V 100 ns

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 4 of 19 Rev 1.0 Aug.1, 2003 . Block Diagram RLCD-2 Serial Interface Control Circuit LCD RAM LCD DRIVER BIAS CIRCUIT RC Oscillator CODE SETTING DATA OUT KEY SCAN

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 5 of 19 Rev 1.0 Aug.1, 2003 . Function Description

1 LCD 控制格式表

控制碼 功能 前置碼 Mode Code 位址碼 資料碼 指令 1 00 0-C7C6C5C4--C3C2C1C0 寫入 1 010 A4A3A2A1A0 B0B1B2B3 功能 控制碼 0-C7C6C5C4--C3C2C1C0 功能描述 Initial State 0-0010—0001 RC 振盪器不給 LCD driver 用& LCD 偏 壓電路 OFF V系統控 制 0-0010—0011 RC 振盪器提供給 LCD driver 用 x 0-0010—0101 LCD 偏壓電路 OFF V液晶顯 示控制 0-0010—0111 LCD 偏壓電路 ON x Note: 此 IC 的 Oscillator 是㆒直振盪的,以㆖『系統控制系統控制 系統控制系統控制』碼只是控制內部 clock 要不要供 給 LCD driver 的線路使用。

2 LCD RAM 位置

COM3 COM2 COM1 COM0 COM3 COM2 COM1 COM0A4A3A2 A1A0 Bit3 Bit2 Bit1 Bit0 A4A3A2 A1A0 Bit3 Bit2 Bit1 Bit0 00H SEG0 10 H SEG9 01H 11 H 02H SEG1 12 H SEG10 03H 13 H 04H SEG2 14 H SEG11 05H 15 H 06H SEG3 16 H SEG12 07H 17 H 08H SEG4. 18 H SEG13. 09H 19 H 0AH SEG5 1A H SEG14 0BH 1B H 0CH SEG6 1C H SEG15 0DH 1D H SEG16 0EH SEG7 1E H SEG17 0FH SEG8 1F H SEG18

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 6 of 19 Rev 1.0 Aug.1, 2003

3 LCD 串列控制格式

A. 寫入格式 功能 前置碼 Mode Code 位址碼 資料碼 寫入 1 010 A4A3A2A1A0 B0B1B2B3 分段寫入: 連續寫入: 1 0 10 A4A3A2A1A0 B0B1B2B3 B0B1B2B3 B0B1B2B3 B0B1B2B3 1 0 10 A4A3A2A1A0 B0B1B2B3 1 0 1 0 A4A3A2A1A0 B0.. B. 控制格式 功能 前置碼 Mode Code 控制碼 指令 1 00 0-C7C6C5C4--C3C2C1C0

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 7 of 19 Rev 1.0 Aug.1, 2003 分段控制格式: 連續控制格式: 1 0 0 0-C7C6C5C4-C3C2C1C0 0-C7C6C5C40-C3C2C1C0 0-C7C6C5.… 1 0 0 0-C7C6C5C4-C3C2C1C0 1 0 0 0-C7C6C5C4-C3C2C1C0

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 8 of 19 Rev 1.0 Aug.1, 2003

4 The keyboard form :

5 Transmission code

A. 同 CM 2221,但是沒有 38Khz carrier 的 Data (Data only)

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 9 of 19 Rev 1.0 Aug.1, 2003 B. Pulse Position Modulation The transmission codes employ the PPM ( Pulse Position Modulation ) method to represent their two logic states by bit-0 ( 1.12 ms ) and bit-1 ( 2.24 ms ) :

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 10 of 19 Rev 1.0 Aug.1, 2003

6 To set the custom codes ( A0 - - - A15 )

The algorithm rule of the custom codes ( A0 - - - A15 ) can be selected by mask option,and the user can choose the CM2915-1 or CM2915-2。 A. The CM2915-1 custom code The value of ROM1 (8 bits) & ROM2 (8 bits) are both “ 00H “,and it is decided by one mask layer 。The A0 - - A7 are set by logical OR between the switches (S0 - - S7) and ROM1。The A8 - - A15 equal some bits be inverted of A0 - - A7,the inversion are decided by logical OR between the switches (S8 - - S15) and ROM2。 For example : CM2915-1 AIN 1 : Switch close S10 S11 S12 S13 S14 S15 0 : Switch open 1N4148 200K 1N4148 200K 1N4148 200K 1N4148 200K 1N4148 200K 1N4148 200K 1N4148 200K 1N4148 200K RLCD-4 S0 - - S7 S8 - - S15 External switch S0 - - - S15 : → 0 1 0 1 0 1 0 0 1 1 0 0 0 1 0 0 ROM1 ROM2 On chip ROM1 ,ROM2 : → 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (S0 - - S7) OR ROM1 A0 - - A7 : → 0 1 0 1 0 1 0 0 (S8 - - S15) OR ROM2 A8’ - - A15’ : → 1 1 0 0 0 1 0 0 1 : non-inversion A0 A1 - - - A5 - - 0 : inversion - - A2B A3B A4B - A6B A7B A8 - - A15 : → 0 1 1 0 1 1 1 1 A0 - - A7 A8 - - A15 Custom codes A0 - - - A15 : → 0 1 0 1 0 1 0 0 0 1 1 0 1 1 1 1

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 11 of 19 Rev 1.0 Aug.1, 2003 B. The CM2915-2 custom code In this case ,the 28 bits on chip MASK ROM ( ROM2 & ROM3-0,ROM3-1,ROM3-2 and ROM3-3 ) is available and it is decided by one mask layer。The value of ROM2 is “ 00H “ and the value of ROM3 is show below “ ROM3 option table “。The A0 - - A2 are set by S0 - - S7 ( “ A0 - - A2 option table “ )。The A3 - - A7 are set by S14 & S15( “ ROM3 option table “ )。The A8 - - A15 equal some bits be inverted of A0 - - A7 and the inversion are decided by logical OR between the switches S8 - - S13 and ROM2。 A0 - - A2 option table ROM3 option table A0 A1 A2 S14 S15 A3 A4 A5 A6 A7 ROM3 S0 = 1 0 0 0 0 0 0 0 0 0 0 ROM3-0 S1 = 1 1 0 0 0 1 1 1 0 0 1 ROM3-1 S2 = 1 0 1 0 1 0 0 0 0 0 1 ROM3-2 S3 = 1 1 1 0 1 1 1 0 1 1 1 ROM3-3 S4 = 1 0 0 1 S5 = 1 1 0 1 S6 = 1 0 1 1 S0 - - S7 are closed must only one. S7 = 1 1 1 1 Note : pr iority S7 > - - - > S0 ( A0 - - A2 option table )

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 12 of 19 Rev 1.0 Aug.1, 2003 For example : CM2915-2 AIN 1 : Switch close S10 S11 S12 S13 S14 S15 0 : Switch open 1N4148 200K 1N4148 200K 1N4148 200K 1N4148 200K 1N4148 200K 1N4148 200K 1N4148 200K 1N4148 200K RLCD-5 S0 - - S7 S8 - - S15 External switch S0 - - - S15 : → 0 0 0 0 0 0 1 0 0 1 0 1 0 0 1 0 ROM2 On chip ROM2 : → 0 0 0 0 0 0 0 0 S0 - -S7 S14,S15 A0 - - A2 ,A3 - - A7 : → 0 1 1 0 0 0 0 1 (S8 - - S13) OR ROM2 A8’ - - A15’ : → 0 1 0 1 0 0 x x 1 : non-inversion - A1 - A3 - - - - 0 : inversion A1B - A2B - A4B A5B A6B A7B A8 - - A15 : → 1 1 0 0 1 1 1 0 A0 - - A7 A8 - - A15 Custom codes A0 - - - A15 : → 0 1 1 0 0 0 0 1 1 1 0 0 1 1 1 0

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 13 of 19 Rev 1.0 Aug.1, 2003 The vaules of the data codes ( D0 - - D7 ) The CM2915 contains 32 function keys 。Each key corresponds to one data code。 The CM2915 provide 3 double keys。 C. The CM2915 data codes : KEY NAME DATA CODES KEY NAME DATA CODES K11 0 0 0 0 0 0 0 0/1 K15 0 0 0 0 1 0 0 0/1 K21 1 0 0 0 0 0 0 0/1 K25 1 0 0 0 1 0 0 0/1 K31 0 1 0 0 0 0 0 0/1 K35 0 1 0 0 1 0 0 0/1 K41 1 1 0 0 0 0 0 0/1 K45 1 1 0 0 1 0 0 0/1 K12 0 0 1 0 0 0 0 0/1 K16 0 0 1 0 1 0 0 0/1 K22 1 0 1 0 0 0 0 0/1 K26 1 0 1 0 1 0 0 0/1 K32 0 1 1 0 0 0 0 0/1 K36 0 1 1 0 1 0 0 0/1 K42 1 1 1 0 0 0 0 0/1 K46 1 1 1 0 1 0 0 0/1 K13 0 0 0 1 0 0 0 0/1 K17 0 0 0 1 1 0 0 0/1 K23 1 0 0 1 0 0 0 0/1 K27 1 0 0 1 1 0 0 0/1 K33 0 1 0 1 0 0 0 0/1 K37 0 1 0 1 1 0 0 0/1 K43 1 1 0 1 0 0 0 0/1 K47 1 1 0 1 1 0 0 0/1 K14 0 0 1 1 0 0 0 0/1 K18 0 0 1 1 1 0 0 0/1 K24 1 0 1 1 0 0 0 0/1 K28 1 0 1 1 1 0 0 0/1 K34 0 1 1 1 0 0 0 0/1 K38 0 1 1 1 1 0 0 0/1 K44 1 1 1 1 0 0 0 0/1 K48 1 1 1 1 1 0 0 0/1 K16+K26 1 0 1 0 1 1 0 0/1 K16+K46 1 1 1 0 1 1 0 0/1 K16+K36 0 1 1 0 1 1 0 0/1 The 8-bit data codes of will define the inverse codes of the other 8-bit data codes ( D8 - - D15 )。 D7 is defined by an external switch. - Code D7=0 -> connect to vdd. - Code D7=1 -> connect to vss.

7 Function Keys control

If two or more keys are depressed simultaneously ( except K16+K26 & K16+K36 & K16+K46 ) ,the transmission is disabled by the multi-depression prevention circuit。As regards the key transmission priority in the case of two depressions,with simultaneous depressions ( ± 36 ms ) transmission is disabled and first depressions,later remainder priority is used。 When a key is pressed,reading of the custom code and key data code is started,and IRO output begins 36 ms later,so that if the key is begin depressed during this 36 ms interval one transmission is performed。If a key is held down for 108 ms or longer,consecutive transmissions of the leader code only are performed while the key is depressed。As a key interruption operation can handle an interval of up to 126 ms ( from ON to ON ) 。It is possible to configure a system with an extremely fast response time。

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 14 of 19 Rev 1.0 Aug.1, 2003 A. Two or more keys are depressed ( except K16+K26 & K16+K36 & K16+K46 ) DOUT 36 ms 108 ms ( min. ) K16 code transmission Kmn input Kmn Enables 36ms < t < 126 ms K16 input K16 Enables 36 ms ( A ) Kmn Enables K16 input K16 Enables t < 36 ms DOUT 36 ms 108 ms ( min. ) Kmn code transmission K16 input K16 Enables 36ms < t < 126 ms Kmn input Kmn Enables 36 ms Page 8/10 DOUT The transmission is disabled. K16 input K16 Enables Kmn input Kmn Enables t < 36 ms ( D ) DOUT The transmission is disabled. Kmn input ( B ) ( C )

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 15 of 19 Rev 1.0 Aug.1, 2003 DOUT 36 ms 108 ms ( min. ) Kmn code transmission t < 108 ms Kmn input Kmn Enables ( E ) DOUT 36 ms 108 ms ( min. ) Kmn code transmission t > 108 ms Kmn input Kmn Enables 108 ms ( min. ) ( F ) To avoid the mistakes made by keyboard scanning or simultaneous two-key input ,excep 3 double key active function (K16+K26,K16+K36,K16+K46) ,the CM2915 is facilitated with 36 ms starting time。 B. The 3 double keys are depressed ( K16+K26 & K16+K36 & K16+K46 ) Kd6 : one of ( K26 or K36 or K46 ) DOUT 36 ms 108 ms K16 code transmission Kd6 input Kd6 Enables t > 126 ms K16 input K16 Enables 36 ms K16+Kd6 code transmission 108 ms The algorithm rule of the custom codes ( A0 - - - A15 ) can be selected by mask option,and the user can choose the CM2915-1 or CM2915-2。

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 16 of 19 Rev 1.0 Aug.1, 2003

8 LCD pattern

要調整 ROSC 的頻率時,請量測 Frame 要為 55.5Hz,至於其生產可容許的誤差範圍,要 以接收器(FLASH ROM)所能辨認的最大頻率範圍來生產。

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 17 of 19 Rev 1.0 Aug.1, 2003

9 Application circuit

(For RC oscillator use) COM 0 -- COM3 SEG0 - SEG18 RLCD-3 VDD SYNCB CKWB DI GND ROSC IR rcv. DOUT 0.1u D7 AIN 200Kohm VLCD 4.3K 30K 1000pF MCU GND Px Px Px Px XI

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 18 of 19 Rev 1.0 Aug.1, 2003 COM 0 -- COM3 SEG0 - SEG18 RLCD-31 VDD SYNCB CKWB DI GND IR rcv. DOUT 0.1u D7 AIN 100 -200 Kohm VLCD 4.3K 100p MCU GND Px Px Px Px XI XO 100p 455Khz

LCD Driver (19*4) with Key Scan (4*8) * All specs and applications shown above subject to change without prior notice. Tel:886-3-3214525 Http: www.ceramate.com.tw Fax:886-3-3521052 Page 19 of 19 Rev 1.0 Aug.1, 2003 COM 0 -- COM3 SEG0 - SEG18 RLCD-32 VDD SYNCB CKWB DI GND RO SC DOUT 0.1u D7 AIN VLCD30K 1000pF MCU GND Px Px Px XI