EPL65132 65 COM / 132 SEG LCD Driver Product Specification DOC. VERSION 1.8 ELAN MICROELECTRONICS CORP. January 2006 Trademark Acknowledgments: IBM is a registered trademark and PS/2 is a trademark of IBM Windows is a trademark of Microsoft Corporation ELAN and ELAN logo are trademarks of ELAN Microelectronics Corporation Copyright © 2006 by ELAN Microelectronics Corporation All Rights Reserved Printed in Taiwan The contents of this specification are subject to change without further notice. ELAN Microelectronics assumes no responsibility concerning the accuracy, adequacy, or completeness of this specification. ELAN Microelectronics makes no commitment to update, or to keep current the information and material contained in this specification. Such information and material may change to conform to each confirmed order. In no event shall ELAN Microelectronics be made responsible for any claims attributed to errors, omissions, or other inaccuracies in the information or material contained in this specification. ELAN Microelectronics shall not be liable for direct, indirect, special incidental, or consequential damages arising from the use of such information or material. The software (if any) described in this specification is furnished under a license or nondisclosure agreement, and may be used or copied only in accordance with the terms of such agreement. ELAN Microelectronics products are not intended for use in life support appliances, devices, or systems. Use of ELAN Microelectronics product in such applications is not supported and is prohibited. NO PART OF THIS SPECIFICATION MAY BE REPRODUCED OR TRANSMITTED IN ANY FORM OR BY ANY MEANS WITHOUT THE EXPRESSED WRITTEN PERMISSION OF ELAN MICROELECTRONICS. ELAN MICROELECTRONICS CORPORATION Headquarters: Hong Kong: USA: No. 12, Innovation Road 1 Hsinchu Science Park Hsinchu, Taiwan 30077 Tel: +886 3 563-9977 Fax: +886 3 563-9966 http://www.emc.com.tw Elan (HK) Microelectronics Corporation, Ltd. Elan Information Technology Group (U.S.A.) Rm. 1005B, 10/F Empire Centre 68 Mody Road, Tsimshatsui Kowloon , HONG KONG Tel: +852 2723-3376 Fax: +852 2723-7780 [email protected] 1821 Saratoga Ave., Suite 250 Saratoga, CA 95070 USA Tel: +1 408 366-8225 Fax: +1 408 366-8220 Europe: Shenzhen: Shanghai: Elan Microelectronics Corp. (Europe) Elan Microelectronics Shenzhen, Ltd. Elan Microelectronics Shanghai, Ltd. Siewerdtstrasse 105 8050 Zurich, SWITZERLAND Tel: +41 43 299-4060 Fax: +41 43 299-4079 http://www.elan-europe.com SSMEC Bldg., 3F, Gaoxin S. Ave. Shenzhen Hi-Tech Industrial Park Shenzhen, Guandong, CHINA Tel: +86 755 2601-0565 Fax: +86 755 2601-0500 23/Bldg. #115 Lane 572, Bibo Road Zhangjiang Hi-Tech Park Shanghai, CHINA Tel: +86 21 5080-3866 Fax: +86 21 5080-4600 Contents Contents 1 2 3 4 General Description .................................................................................................. 1 Features ..................................................................................................................... 1 Applications............................................................................................................... 2 Pin Configurations .................................................................................................... 2 5 6 4.1 Pad Coordinates .................................................................................................3 Block Diagram ........................................................................................................... 6 Pin Description.......................................................................................................... 7 7 6.1 Power Supply......................................................................................................7 6.2 LCD Driver Supply ..............................................................................................7 6.3 System Control ...................................................................................................8 6.4 MPU Interface .....................................................................................................9 6.5 LCD Driver Output ............................................................................................10 Function Description ...............................................................................................11 7.1 MPU Interface ...................................................................................................11 7.1.1 7.1.2 7.2 Data Transfer ....................................................................................................13 7.2.1 7.2.2 7.3 Voltage Converter Circuits.................................................................................24 Voltage Regulator Circuits.................................................................................24 Voltage Follower Circuits...................................................................................26 LCD Display Circuits .........................................................................................27 7.5.1 7.5.2 7.5.3 7.5.4 7.6 Display Data Latch Circuit .................................................................................18 Shift Register Circuit..........................................................................................18 Common Driver Circuit ......................................................................................21 Segment Driver Circuit ......................................................................................21 LCD Driving Waveform......................................................................................23 Internal Power Circuits......................................................................................23 7.4.1 7.4.2 7.4.3 7.5 Display Data RAM .............................................................................................14 Programmable Duty Ratio.................................................................................16 LCD Driver Circuits ...........................................................................................18 7.3.1 7.3.2 7.3.4 7.3.5 7.3.6 7.4 Chip Select ........................................................................................................11 Selecting the Interface Type..............................................................................12 Oscillator ...........................................................................................................28 /DOF Pin Description.........................................................................................28 Display Timing Generator Circuit ......................................................................28 Oscillator Frequency .........................................................................................29 The Reset Circuit ..............................................................................................29 Product Specification (V1.8) 01.12.2006 iii Contents 8 Instruction Description ........................................................................................... 30 8.1 Read Display Data ............................................................................................31 8.2 Write Display Data ............................................................................................31 8.3 Read Status ......................................................................................................32 8.4 Set Duty Ratio (Two-Byte Instruction)...............................................................32 8.4.1 8.4.2 8.5 Set Display Clock CL Frequency (Two-Byte Instruction) ..................................33 8.5.1 8.5.2 8.6 Set Duty Ratio Mode (First Instruction) .............................................................32 Set Duty Ratio Register (Second Instruction) ...................................................32 Set CL Frequency Select Mode (First Instruction) ............................................33 Set CL Frequency Select Register (Second Instruction) ..................................33 Select LCD Bias (Two-Byte Instruction)............................................................33 8.6.1 8.6.2 Set the LCD Bias Select Mode (First Instruction) .............................................33 Set the LCD Bias Select Register (Second Instruction)....................................33 8.7 Display On/Off...................................................................................................34 8.8 Initial Display Line .............................................................................................34 8.9 Electronic Contrast Control Set (Two-Byte instruction).....................................34 8.9.1 8.9.2 Set Contrast Control Mode (First Instruction) ...................................................34 Set Contrast Control Register (Second Instruction)..........................................34 8.10 Set Page Address .............................................................................................35 8.11 Set Column Address .........................................................................................35 8.12 ADC Select .......................................................................................................36 8.13 Inverse Display On/Off......................................................................................36 8.14 Entire Display On/Off ........................................................................................36 8.15 Set Modify-Read ...............................................................................................36 8.16 Reset Modify-Read ..........................................................................................37 8.17 Reset................................................................................................................37 8.18 SHL Select .......................................................................................................37 8.19 Power Control ...................................................................................................38 8.20 Set High Power Mode .......................................................................................38 8.21 Regulator Resistor Select .................................................................................38 8.22 Set Status Indicator (Two-Byte Instruction).......................................................39 8.22.1 Set Status Indicator Mode (First Instruction) .....................................................39 8.22.2 Set Static Indicator Register (Second Instruction) ............................................39 8.23 Power Save (Compound Instruction) ...............................................................39 8.23.1 Sleep Mode .......................................................................................................40 8.23.2 Standby Mode ...................................................................................................40 iv • Product Specification (V1.8) 01.12.2006 Contents 9 Application Information .......................................................................................... 41 9.1 Instruction Procedure Examples .......................................................................41 9.1.1 10 Initial Setup........................................................................................................41 9.2 Program Examples ...........................................................................................44 Electrical Characteristics ....................................................................................... 47 10.1 Absolute Maximum Ratings .............................................................................47 10.2 Recommended Operating Conditions..............................................................47 10.3 DC Characteristics ............................................................................................48 10.4 AC Characteristics ............................................................................................49 10.4.1 Serial Interface Timing Characteristics..............................................................49 10.4.2 80-Family MPU Read/Write Timing Characteristics..........................................50 10.4.3 68-Family MPU Read/Write Timing Characteristics..........................................51 11 Pin Configuration .................................................................................................... 52 11.1 Input Pin Configuration .....................................................................................52 11.2 Input/Output Pin Configuration..........................................................................52 11.3 Output Pin Configuration...................................................................................53 11.4 Reset Input Pin Configuration ...........................................................................53 12 11.5 LCD Output Pin Configuration ..........................................................................54 MPU Interface .......................................................................................................... 55 12.1 Elan 8-bit MPU (with external memory) ............................................................55 12.2 Serial Interface (SPI).........................................................................................55 12.3 80-Family MPU .................................................................................................56 13 12.4 68-Family MPU .................................................................................................56 Application Circuits ................................................................................................ 57 Product Specification (V1.8) 01.12.2006 v Contents Specification Revision History Doc. Version Revision Description 0.1 Drafting version 2000/04/10 0.2 Initial version 2000/04/17 0.3 0.4 0.5 0.6 1. Modified the DC and AC characteristics. 2. Modified the “Select LCD bias” instruction. 3. Added “Set display clock frequency” instruction. 1. Modified the error of voltage bias divider. 2. Modified the voltage follower block diagram. 1. Added “Regulator resistor select register” in reset instruction. 2. Added Voltage converter capacitor connection. 3. Delete the busy state (without busy check). 4. Add DC current spec. 1. Added one more VDD and VSS pad. 2. Modified the Pad sequence and configuration. 1. Modified the operating temperature range: -30 to 80°C 2. Added program examples. 1. Added “high power mode” instruction. 2. Modifed the pad and pitch size. 0.7 0.8 2000/05/15 2000/06/08 2000/09/15 2001/03/02 2001/09/07 2001/10/30 0.9 Modified the Pad Coordinates. 2002/03/07 1.0 Modified the DC Characteristics: Reference voltage and Dynamic current consumption 2002/03/19 1.1 Added “LCD power on” sequence. 2002/03/28 1.2 1. Add at the DC characteristics: Regulated voltage 2. Added Pin Configuration. 2002/06/06 1.3 Added ELAN logo on the Pin Configuration. 2003/04/30 1.4 Modified the read timing of /WR. 2003/08/04 1.5 Adjusted the Data RAM arrangement. 2003/12/29 1.6 1.7 1.8 vi • Date 1. Modified the table on the relationship between duty ratio and common output. 2. Modified the A0 voltage level on the Display ON/OFF instruction. 1. Added Notes after the Pad Coordinates table. 2. Modified the table on the Relationship between Duty Ratio and Common Output. 1. Modified the TEST pin description. 2. Added V4 voltage range on the A.C. Characteristics table. 2004/02/27 2004/08/19 2006/01/12 Product Specification (V1.8) 01.12.2006 EPL65132 65 COM / 132 SEG LCD Driver 1 General Description The EPL65132 is a driver and controller LSI for graphic dot-matrix liquid crystal display systems. It can be interfaced to the MPU via serial or 8-bit interface. It contains 65 common and 132 segment driver circuits. With one chip, it is possible to drive a graphic display system with a maximum of 132 × 65 dots. 2 Features Direct Correspondence between Display Data RAM and LCD Pixel Display Data RAM : 132 x 65 = 8580 bits 197 LCD Drivers : 132-seg segment drivers, 64-common drivers and 1-icon Serial Interface (SPI) or 8-Bit Parallel Interface Mode (80-series , 68-series MPU) On-chip oscillator circuit Multi-chip operation (Master, Slave) available Programmable Duty Ratio : Duty ratio Common Segment 1: 64 (+ ICON) 1: 48 (+ ICON) 1: 42 (+ ICON) 1: 36 (+ ICON) 1: 32 (+ ICON) 1: 24 (+ ICON) 1: 16 (+ ICON) 1: 8 (+ ICON) 64 (+ ICON) 48 (+ ICON) 42 (+ ICON) 36 (+ ICON) 32 (+ ICON) 24 (+ ICON) 16 (+ ICON) 8 (+ ICON) 132 132 132 132 132 132 132 132 Note: ICON = “0” : Pin disable ICON = “1” : Pin enable Selectable LCD driving bias level : 1/4, 1/4.5, 1/5, 1/5.5, 1/6, 1/6.5, 1/7, 1/7.5, 1/8, 1/8.5, 1/9 bias Selectable LCD display clock frequency Electronic contrast control functions (64 steps) Built-in Instruction Set : Display data read/write, Display on/off, Inverse display, Page address set, Common address set, LCD display contrast control, Set Sleep mode, Standby mode, etc. Operating Voltage range : Supply voltage : 2.2V to 5.5 V LCD driving voltage : 4.0V to 15.0V Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) •1 EPL65132 65 COM / 132 SEG LCD Driver 3 4 Applications Organizer Electronic Dictionary Scientific calculator Cellular phone Graphic pager Handy Terminals (PDA) Pin Configurations DDRAM Figure 1 Pin Configuration Item Pad No. Chip size - Pad size (Type A) Pad size (Type B) Pad pitch 2• 001-015 100-114 115-120 121-135 220-234 235-240 016-099 136-219 Size X Y 10240 1820 85 100 Unit um 75 100 Type A 95 Type B 85 Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 4.1 Pad Coordinates Pad No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 Symbol COM32 COM33 COM34 COM35 COM36 COM37 COM38 COM39 COM40 COM41 COM42 COM43 COM44 COM45 COM46 COM47 COM48 COM49 COM50 COM51 COM52 COM53 COM54 COM55 COM56 COM57 COM58 COM59 COM60 COM61 COM62 COM63 COMI1 VDD VDD C1+ C1C3 C4 C2C2+ VOUT V0 V1 V2 V3 V4 VR GND GND X -4950.0 -4855.0 -4760.0 -4665.0 -4570.0 -4475.0 -4380.0 -4285.0 -4190.0 -4095.0 -4000.0 -3905.0 -3810.0 -3715.0 -3620.0 -3530.0 -3445.0 -3360.0 -3275.0 -3190.0 -3105.0 -3020.0 -2935.0 -2850.0 -2765.0 -2680.0 -2595.0 -2510.0 -2425.0 -2340.0 -2255.0 -2170.0 -2085.0 -2000.0 -1915.0 -1830.0 -1745.0 -1660.0 -1575.0 -1490.0 -1405.0 -1320.0 -1235.0 -1150.0 -1065.0 -980.0 -895.0 -810.0 -725.0 -640.0 Y -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) Pad No. 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 Symbol MS PS FR C86 /DOF CLS CL OSC FRS IRS /RES D7 D6 D5 D4 D3 D2 D1 D0 CS2 /CS1 A0 /WR /RD TEST COM31 COM30 COM29 COM28 COM27 COM26 COM25 COM24 COM23 COM22 COM21 COM20 COM19 COM18 COM17 COM16 COM15 COM14 COM13 COM12 COM11 COM10 COM9 COM8 COM7 X -555.0 -470.0 -385.0 -300.0 -215.0 -130.0 -45.0 40.0 125.0 210.0 295.0 380.0 465.0 550.0 635.0 720.0 805.0 890.0 975.0 1060.0 1145.0 1230.0 1315.0 1400.0 1485.0 1570.0 1655.0 1740.0 1825.0 1910.0 1995.0 2080.0 2165.0 2250.0 2335.0 2420.0 2505.0 2590.0 2675.0 2760.0 2845.0 2930.0 3015.0 3100.0 3185.0 3270.0 3355.0 3440.0 3525.0 3615.0 Y -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 3 EPL65132 65 COM / 132 SEG LCD Driver 4• Pad No. Symbol X Y Pad No. Symbol X Y 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 COM6 COM5 COM4 COM3 COM2 COM1 COM0 COMI2 SEG131 SEG130 SEG129 SEG128 SEG127 SEG126 SEG125 SEG124 SEG123 SEG122 SEG121 SEG120 SEG119 SEG118 SEG117 SEG116 SEG115 SEG114 SEG113 SEG112 SEG111 SEG110 SEG109 SEG108 SEG107 SEG106 SEG105 SEG104 SEG103 SEG102 SEG101 SEG100 SEG99 SEG98 SEG97 SEG96 SEG95 SEG94 SEG93 SEG92 SEG91 SEG90 3710.0 3805.0 3900.0 3995.0 4090.0 4185.0 4280.0 4375.0 4470.0 4565.0 4660.0 4755.0 4850.0 4945.0 4992.5 4992.5 4992.5 4992.5 4992.5 4992.5 4945.0 4850.0 4755.0 4660.0 4565.0 4470.0 4375.0 4280.0 4185.0 4090.0 3995.0 3900.0 3805.0 3710.0 3615.0 3525.0 3440.0 3355.0 3270.0 3185.0 3100.0 3015.0 2930.0 2845.0 2760.0 2675.0 2590.0 2505.0 2420.0 2335.0 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -782.5 -241.1 -146.1 -51.1 43.9 138.9 233.9 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 SEG89 SEG88 SEG87 SEG86 SEG85 SEG84 SEG83 SEG82 SEG81 SEG80 SEG79 SEG78 SEG77 SEG76 SEG75 SEG74 SEG73 SEG72 SEG71 SEG70 SEG69 SEG68 SEG67 SEG66 SEG65 SEG64 SEG63 SEG62 SEG61 SEG60 SEG59 SEG58 SEG57 SEG56 SEG55 SEG54 SEG53 SEG52 SEG51 SEG50 SEG49 SEG48 SEG47 SEG46 SEG45 SEG44 SEG43 SEG42 SEG41 SEG40 2250.0 2165.0 2080.0 1995.0 1910.0 1825.0 1740.0 1655.0 1570.0 1485.0 1400.0 1315.0 1230.0 1145.0 1060.0 975.0 890.0 805.0 720.0 635.0 550.0 465.0 380.0 295.0 210.0 125.0 40.0 -45.0 -130.0 -215.0 -300.0 -385.0 -470.0 -555.0 -640.0 -725.0 -810.0 -895.0 -980.0 -1065.0 -1150.0 -1235.0 -1320.0 -1405.0 -1490.0 -1575.0 -1660.0 -1745.0 -1830.0 -1915.0 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver Pad No. 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 Symbol SEG39 SEG38 SEG37 SEG36 SEG35 SEG34 SEG33 SEG32 SEG31 SEG30 SEG29 SEG28 SEG27 SEG26 SEG25 SEG24 SEG23 SEG22 SEG21 SEG20 SEG19 SEG18 SEG17 SEG16 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 X -2000.0 -2085.0 -2170.0 -2255.0 -2340.0 -2425.0 -2510.0 -2595.0 -2680.0 -2765.0 -2850.0 -2935.0 -3020.0 -3105.0 -3190.0 -3275.0 -3360.0 -3445.0 -3530.0 -3620.0 -3715.0 -3810.0 -3905.0 -4000.0 -4095.0 -4190.0 -4285.0 -4380.0 -4475.0 -4570.0 -4665.0 -4760.0 -4855.0 -4950.0 -4992.5 -4992.5 -4992.5 -4992.5 -4992.5 -4992.5 Y 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 782.5 233.9 138.9 43.9 -51.1 -146.1 -241.1 Note: For PCB layout, the IC substrate must be connected to VSS or floating. Refer to the relationship between Duty Ratio and Common Output. Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 5 EPL65132 65 COM / 132 SEG LCD Driver Block Diagram SEG0 VOUT C1+,C1C2+,C2C3,C4 Voltage Converter COMMON DRIVER CIRCUITS LATCH CIRCUIT SHIFT REGISTER DISPLAY DATA RAM INITIAL DISPLAY LINE REGISTER Voltage Regulator LOW ADDRESS DECODER VR PAGE ADDRESS REGISTER Voltage Followers COM63 COMI SEGMENT DRIVER CIRCUITS LINE COUNTER V0 V1 V2 V3 V4 VSS SEG131 COM0 LINE ADDRESS DECODE 5 COLUMN ADDRESS DECODER FR Display Timing Generator Circuit COLUMN ADDRESS COUNTER COLUMN ADDRESS REGISTER CL /DOF FRS M/S INSTRUCTION DECODER Oscillator Bus holder MPU Interface STATUS REGISTER INSTRUCTION REGISTER CLS OSC I/O Buffer ( Serial / Parallel ) IRS /CS1CS2 A0 /RD /WR C86 P/S /RES D7 D6 D5 D4 D3 D2 D1 D0 (E) (R/W) (SDI)(SCK)(SDO) Figure 2 System Block Diagram 6• Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 6 Pin Description 6.1 Power Supply Name I/O Description VDD Power VDD Power Supply VSS Power 0V (GND) LCD driver supply voltages. The voltage applied is determined by the LCD pixel and is changed through changing the impedance using an operational amplifier (OPA) for various applications. Voltage levels are determined based on V0, and must maintain the relative magnitudes shown below: V0≧V1≧V2≧V3≧V4≧Vss When the internal power circuit is active, these voltages are generated according to the state of the LCD bias, The selection of voltages is determined by the “LCD bias select” instruction, as shown in the table below. LCD Bias V0 V1 V2 V3 V4 1/9 Bias Power V1 (8/9) × V0 V2 (7/9) × V0 V3 (2/9) × V0 1/8.5 Bias (7.5/8.5) × V0 (6.5/8.5) × V0 (2/8.5) × V0 1/8 Bias (7/8) × V0 (6/8) × V0 (2/8) × V0 1/7.5 Bias (6.5/7.5) × V0 (5.5/7.5) × V0 (2/7.5) × V0 1/7 Bias (6/7) × V0 (5/7) × V0 (2/7) × V0 1/6.5 Bias (5.5/6.5) × V0 (4.5/6.5) × V0 (2/6.5) × V0 1/6 Bias (5/6) × V0 (4/6) × V0 (2/6) × V0 1/5.5 Bias (4.5/5.5) × V0 (3.5/5.5) × V0 (2/5.5) × V0 1/5 Bias (4/5) × V0 (3/5) × V0 (2/5) × V0 1/4.5 Bias (3.5/4.5) × V0 (2.5/4.5) × V0 (2/4.5) × V0 1/4 Bias (3/4) × V0 (2/4) × V0 (2/4) × V0 V4 (1/9) × V0 (1/8.5) × V0 (1/8) × V0 (1/7.5) × V0 (1/7) × V0 (1/6.5) × V0 (1/6) × V0 (1/5.5) × V0 (1/5) × V0 (1/4.5) × V0 (1/4) × V0 6.2 LCD Driver Supply Name C1+ C1C2+ C2C3 C4 I/O Description O Boosted capacitor connecting terminals used for voltage booster. O Boosted capacitor connecting terminals used for voltage booster. O Boosted capacitor connecting terminals used for voltage booster. VOUT I/O Voltage converter output VR I V0 voltage adjustment pin. Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 7 EPL65132 65 COM / 132 SEG LCD Driver 6.3 System Control Name I/O Description Master/slave operation select pin. - MS = "H": Master operation - MS = "L": Slave operation M/S M/S CLS OSC. Power Supply Circuit CL FR “H” Available Available O O O O “L” Unavailable Available O O O O * Unavailable Unavailable I I Hi-Z I I “H” “L” P/S I FR I/O C68 I /DOF I/O Note: * : Don’t Care O : Output I : Input Select Interface mode of the MPU. When PS = "High": Parallel interface mode When PS = "Low": Serial interface mode LCD AC signal input/output pin When is used in master/slave mode (multi-chip), the FR pins must be connected each other. - MS = “H”: Output - MS = “L”: Input Select the kind of MPU interface. When C68 = "High": 68-series MPU interface mode When C68 = "Low": 80-series MPU interface LCD Display blanking control pin. In multi-chip mode, the /DOF pin must be connected to each other. M/S = ”H” (Master) : /DOF is output pin Æ Display “On” = “H”, Display “Off” = “L” M/S = ”L” (Slave) : /DOF is input pin Æ Via external control. Refer to the following table. Instruction 8• CLS I CL I/O FRS /DOF /DOF H L Display “On” On Off Display “Off” Off Off Internal oscillator circuit enable / disable select pin. CLS = “H”: Internal oscillator circuit is enable CLS = “L”: Internal oscillator circuit is disable (External display clock input to OSC pin) Display clock input/output pin. When the EPL65132 is used in master/slave mode (multi-chip), the CL pins must be connected to each other. M/S CL “H” Output “L” Input Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver Name I/O OSC I FRS O IRS TEST I I Description When using an external oscillator, input the clock to OSC pin. When using an internal oscillator, leave this pin open. Static driver output pin. This pin is used in combination with the FR pin. Internal resistor select pin. This pin selects the resistors for adjusting V0 voltage level and is available only in master mode. - IRS = "H": The internal resistors are used. - IRS = "L": The external resistors are used. V0 voltage is controlled using the external divider resistor connected to the VR pin. Test pin. Fixed at VSS. 6.4 MPU Interface Name /RES /CS1,CS2 I/O I Description Hardware reset input. The LSI is reset when this signal is pulled low. (Active low) These are the chip select signals. The Chip Select of the LSI becomes active when CS1 is "L" and also CS2 is "H" and allows the input/output of data or commands. I A0 I /WR (R/W) I /RD (E) I D0 to D7 I/O /CS1 CS2 Status “L” “L” The device is not active. (D7~D0 is Hi-Z) “L” “H” Data and instruction are available. “H” “L” The device is not active. (D7~D0 is Hi-Z) “H” “H” The device is not active. (D7~D0 is Hi-Z) Used as register selection input. When A0 = "High", Data register. When A0 = "Low", Instruction register. When C68 = "High" (68-series MPU interfacing), used as read (/WR = "High"), write (/WR = "Low") When C68 = "Low" (80-series MPU interfacing), used as write enable input (/WR). When C68 = "High" (68-series MPU interfacing), used as read/write enable input (E). When C68 = "Low" (80-series MPU interfacing), used as read enable input (/RD). When in serial mode, D6 (SCK) is used as serial clock input pin, D7 (SDI) is used as serial data input pin, D5 (SDO) is used as serial data output pin and the others are not used. When in parallel mode, D0 to D7 are used as bi-directional data bus pin. Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 9 EPL65132 65 COM / 132 SEG LCD Driver 6.5 LCD Driver Output Name I/O Description The LCD common output pins. Scan Data FR COMs Output Voltage H Vss L V0 H V1 L V4 Power Save Mode Vss H COM0 to COM63 O L COMI O These are two icon display pins. Both pins output the same signal. Leave these pins open when they are not used. The LCD segment output pins. Display Data SEG0 to SEG131 O H L FR SEGs Output Voltage Normal Display Reverse Display H V0 V2 L Vss V3 H V2 V0 L V3 Vss Power Saving Mode Vss Refer to the relationship between Duty Ratio and Common Output. 10 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 7 Function Description INSTRUCTION DECODER INSTRUCTION REGISTER Bus holder STATUS REGISTER I/O Buffer ( Serial/Parallel ) MPU Interface D7 D6 D5 D4 D3 D2 D1 D0 /CS1 CS2 A0 /RD /WR C86 P/S /RES (E) (R/W) (SDI)(SCK)(SDO) Figure 3 System Interface 7.1 MPU Interface 7.1.1 Chip Select The EPL65132 has two chip select pins /CS1 and CS2. When /CS1="L" and CS2=”H”, MPU interface is available. When the chip select pin is inactive (other /CS1 and CS2 condition), D7 to D0 are high impedance (invalid) and input of A0, /RD, or /WR inputs are not effective. If serial interface is selected, the shift register and counter are both reset. However, reset is always operated in any conditions of /CS1 and CS2. P/S Serial Mode (L) Parallel mode (H) Note: “ C68 A0 /WR /RD D0~D4 D5 D6 SPI interface (−) A0 R/W - * 80-series (L) A0 /WR /RD D0~D7 68-series (H) A0 R/W E D0~D7 SDO SCK D7 SDI * ” Don’t care (“High”, “Low” or “Open”) “−” Indicates that it is fixed to either “High” (VDD) or “Low” (VSS) Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 11 EPL65132 65 COM / 132 SEG LCD Driver 7.1.2 Selecting the Interface Type The EPL65132 can be operated with serial interface (SPI) and parallel interface (80series or 68-series) as selected by the P/S pin. Serial Interface (SPI) When serial mode (PS = "L"), D6 (SCK) is used as serial clock input pin, D7 (SDI) is used as serial data input pin, D5 (SDO) is used as serial data output pin. When the LSI is active (/CS1=”L”, CS2=”H”), serial data input (D7), serial clock input (D6) inputs and serial data output (D5) are enabled. The 8-bit shift register and 3-bit counter are reset to the initial condition when the chip is not selected. The data input/output from SDI/SDO terminal is MSB first as in the order of D7, D6…D0, and is latched at the rising edge of the serial clock SCK. Serial input data is display data when A0="H" and instruction when A0="L". The A0 input is read and identified at the rising edge of the (8 × n) serial clock pulse. Since the clock signal (D6) is easy to be affected by the external noise caused by the line length, the operation check on the actual machine is recommended. /CS1 CS2 SCK (D6) SDI (D7) D7 SDO (D5) D6 D7 D5 D6 D4 D5 D3 D4 D2 D3 D1 D2 D0 D1 D7 D0 D7 A0 Figure 4 Serial Interface Signal Chart A0 12 • /WR (R/W) D7 (SDI) D5 (SDO) 0 0 Instruction Write Status Read 0 1 Invalid Status Read 1 0 Display Data Write Status Read 1 1 Invalid Display Data Read Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver Parallel Interface (8-bit Length) Parallel mode (8-bit length): When parallel input is selected (PS = ”H”), D0~D7 can be connected directly to the 80-series or 68-series MPU by setting the C86 pin to high or low. A0 /RD /W R D7~D0 N D(N) D(N+1) D(N+2) D(N+3) D(N+4) W riting Timing A0 /RD /W R D7~D0 N Dum m y D(N) D(N+1) D(N+2) D(N+3) Reading Timing Figure 5 Write and Read Timing Diagrams Common 80-Series 68-Series Description A0 /RD /WR R/W H L H H Display data read H H L L Display data write L L H H Register status read L H L L Writes to Instruction register 7.2 Data Transfer The EPL65132 uses a bus holder and an internal data bus for data transfer with MPU. When writing data from the MPU to the DDRAM, data is automatically transferred from the bus holder to the DDRAM. When reading data from the DDRAM to MPU, the data for the initial read cycle is stored in the bus holder (dummy read) and MPU reads this stored data from bus holder for the next data read cycle. Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 13 EPL65132 65 COM / 132 SEG LCD Driver REGISTER INITIAL DISPLAY LINE D IS P L A Y D A T A R A M LINE COUNTER LINE ADDRESS DECODE LOW ADDRESS DECODER PAGE ADDRESS REGISTER 7.2.1 Display Data RAM CO LUM N ADDRESS D ECO D ER CO LUM N ADDRESS C O UNTER C O L U M N A D D R E S S R E G IS T E R Figure 6 Display Data RAM Diagram The display data RAM (DDRAM) stores pixel data for the LCD. It is a 65-row ((8page × 8-bit + 1) x 132-column addressable array. It is possible to access any required bit by specifying the page address and the column address. The 65 rows are divided into 8 pages of 8 lines and the ninth page with a single line (D0 only). Each bit in the Display Data RAM corresponds to each pixel of the LCD panel. Each bit in the Display Data RAM corresponds to each pixel of the LCD panel and controls the display by applying the following bit data. When in Normal Display : On="1" , Off="0" When in Inverse Display : On="0" , Off="1" (Refer to the “Inverse Display On/Off” instruction for more details.) 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 1 0 1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 1 0 0 0 0 0 0 0 0 Display Data RAM Normal Display Inverse Display Figure 7 Display Data RAM, Normal and Inverse Liquid Crystal Display Diagrams 14 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver The microprocessor (MPU) can read from and write to the RAM through the I/O buffer. Since the LCD controller operates independently, data can be written into the RAM at the same time as data is being displayed without causing the LCD to flicker. Page Address Data P3, P2, P1, P0 D0 D1 D2 D3 0 0 0 0 D4 D5 D6 D7 D0 D1 D2 D3 0 0 0 1 D4 D5 D6 D7 D0 D1 D2 D3 0 0 1 0 D4 D5 D6 D7 D0 D1 D2 D3 0 0 1 1 D4 D5 D6 D7 D0 D1 D2 D3 0 1 0 0 D4 D5 D6 D7 D0 D1 D2 D3 0 1 0 1 D4 D5 D6 D7 Column Address Page 0 Page 1 Page 2 Page 3 Page 4 Page 5 Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) Line Common Common Common Common Output Address Output Output Output (HEX) (1/65,1/64) (1/49,1/48) (1/42,1/36) (1/33,1/32) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F COM0 COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM9 COM10 COM11 COM12 COM13 COM14 COM15 COM16 COM17 COM18 COM19 COM20 COM21 COM22 COM23 COM24 COM25 COM26 COM27 COM28 COM29 COM30 COM31 COM32 COM33 COM34 COM35 COM36 COM37 COM38 COM39 COM40 COM41 COM42 COM43 COM44 COM45 COM46 COM47 COM0 COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM9 COM10 COM11 COM12 COM13 COM14 COM15 COM16 COM17 COM18 COM19 COM20 COM21 COM22 COM23 COM24 COM25 COM26 COM27 COM28 COM29 COM30 COM31 COM32 COM33 COM34 COM35 COM36 COM37 COM38 COM39 COM40 COM41 COM42 COM43 COM44 COM45 COM46 COM47 COM0 COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM9 COM10 COM11 COM12 COM13 COM14 COM15 COM16 COM17 COM18 COM19 COM20 COM21 COM22 COM23 COM24 COM25 COM26 COM27 COM28 COM29 COM30 COM31 COM32 COM33 COM34 COM35 COM36 COM37 COM38 COM39 COM40 COM41 COM0 COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM9 COM10 COM11 COM12 COM13 COM14 COM15 COM16 COM17 COM18 COM19 COM20 COM21 COM22 COM23 COM24 COM25 COM26 COM27 COM28 COM29 COM30 COM31 15 EPL65132 65 COM / 132 SEG LCD Driver Page Address Data P3, P2, P1, P0 D0 D1 D2 D3 0 1 1 0 D4 D5 D6 D7 D0 D1 D2 D3 0 1 1 1 D4 D5 D6 D7 1 0 0 0 D0 ADC Column =0 Address(HEX) ADC =1 LCD Output Line Common Common Common Common Output Address Output Output Output (HEX) (1/65,1/64) (1/49,1/48) (1/42,1/36) (1/33,1/32) Column Address Page 6 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F Page 7 0 0 8 3 S E G 0 0 1 8 2 S E G 1 Page 8 0 8 8 --------2 0 1 8 0 0 --------1 3 2 S S S E E E G G G --------2 1 1 2 2 8 9 8 2 0 1 S E G 1 3 0 COM48 COM49 COM50 COM51 COM52 COM53 COM54 COM55 COM56 COM57 COM58 COM59 COM60 COM61 COM62 COM63 COMI COMI COMI 8 3 0 0 S E G 1 3 1 7.2.2 Programmable Duty Ratio The duty ratio is selected by using the “Set Duty Ratio” instruction. The common output circuits are shown in the following figure. They are separated into three shift registers and controlled by the "duty ratio register". COM0 COM31 COM32 COM63 COMI COMMON DRIVER (32) COMMON DRIVER (32) COMMON DRIVER (1) 32-Bit SHIFT REGISTER 32-Bit SHIFT REGISTER 1-bit SHIFT REGISTER 4 DUTY RATIO REGISTER Figure 8 Common Output Circuits 16 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver Common Output Pins (COMxx, refer to the Pad No.) Duty SHL COM0 ~ 3 ~7 ~11 ~15 ~17 ~20 ~23 ~ 40~ 43~ 46~ 48~ 52~ 56~ COM60 ~ 63 COMI 0 CCOM[0..3] CCOM[4..7] COMI 1 CCOM[7..4] CCOM[3..0] − 1/17 1/16 0 CCOM[0..7] CCOM[8..15] COMI 1 CCOM[15..8] CCOM[7..0] − 1/25 1/24 0 1/33 1/32 0 1/37 1/36 0 1/43 1/42 0 1/49 1/48 0 CCOM[0…23] CCOM[24…47] COMI 1 CCOM[47…24] CCOM[23…0] − 1/65 1/64 0 CCOM[0..63] COMI 1 CCOM[63..0] − 1 1 1 1 Line Address (Pages 0~7) 1/9 1/8 CCOM[0..11] CCOM[12..23] COMI − CCOM[11..0] CCOM[23..12] CCOM[0..15] CCOM[16..31] COMI CCOM[31..16] CCOM[15..0] − CCOM[0..17] CCOM[18..35] COMI CCOM[35..18] CCOM[17..0] − CCOM[0…20] CCOM[21…41] COM[41…21] COMI − CCOM[20…0] Relationship between Duty Ratio and Common Output Initial Display Line Register The initial display line register assigns a DDRAM line address which corresponds to COM0 by using the “Initial display line set” instruction. It is used for not only normal display but also vertical display scrolling and page switching without changing the contents of the DDRAM. However, the 65th address for icon display cannot be assigned for the initial display line address. Line Counter The line counter provides a DDRAM line address. It initializes its contents at the switching of frame reversal signal (FR), and also counts-up in synchronization with common timing signal. Column Address Counter The column address counter is an 8-bit preset counter which provides a DDRAM column address, and is independent of the page address register. It will increment (+1) the column address whenever “display data read” or “display data write” instructions are issued. However, the incrementing of the column address is stopped at column address 83H. The count-lock will be released by the “column address set” instruction again. The counter can invert the correspondence between the column address and segment driver direction by means of “ADC select” instruction. Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 17 EPL65132 65 COM / 132 SEG LCD Driver Page Address Register The page address register provides a DDRAM page address. The Page Address 8 is used for icon display, and only D0 is valid. 7.3 LCD Driver Circuits COM0 V0 V1 V2 V3 V4 VSS COM63 COMI SEG0 SEG131 Commom Driver Circuits Segment Driver Circuits Shift Register Latch Circuit Display Timing Generator Circuit From the Display Data RAM Figure 9 LCD Driver Circuits This driver circuit is configured by 64-common drivers, 132-segment drivers and 1icon-common driver. This LCD panel driver voltage depends on the combination of display data and FR (internal) signal. 7.3.1 Display Data Latch Circuit The display data latch circuit is a latch that temporarily stores the display data that is output to the liquid crystal driver circuit from the display data RAM. “Display on/off”, “Inverse display on/off” and “Entire display on/off” instructions control only the contents of this latch circuit, they cannot change the contents of the DDRAM. 7.3.2 Shift Register Circuit The circuit contains a 64-bit shift register to shift and turn-on data required for the LCD drive common signals and 1-bit shift register used for icon. The clock of this shift register is generated by display clock CL. 18 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver Example of 1/33 and 1/65 duty (ICON enable) driving waveform 1/33 Duty 0 1 2 3 32 0 1 2 31 32 0 1 1/65 Duty 0 1 2 3 64 0 1 2 63 64 0 1 CL FR COM0 COM1 COM31 (COM63) COMI Figure 10 1/33 and 1/65 Duty Driving Waveform Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 19 EPL65132 65 COM / 132 SEG LCD Driver Example of 1/32 duty and 1/64 Duty (Icon disable) driving waveform 1/32 Duty 0 1 2 3 31 0 1 2 30 31 0 1 1/64 Duty 0 1 2 3 63 0 1 2 62 63 0 1 CL FR COM0 COM1 COM30 (COM62) COM31 (COM63) Figure 11 1/32 and 1/64 Duty Driving Waveform 20 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 7.3.4 Common Driver Circuit The Common driver circuit consists of 65 drive circuits. One of the four LCD driving level is selected by the combination of FR and data from the shift register. V0 VCON VSS COM0~63,COMI Shift Data Scan Data V4 FR COMs Output Voltage H L H L L Power save mode VCOFF VSS V0 V1 V4 VSS H V1 FR Figure 12 Common Driver Circuit 7.3.5 Segment Driver Circuit The Segment driver circuit consists of 132 driver circuits. One of the four LCD driving level is selected by the combination of FR and the display data transferred from the latch circuit. VSS VSON V0 SEG0~131 Display Data FR Display Data V3 VSOFF V2 H L H L L Power save mode H SEGs Output Voltage Normal Display Inverse Display V0 VSS V2 V3 V2 V3 V0 VSS VSS FR Figure 13 Common Driver Circuit Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 21 EPL65132 65 COM / 132 SEG LCD Driver 7.3.6 LCD Driving Waveform The following illustration is an example of how the common and segment drivers are attached to an LCD panel. SEG0 CL COM0 COM1 FR V0 V1 COM0 V4 VSS V0 V1 COM1 V4 VSS V0 V2 SEG0 V3 VSS V0 SEG0-COM0 -V0 Figure 14 LCD Driver Waveform 22 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 7.4 Internal Power Circuits LCD Driving Voltage Supply Voltage Followers Voltage Regulator VR IRS VOUT C1+,C1C2+,C2C3,C4 Voltage Converter Internal Power Circuits Figure 15 Internal Power Circuits The internal power supply circuits generate the voltage levels necessary to drive liquid crystal driver circuits with low-power consumption and the fewest components. There are voltage converter (V/C) circuits, voltage regulator (V/R) circuits, and voltage follower (V/F) circuits. They are valid only in master operation and controlled by “Power Control” instruction. For details, refers to "Instruction Description". User Setup Power V/C V/R V/F Control Circuits Circuits Circuits (VC VR VF) Only the internal power supply circuits are used Only the voltage Regulator circuits and voltage follower circuits are used Only the voltage follower circuits are used Only the external power supply circuits are used VOUT V0 V1 to V4 111 On On On Open Open Open 011 Off On On External input Open Open 001 Off Off On Open External input Open Off Off Open External External input input 000 Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) Off 23 EPL65132 65 COM / 132 SEG LCD Driver 7.4.1 Voltage Converter Circuits These circuits boost up the electric potential between VDD and VSS to 2, 3, 4, or 5 times toward positive side and the boosted voltage is outputted from VOUT pin. The boosting magnitude of internal booster circuit is selected by the means of the capacitor connection (Refer Figure 16 below). The internal oscillator is required to be operating when using this converter, since the divided signal provided from the oscillator is used for the internal timing of this circuit. C1+ C1+ C1+ C1- C1- C1- OPEN C3 OPEN C4 OPEN C2- OPEN C3 C3 C4 C4 C2- C2- C1+ Cb Cb Cb C1C3 C4 C2- Cb C2+ C2+ C2+ VOUT VOUT VOUT C2+ VOUT Cout 2X 3X 4X 5X Boost Capacitors (Cb)= 1 uF Vout Capacitor (Cout)=2.2 uF~4.7 uF Figure 16 Capacitor Connections 7.4.2 Voltage Regulator Circuits The voltage regulator determines the LCD driving voltage V0, by adjusting resistors, Ra and Rb, within the range of |V0| < |VOUT|. Since VOUT is the operating voltage of the operational-amplifier circuits, it is necessary to be applied internally or externally. For Equation 1, we determine V0 by Ra, Rb and VEV. Ra and Rb are connected internally or externally by the IRS pin. VEV which is the voltage of the electronic volume is determined by Equation 2, where the parameter αis the value selected by instruction, "Set Contrast Control Mode", within the range 0 to 63. VREF, a constant voltage source is about 2V at TA=25℃. 24 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver VOUT V0 Rb VEV VR (Constant reference voltage + electronic volume) Ra VSS Figure 17 Resistor Connection Rb ) × VEV ………………….Equation 1 Ra (63 − α ) VEV = (1 − ) × VREF ……….Equation 2 252 V 0 = (1 + Register Value (R2, R1, R0) 1+ (Rb/Ra) 000 001 010 011 100 101 3.5 4.0 4.5 5.0 5.5 6.0 110 111 6.5 7.0 Value Small . . . . . . Large Refer to “Regulator Resistor Select” instruction for details. α D5 D4 D3 D2 D1 D0 0 1 .. .. 62 63 0 0 . . 1 1 0 0 . . 1 1 0 0 . . 1 1 0 0 . . 1 1 0 0 . . 1 1 0 1 . . 0 1 Refer to “Set Contrast Control Mode” instruction for details. Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 25 EPL65132 65 COM / 132 SEG LCD Driver Using Internal Resistors, Ra and Rb (IRS = "H") When the IRS pin is “H”, resistor Ra is connected internally between VR pin and VSS, and Rb is connected between V0 and VR. V0 is determined by using the two instructions, "Regulator Resistor Select" and "Set Reference Voltage". Using External Resistors, Ra and Rb ( IRS = "L") When IRS pin is “L”, it is necessary to connect the external regulator resistor Ra between VR and VSS, and Rb between V0 and VR. For a particular liquid, the optimum VLCD can be calculated for a given multiplex rate. For a 1/65 duty ratio, the optimum operating voltage of the liquid can be calculated as: V LCD = 1 + 65 ⎛ 1 ⎞ ⎟⎟ 2 × ⎜⎜1 − 65 ⎠ ⎝ × Vth = 6.85 × Vth where Vth is the threshold voltage of the liquid crystal material used. 7.4.3 Voltage Follower Circuits From Voltage Regulator V0 V1 0.890xV0 V2 0.880xV0 Total Req = 4M Switching Network 0.120xV0 V3 0.110xV0 V4 Bypass Capacitor = 1uF~3.3uF OTP Type Voltage Follower Figure 18 OTP Voltage Follower Circuit The VLCD voltage (V0) is resistively divided into four voltage levels (V1, V2, V3, V4), and those output impedance are converted by the voltage follower (OPA) to increase the drive capability. A total of six levels LCD reference voltage (V0, V1, V2, V3, V4, VSS) is generated by the voltage follower circuits. 26 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver LCD Bias V1 V2 V3 V4 1/9 0.890*V0 0.780*V0 0.220*V0 0.110*V0 1/8.5 0.880*V0 0.765*V0 0.235*V0 0.120*V0 1/8 0.875*V0 0.750*V0 0.250*V0 0.125*V0 1/7.5 0.865*V0 0.735*V0 0.265*V0 0.135*V0 1/7 0.855*V0 0.715*V0 0.285*V0 0.145*V0 1/6.5 0.845*V0 0.690*V0 0.310*V0 0.155*V0 1/6 0.835*V0 0.665*V0 0.335*V0 0.165*V0 1/5.5 0.820*V0 0.635*V0 0.365*V0 0.180*V0 1/5 0.800*V0 0.600*V0 0.400*V0 0.200*V0 1/4.5 0.780*V0 0.555*V0 0.445*V0 0.220*V0 1/4 0.750*V0 0.500*V0 0.500*V0 0.250*V0 Different duty radio requires different bias level. For optimum bias level, BL can be calculated from: BL = 1 Duty ratio + 1 Changing the bias system from the optimum will have a consequence on the contrast and viewing angle. The LCD Bias affects the display quality. But for the purpose of reducing the current consumption, the unsuitable bias may be selected. Hence, the LCD Bias could be selected by “Select LCD bias” instruction. 7.5 LCD Display Circuits FR Display Timing Generator Circuit CL /DOF FRS M/S CLS Oscillator OSC Figure 19 LCD Display Circuit Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 27 EPL65132 65 COM / 132 SEG LCD Driver 7.5.1 Oscillator The on-chip RC type oscillator provides the display clock and voltage converter timing clock. It has low power consumption and its frequency is nearly independent of VDD. When “M/S”= “H” and “CLS”= “H”, the oscillator circuit is enabled. When CLS=”L”, the oscillator is stopped, and the oscillator clock has to be input to the OSC pin. RC Oscillator To the Internal Circuit CLS OSC Sleep Mode Figure 20 RC Oscillator The oscillator circuit is available in master mode only. The oscillator signal is divided and output as display clock at the CL pin. 7.5.2 /DOF Pin Description The pin is used to control the blinking of the LCD display. Instruction M/S= “H” M/S=”L” /DOF (Output) /DOF (Input) =”H” /DOF (Input) =”L” Display “ON” “H” LCD On LCD Off Display “OFF” “L” LCD Off LCD Off When the “Power Save” Instruction is activated, the /DOF pin is set to low level. 7.5.3 Display Timing Generator Circuit This circuit generates some signals to be used to display the LCD. When used in master/slave mode (multi-chip), some pins must be connected to each other. That is due to synchronization output. The display clock (CL) generated by the oscillation clock, generates a clock for the line counter and a latch signal for the display data latch. The line address of the on-chip RAM is generated in synchronization with the display clock (CL). While the 132-bit display data is latched by the display data latch circuit in synchronization with the display clock, the display data which is read to the LCD driver is completely independent from any access to the display data RAM from the microprocessor. 28 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver The display clock generates an LCD frame reversal signal (FR) which enables the LCD driver to make an AC drive waveform, and also generates an internal common timing signal and start signal to the common driver. When this EPL65132 is used as a multi-chip, the slave chip must receive the FR, CL, /DOF signals from the master. Operation Mode Master (M/S=”H”) Internal oscillator is enabled (CLS=”H”) Internal oscillator is disable (CLS=”L”) Slave (M/S=”L”) Internal oscillator is disabled (CLS =”L” or “H”) FR CL /DOF FRS OSC Output Output Output Output Open Output Output Output Output Input Input Input Input Hi-Z Open Input Input Input Hi-Z Open Note: Open means leave this pin open 7.5.4 Oscillator Frequency The EPL65132 contains an RC oscillator. The frame frequency (fFM) is derived from the RC circuit’s oscillation frequency (fOSC) by giving it an appropriate value. The relationship between the oscillation frequency (fOSC), display clock frequency (fCL) and the frame frequency (fFM) is shown below. The fOSC could be selected from an internal or external oscillator via the CLS pin, fCL could be selected using the “Set display clock CL frequency” instruction, and frame frequency could be calculated using the following equation. fCL = (Duty ratio) × (Frame frequency) 7.6 The Reset Circuit When the /RES input comes to the “L” level, these LSI return to their default state. Their default states are as follows: 1. Display OFF 2. Normal display 3. ADC select: Normal (ADC select instruction D0 = “L”) 4. SHL select: Normal (SHL select instruction D3 = “L”) 5. Power control register: (D2, D1, D0) = (0, 0, 0) 6. Serial interface internal register data clear 7. Duty ratio = 1/65 8. CL frequency Register (D4, D3, D2, D1, D0) = (0, 0. 0, 0, 1, 1) 9. LCD power supply bias level = (1/9) 10. Entire display OFF (Entire display instruction D0 = “L”) 11. Power saving clear Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 29 EPL65132 65 COM / 132 SEG LCD Driver 12. Modify-Read OFF 13. Static indicator OFF Static indicator register: (D1, D2) = (0, 0) 14. Display initial line set to first line: 0 15. Column address set to Address: 0 16. Page address set to Page: 0 17. Normal power mode: HP=0 18. V0 voltage regulator internal resistor ratio set mode clear: (R2, R1, R0) = (0, 0, 0) 19. Contrast control set mode clear Contrast control register: (D5, D4, D3, D2, D1, D0) = (1, 0. 0, 0, 0, 0) 8 Instruction Description Instruction A0 /RD /WR D7 D6 D5 D4 D3 D2 D1 D0 Description Read Display Data 1 0 1 Read Data Read data from DDRAM Write Display Data 1 1 0 Write Data Write data into DDRAM Read Status 0 0 1 - Set Duty Ratio Mode 0 1 0 1 0 0 Duty Ratio Register 0 1 0 * * 0 1 0 1 0 1 0 0 1 0 Display On/Off Initial Display Line Set CL Frequency Mode CL Frequency Register Set LCD Bias Select Mode LCD Bias Select Register Set Contrast Control Mode Set Contrast Control Register Set Page Address Set Column Address MSB Set Column Address LSB Status 0 0 0 0 Read the internal status 0 0 1 0 0 Set duty ratio Mode * * ICON 0 0 0 0 * * * 0 1 0 0 0 1 0 * * * * 0 1 0 1 0 1 0 0 1 0 0 1 0 1 0 1 0 0 1 0 * * 0 1 0 1 0 D2 D1 D0 0 1 0 D4 D3 D2 D1 D0 0 1 0 1 D3 D2 D1 D0 1 1 0 0 0 0 1 Set CL frequency Register Set LCD Bias select Mode Select the LCD Bias Specify DDRAM line for COM0 Set Contrast Control Mode D5 D4 D3 D2 D1 D0 Set Contrast Control Register 1 1 Page Address Set page address Higher order Column Add. Lower order column Add. DDRAM column address of the Higher 4-bits DDRAM column address of the lower 4-bits Select segment direction When ADC=0: normal direction (SEG0 Æ SEG131) When ADC=1: reverse direction (SEG131Æ SEG0) Select normal/inverse display 0: Normal display 1: Inverse display on 0 1 0 0 0 0 1 0 1 0 0 0 0 0 ADC Select 0 1 0 1 0 1 0 0 0 0 ADC Inverse Display ON/OFF 0 1 0 1 0 1 0 0 1 1 REV 30 • Set CL frequency Mode Turn on/off LCD panel 1 Don When DON=0: display off When DON=1: display on D5 D4 D3 D2 D1 D0 0 Select the duty ratio Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver Instruction A0 /RD /WR D7 D6 D5 D4 D3 D2 D1 D0 Description Select normal/entire display ON When EON=0: normal display. When EON=1: entire display ON Entire Display ON/OFF 0 1 0 1 0 1 0 0 1 0 EON Set Modify-read 0 1 0 1 1 1 0 0 0 0 0 Set modify-read mode Reset Modify-read 0 1 0 1 1 1 0 1 1 1 0 Release modify-read mode Reset 0 1 0 1 1 1 0 0 0 1 0 Initialize the internal functions * Select COM output direction When SHL=0: normal direction (COM0 → OM63) When SHL=1: reverse direction (COM63 → COM0) SHL Select 0 1 0 1 1 0 0 SHL Power Control 0 1 0 0 0 1 0 1 Set high power mode 0 1 0 1 0 0 0 0 Regulator Resistor Select 0 1 0 0 0 1 0 0 Set Static Indicator Mode 0 1 0 1 0 1 0 1 Set Static Indicator Register 0 1 0 * * * * * * Power Save - - - - - - - - - * * VC VR VF Control power circuit operation Select high or normal power mode Select internal resistance ratio R2 R1 R0 off the regulator resistor Set static indicator mode 1 0 SM When SM = 0: off When SM = 1: on 1 1 HP S1 S0 - - Set static indicator register Compound display instruction OFF and entire display ON Note: * means Don’t care 8.1 Read Display Data The 8-bit data from the display data RAM specified by the column address and page address can be read by this instruction. As the column address is automatically incremented by 1 after each instruction execution, the microprocessor can continuously read data from the addressed page. A0 /RD /WR 1 0 1 D7 D6 D5 D4 D3 D2 D1 D0 Read Data 8.2 Write Display Data The 8-bit display data from the microprocessor can be written to the RAM location specified by the column address and page address. After writing the display data, the column address is automatically incremented so that the microprocessor can continuously write data to the addressed page. A0 /RD /WR 1 1 0 D7 Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) D6 D5 D4 D3 D2 D1 D0 Write Data 31 EPL65132 65 COM / 132 SEG LCD Driver 8.3 Read Status This instruction reads out the internal status of the “ADC select”, “Display on/off” and “Reset”. A0 /RD /WR D7 D6 D5 0 0 1 - ADC D4 D3 D2 D1 D0 0 0 0 0 On/Off RESET Flag Description It shows the correspondence between the column address and segment drivers. ADC =0 : Reverse direction (SEG131 Æ SEG0) =1 : Normal direction (SEG0 Æ SEG131) This bit indicates the ON/OFF state of the display. 0: Display ON 1: Display OFF ADC On/Off Indicates the initialization is in progress by RESETB signal. RESET =0 : Normal display operation state =1 : Internal reset operation state with reset command. RESET 8.4 Set Duty Ratio (Two-Byte Instruction) This consists of 2-byte instruction. The first instruction sets the duty ratio mode, the second instruction updates the contents of the duty ratio register. After the second instruction, the set duty mode is released. The LSI cannot accept any instructions except for the “Set duty ratio register” during the set duty ratio mode. 8.4.1 Set Duty Ratio Mode (First Instruction) A0 /RD /WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 0 0 0 0 1 0 0 8.4.2 Set Duty Ratio Register (Second Instruction) A0 0 /RD /WR 1 0 D7 D6 D5 D4 D3 D2 D1 D0 Duty ratio * * * * ICON 0 0 0 8 (+ICON) 0 0 1 16 (+ICON) 0 1 0 24 (+ICON) 0 1 1 32 (+ICON) 1 0 0 36 (+ICON) 1 0 1 42 (+ICON) 1 1 0 48 (+ICON) 1 1 1 64 (+ICON) ICON : “1” Enable COMI (icon display) pin : ”0” Disable COMI (icon display) pin 32 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 8.5 Set Display Clock CL Frequency (Two-Byte Instruction) The display clock CL affects the current consumption and the frame frequency affects the flicker, so fine adjustments are required for the display clock CL and the frame frequency. 8.5.1 Set CL Frequency Select Mode (First Instruction) A0 /RD /WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 0 0 0 0 0 1 0 8.5.2 Set CL Frequency Select Register (Second Instruction) A0 0 /RD /WR 1 0 D7 * D6 * D5 * D4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 D3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 * D2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 * D1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 * D0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 * CL Frequency fOSC fOSC / 2 fOSC / 3 fOSC / 4 fOSC / 5 fOSC / 6 fOSC / 7 fOSC / 8 fOSC / 9 fOSC / 10 fOSC / 11 fOSC / 12 fOSC / 13 fOSC / 14 fOSC / 15 fOSC / 16 fOSC / 32 8.6 Select LCD Bias (Two-Byte Instruction) This instruction selects the LCD bias ratio of the voltage required for driving the LCD. 8.6.1 Set the LCD Bias Select Mode (First Instruction) A0 /RD /WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 0 0 0 0 1 0 1 8.6.2 Set the LCD Bias Select Register (Second Instruction) A0 0 /RD /WR 1 0 D7 * D6 * D5 * Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) D4 * D3 0 0 0 0 0 0 0 0 1 1 1 D2 0 0 0 0 1 1 1 1 0 0 0 D1 0 0 1 1 0 0 1 1 0 0 1 D0 0 1 0 1 0 1 0 1 0 1 0 LCD Bias 1/4 1/4.5 1/5 1/5.5 1/6 1/6.5 1/7 1/7.5 1/8 1/8.5 1/9 33 EPL65132 65 COM / 132 SEG LCD Driver 8.7 Display On/Off This instruction is used to control the turning on or off of the LCD panel regardless of the contents of the DDRAM. A0 0 /RD /WR 1 0 D7 D6 D5 D4 D3 D2 D1 D0 Display On or Off 1 0 1 0 1 1 1 0 0 : Off 1 1 : On 8.8 Initial Display Line This instruction sets the line address of the display RAM to determine the initial display line. The initial display line corresponds to COM0. The display area read from the display data RAM corresponds to the number of lines set by the Duty select command. A0 0 /RD /WR 1 0 D7 D6 D5 D4 D3 D2 D1 D0 Line Address for COM0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 1 . . . . . . . . . . . . . . 1 1 1 1 1 0 62 1 1 1 1 1 1 63 8.9 Electronic Contrast Control Set (Two-Byte instruction) This consists of 2-byte instruction. The first instruction sets contrast control mode, the second instruction updates the contents of the contrast control register. After second instruction, the contrast control mode is released. The LSI cannot accept any instructions except for the “Set Contrast Control Register” during the Contrast Control Mode. 8.9.1 Set Contrast Control Mode (First Instruction) A0 /RD /WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 0 0 0 0 0 0 1 8.9.2 Set Contrast Control Register (Second Instruction) A0 0 34 • /RD /WR D7 1 0 * D6 D5 D4 D3 D2 D1 D0 Electronic Volume Value (α) * 0 0 0 0 0 0 0 Minimum 0 0 0 0 0 1 1 . . . . . . . . . . . . . . 1 1 1 1 1 0 62 1 1 1 1 1 1 63 Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 8.10 Set Page Address This instruction sets the page address of the display data RAM from the microprocessor into the page address register. It is possible to access any required bit in the display data RAM by specifying the page address and the column address. Along with the column address, the page address defines the address of the display RAM used to write or read the display data. Changing the page address does not affect the display status. Page 8 is assigned for the icon display. Only D0 is valid. A0 0 /RD /WR 1 0 D7 D6 D5 D4 D3 D2 D1 D0 Page Address 1 0 1 1 0 0 0 0 0 0 0 0 1 1 . . . . . . . . . . 0 1 1 1 7 1 0 0 0 8 8.11 Set Column Address This instruction sets the column address of the display data RAM from the microprocessor into the column address register. When accessing the display data RAM from the MPU, the column address is incremented. The incrementing of the column address is stopped at address 83H. A0 0 /RD /WR 1 0 D7 D6 D5 D4 D3 D2 D1 D0 Column Address Setting 0 0 0 1 A7 A6 A5 A4 Upper 4-bit 0 A3 A2 A1 A0 Lower 4-bit A7 A6 A5 A4 A3 A2 A1 A0 Column Address 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 . . . . . . . . . . . . . . . . . . 1 0 0 0 0 0 1 0 130 1 0 0 0 0 0 1 1 131 Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 35 EPL65132 65 COM / 132 SEG LCD Driver 8.12 ADC Select This instruction selects the segment driver direction. Normal or reverse can be selected in the correlation between the display data RAM column address and the segment output terminal. A0 0 /RD /WR 1 0 D7 D6 D5 D4 D3 D2 D1 D0 Segment Driver Direction 1 0 1 0 0 0 0 0 Normal 1 Reverse D0 = 0 Normal Column addresses 00H to 83H correspond to segment outputs 0 to 131. Column addresses 00H to 83H correspond to segment outputs 131 to 0. D0 = 1 Reverse 8.13 Inverse Display On/Off This instruction is used to invert the display status of the LCD panel without rewriting the contents of the display data RAM. A0 0 /RD /WR 1 0 D7 D6 D5 D4 D3 D2 D1 D0 Display Status 1 0 1 0 0 1 1 0 Normal 1 Inverse D0 = 0 Normal D0 = 1 Inverse Display data “1” turns the LCD On. Display data “0” turns the LCD On. 8.14 Entire Display On/Off This instruction forces the whole LCD points to be turned on regardless of the contents of the display data RAM. At this time, the contents of the display data RAM will be retained. This instruction has priority over the Reverse Display On/Off instruction. A0 0 /RD /WR 1 0 D7 D6 D5 D4 D3 D2 D1 D0 Entire Display On/Off 1 0 1 0 0 1 0 0 Normal 1 Entire display On 8.15 Set Modify-Read This instruction stops the automatic increment of the column address by the Read Display Data instruction, but the column address is still incremented by the Write Display Data instruction. This instruction can reduce the load of the MPU. During the display, the data in a specific DDRAM area is repeatedly changed for cursor blinking or other functions. This mode is canceled by the Reset Modify-read instruction. 36 • A0 /RD /WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 1 1 0 0 0 0 0 Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 8.16 Reset Modify-Read This instruction cancels the Modify-read mode. The column address of the display data RAM returns to the address before the Read Modify Write is executed. A0 /RD /WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 1 1 0 1 1 1 0 8.17 Reset This instruction resets the initial display line, column address, page address, and the common output status is reset to their initial status, but does not affect the contents of display data RAM. This instruction cannot initialize the LCD power supply, which is initialized by the /RES pin. A0 /RD /WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 1 1 0 0 0 1 0 Reset status by “Reset” instruction: 1. Read modify write off 2. Static indicator off and static indicator register: (S1,S0)=(0,0) 3. Initial display line address : (00)H 4. Column address : (00)H 5. Page address : (0) page 6. SHL select : Normal mode (D3=0) 7. Regulator resistor select register: (R2, R1, R0)=(0,0,0) 8. Sets contrast control set mode off and contrast control register: (20)H 8.18 SHL Select The COM output scanning direction is selected by this instruction which determines the LCD driver output status. A0 0 /RD /WR 1 D7 D6 D5 D4 D3 D2 D1 D0 Common Driver Direction 1 1 0 0 0 * * * Normal 0 1 Reverse Note: * means Don’t care D3 = 0 Normal Normal direction (COM0 → COM 63) D3 = 1 Reverse Reverse direction (COM63 → COM 0) Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 37 EPL65132 65 COM / 132 SEG LCD Driver 8.19 Power Control This instruction is used to select one of the eight power circuit functions by using the 3-bit register. An external power supply and part of the internal power supply functions can be used simultaneously. A0 /RD /WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 0 1 0 1 VC VR VF VC: Voltage converter 0: Off 1: On VR: Voltage regulator VF: Voltage follower 8.20 Set High Power Mode When driving an LCD panel with large loads, the normal power mode may cause a poorer display quality. In such a case, setting to the high mode (HP=1) can improve the display quality. A0 /RD /WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 0 0 0 0 1 1 HP D0 = 0 Normal power mode D0 = 1 High power mode 8.21 Regulator Resistor Select This selects the resistance ratio of the internal resistor used in the internal voltage regulator. See voltage regulator section in power supply circuit for more details. 38 • A0 /RD /WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 0 1 0 0 R2 R1 R0 R2 R1 R0 [Rb/Ra] Ratio 0 0 0 Small 0 0 1 … .. .. .. .. 1 1 0 .. 1 1 1 Large Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 8.22 Set Status Indicator (Two-Byte Instruction) This consists of two bytes instruction. The first byte instruction (Set Static Indicator Mode) enables the second byte instruction (Set Static Indicator Register) to be valid. The first byte sets the static indicator on/off. When it is on, the second byte updates the contents of static indicator register without issuing any other instruction and this status indicator state is released after setting the data of the indicator register. 8.22.1 Set Status Indicator Mode (First Instruction) A0 0 /RD /WR 1 0 D7 D6 D5 D4 D3 D2 D1 D0 Status Indicator 1 0 1 0 1 1 0 0 Off 1 On 8.22.2 Set Static Indicator Register (Second Instruction) A0 0 /RD /WR 1 0 D7 D6 D5 D4 D3 D2 D1 D0 Status * * * * * * 0 0 Off 0 1 On (Blink at 4-frame intervals) 1 0 On (Blink at 2-frame intervals) 1 1 On (Turn on at all time) 8.23 Power Save (Compound Instruction) The current consumption can be greatly reduced by entering the power save status and inputting the “Entire Display ON” instruction while the display is in OFF mode. According to the status in static indicator mode, power save is entered through one of two modes (sleep and standby mode). Power Save mode is released by the “Display ON” & “Entire Display OFF” instructions. Static indicator OFF Static indicator ON Power saver (compound command) [ Display OFF ] [ Entire Display ON ] Static Indicator ON Sleep mode Standby mode Reset instruction Power Save OFF ( Compound Instruction ) [ Entire Display OFF ] [ Display ON ] [ Static Indicator ON ] Power Save OFF ( Compound Instruction ) [ Entire Display OFF ] [ Display ON ] Cancel Sleep mode Cancel Standby mode Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 39 EPL65132 65 COM / 132 SEG LCD Driver 8.23.1 Sleep Mode This stops all operations in the LCD display system, and as long as there are no accesses from the MPU, the consumption current is reduced to a value near the static current. The internal modes during sleep mode are as follows: 1. The oscillator circuit and the LCD power supply circuit are stopped. 2. All liquid crystal drive circuits are stopped, and the segment and common driver output VSS level. When a “static indicator on” instruction is issued in the sleep mode, the LSI goes into a standby mode. 8.23.2 Standby Mode All operations of the dynamic LCD display section are stopped, only the static display circuits for the indicators operate and hence the current consumption will be the minimum necessary for static drive. The internal conditions in the standby state are as follows: 1. The power supply circuit for LCD drive is stopped. The oscillator circuit will be operating. 2. The LCD drive circuits for dynamic display are stopped and the segment and common driver outputs will be at the VSS level. The static display section will be operating. When a reset instruction is issued in the standby mode, the LSI goes into the sleep mode. 40 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 9 Application Information 9.1 Instruction Procedure Examples 9.1.1 Initial Setup (From power application to display ON using internal power supply circuits) V D D -V S S P o w e r O N Pow er s ta b iliz a tio n In p u t R e s e t S ig n a l W a it fo r m o r e th a n 2 0 m s In itia l s e ttin g s s ta te (d e fa u lt) U s e r s e ttin g s v ia in s tr u c tio n in p u t (1 ) D U T Y s e le c t L C D b ia s s e le c t C L fr e q u e n c y s e le c t A D C s e le c t S H L s e le c t U s e r s e ttin g s v ia c o m m a n d in p u t (2 ) R e g u la to r r e s is to r s e le c t C o n tr a s t c o n tr o l v o lu m e U s e r s e ttin g s v ia c o m m a n d in p u t (3 ) P o w e r c o n tro l V C ,V R ,V F = (1 ,1 ,1 ) W a it fo r m o r e th a n 3 0 0 m s to s ta b iliz e p o w e r le v e ls th e L C D E n d o f in itia l s e ttin g s L C D d is p la y s c r e e n s e ttin g s D is p la y s ta r t lin e s e t W r itin g s c r e e n d a ta , e tc . D is p la y O N Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 41 EPL65132 65 COM / 132 SEG LCD Driver “Modify-read” Sequence Set Page Address Set Column Address Set modify-read Dummy read Data read Data write NO Change complete YES End 42 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver “External Oscillator Input” Sequence Set CL frequency select mode Set CL frequency select register Input clock to OSC pin End “LCD Power-on” Sequence (Use Internal Power Circuit) S le e p m o d e R e le a s e S le e p m o d e R e s e t V C , V R , V F = ( 0 ,0 ,0 ) S e t V C , V R , V F = ( 1 ,1 ,1 ) C le a r V F (R e s e t to 0 ) S e t V F to 1 (R e p e a t th is p r o c e d u r e V F 0 = > 1 u n til a ll v o lta g e a r e s ta b le . D e p e n d s o n th e o u ts id e lo a d in g ) V o lta g e S ta b le L C D d is p la y O N Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 43 EPL65132 65 COM / 132 SEG LCD Driver 9.2 Program Examples Use Elan Risc II MCU assembly ;***************************************************************************** ; Initialization Setting Example of EPL65132 ;***************************************************************************** INI_DRIVER_IC: MOV A,#LCD_COM_RESET ;INITIAL SETTINGS STATE (DEFAULT) CALL WRITE_LCD_1BYTE MOV A,#LCD_COM_DUTY CALL WRITE_LCD_1BYTE MOV A,#DUTY_SET CALL WRITE_LCD_1BYTE MOV A,#LCD_COM_BIAS CALL WRITE_LCD_1BYTE MOV A,BIAS_SET CALL WRITE_LCD_1BYTE MOV A,#LCD_COM_FREQ CALL WRITE_LCD_1BYTE MOV A,#CL_FREQ CALL WRITE_LCD_1BYTE MOV A,#LCD_ADC_SET CALL WRITE_LCD_1BYTE MOV A,#LCD_SHL_SET CALL WRITE_LCD_1BYTE MOV A,#LCD_REGULATOR_RES_SET CALL WRITE_LCD_1BYTE MOV A,#LCD_COM_CONTRAST CALL WRITE_LCD_1BYTE MOV A,#CONTRAST_SET CALL WRITE_LCD_1BYTE MOV A,#LCD_POWER_CONTROL_SET CALL WRITE_LCD_1BYTE BS REG_CPUCON,F_CKS ;ADD CLOCK BY OSC PIN (CLOCK FROM CPU) MOV A,#150 ;WAIT TO STABILIZE THE LCD POWER CALL WAIT_A_MS CALL LCD_DISPLAY_ON ;TURN ON LCD MOV A,#LCD_DISPLAY_INI_LINE ;SET INITIAL DISPLAY LINE CALL WRITE_LCD_1BYTE CALL LCD_DATA_WRITE ;SET DUTY 1ST INSTRUCTION ;SET DUTY 2ND INSTRUCTION ;SET LCD BIAS 1ST INSTRUCTION ;SET BIAS 2ND INSTRUCTION ;SET LCD CL FREQUENCY 1ST INSTRUCTION ;SET CL FREQUENCE 2ND INSTRUCTION ;SET ADC FUNCTION SELECT ;SET SHL FUNCTION SELECT ;SET REGULATOR RESISTOR 1+(Rb/Ra) ;SET CONTRAST 1ST INSTRUCTION ;SET CONTRAST 2ND INSTRUCTION ;SET POWER CONTROL (INTERNAL OR EXTERNAL) ;WRITING SCREEN DATA RET 44 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver ************************************************************************************* ; Write Display_Picture Data into Display Data RAM of EPL65132 ;************************************************************************************ DATA_WRITE: TBPTL #DISPLAY_PICTURE*2 TBPTM #DISPLAY_PICTURE/0x80 TBPTH #DISPLAY_PICTURE/0x8000 ;DEFINE DISPLAY PICTURE DATA INDEX DATA_WRITE_65132: MOV A,#LINE_Y_MAX MOV REG_LCDARH,A ;MAX PAGES OF DDRAM DATA_W1: MOV A,#LINE_X_MAX MOV REG_LCDARL,A ;SET MAX SEGMENTS OF DDRAM BC REG_PORTB,F_LCD_A0 MOV A,#LCD_COM_PAGE ADD A,REG_LCDARH CALL WRITE_LCD_1BYTE MOV A,#0b00000000 CALL WRITE_LCD_1BYTE MOV A,#0b00010000 CALL WRITE_LCD_1BYTE BS REG_PORTB,F_LCD_A0 ;SET LCD /A0 = 1 DATA OUTPUT TBRD 01,REG_ACC ;ACCESS THE DATA OF DISPLAY_PICTURE CALL WRITE_LCD_1BYTE DEC REG_LCDARL JBS REG_STATUS,F_C,DATA_W2 DEC REG_LCDARH JBS REG_STATUS,F_C,DATA_W1 BC REG_PORTB,F_LCD_A0 ;SET LCD /A0=0 INSTRUCTION OUTPUT ;SET LOWER ORDER COLUMN ADDRESS=0000 ;SET HIGHER ORDER COLUMN ADDRESS=0000 DATA_W2: ;IDENTIFY RES_STATUS CARRY BIT SET OR NOT ;LCD /A0 = 0 FOR INSTRUCTION OUTPUT RET Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 45 EPL65132 65 COM / 132 SEG LCD Driver ;***************************************************************************** ; Write One Byte Data into DDRAM (Parallel Mode 80 Series) ;***************************************************************************** ;AT FIRST DEFINE A0 TO IDENTIFY DATA OR INSTRUCTION WRITE WRITE_LCD_1BYTE: JBS REG_DCRG,F_LAHEN,WRITE_LCD_1BYTE_1 ;CHECK REG_DCRG LAHEN BIT=1 OR NOT BC ;SET /WR=0 ENABLE WRITE REG_PORTC,F_LCD_WR MOV REG_DATA,A ;MOVE A → PORT_G NOP ;Write low pulse( Wait 2 instruction cycles) NOP BS REG_PORTC,F_LCD_WR ;SET /WR=1 DISABLE WRITE NOP NOP NOP NOP RET WRITE_LCD_1BYTE_1: MOV REG_DATA, ;MOVE A → PORT_G RET ;***************************************************************************** ; Read One Byte Data into DDRAM (Parallel Mode 80 Series) ;***************************************************************************** ;AT FIRST DEFINE A0 TO IDENTIFY DATA OR INSTRUCTION READ READ_LCD_1BYTE: BC REG_PORTB,F_LCD_RD ;SET /RD=0 ENABLE READ NOP NOP MOV A,REG_DATA ;MOVE PORT_G → A NOP BS REG_PORTB,F_LCD_RD ;SET /RD=1 DISABLE READ NOP RET 46 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 10 Electrical Characteristics 10.1 Absolute Maximum Ratings Parameter Applicable Pins Symbol Condition Rated Value Power supply voltage VDD VDD TA=25°C -0.3 to +7 Driver supply voltage VOUT VLCD TA=25°C -0.3 to +17 All InpuT VIN TA=25°C -0.3 to VDD+0.3 Operating temperature range - TA - -30 to +80 Storage temperature range - - - -55 to +125 Input voltage Unit V °C 10.2 Recommended Operating Conditions Parameter Power supply Voltage Voltage converter output voltage Output voltage Input voltage Operating temperature range Applicable Pins Symbol VDD VDD VOUT Rated Value Condition Unit Min. Typ. Max. - 2.2 - 5.5 VOUT - 4.0 - 15 - VOH - 0.7VDD - VDD - VOL - VSS - 0.3VDD - VIH - 0.7VDD - VDD - VIL - VSS - 0.3VDD - TA - 0 - 40 Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) V °C 47 EPL65132 65 COM / 132 SEG LCD Driver 10.3 DC Characteristics VSS=0V, VDD=2.7V to 3.3V, TA=-30°C ~ 80°C Parameter Applicable Pins Symbol Power Supply Voltage VDD VDD VDD VDD2 VDD Condition Rated Value Min. Typ. Max. 2.2 - 5.5 2 × boost 2.2 - 5.5 VDD3 3 × boost 2.2 - 5.0 VDD VDD4 4 × boost 2.2 - 3.75 VDD VDD5 5 × boost 2.2 - 3.0 Reference Voltage - VREF TA = 25°C 1.98 2.06 2.14 Regulated Voltage Bias Voltage V0 V4 V0 TA = 25°C V0-4% V0 V0+4% V4 TA = 25°C 0.75 - VOH IOH = -0.5mA 0.8VDD - VDD - VOL IOL = 0.5mA VSS - 0.2VDD 95 99 100 - 2 5 400 25 800 50 1200 75 Cv 1 - 3.3 Cb - 1 - Cout 2.2 - 4.7 - - ±1 Voltage Converter Input voltage 1 Output Voltage Voltage Converter Output Voltage LCD Driver ON Resistance VOUT VOUT COMn SEGn RON Reset Resistor /RES RRESET LCD Voltage Capacitor V0, V1, V2, V3, V4 C1, -C1, C2, -C2, C3, C4 Boost Capacitor Vout Capacitor Vout Input Leakage Current All Input Output Current (Source and Drain) Output Tri-state 2 ×2/×3/×4/×5 No load Current load Iload = 50µA VDD = 3V, Vin = 0V VDD = 3V, Vin = 1.7V IIL VIN = VDD or 0V 3 VOUT = VDD or VSS - IDDD Current Consumption - IDDs1 Standby mode - 5 10 Current Consumption - IDDs2 Sleep mode - 1 2 Frame Frequency - fFM - 85 - Internal Oscillator Frequency External Input Oscillator - fOSC TA = 25°C 17 22 27 OSC fOSC TA = 25°C - 22 - V 0 = (1 + % kΩ µF ±3 Dynamic Current Consumption 1 V ± 500 3 VDD = 3V, TA = 25°C, Quad boosting, fOSC = 22kHz, 1/65 duty ratio, All display pattern off Note : Unit - 88 140 µA Hz kHz Rb (63 − α ) ) × VEV ; VEV = (1 − ) × VREF Ra 252 2 : Input pin D0~D7, A0, /RD, /WR, /CS1, CS2, CLS, M/S, C86, P/S, /RES, IRS, OSC 3 : Output pin D0~D7, FR, FRS, /DOF, CL 48 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 10.4 AC Characteristics 10.4.1 Serial Interface Timing Characteristics /CS1,CS2 tCHS tCSS A0 /WR (R/W) tASS D6 (SCK) tCYCS tCLLS tDSS tAHS tCLHS tDHS D7 (SDI) tOHS tDDS D5 (SDO) VSS= 0V, VDD= 3.0 V, TA=25°C Parameter Applicable Pins Symbol Condition Chip Select Setup Time Chip Select Hold Time /CS1 CS2 tCSS tCHS Address Setup time Address Hold time A0 R/W Data Setup Time Data Hold Time Rated Value Min. Max. - 100 100 - tASS tAHS - 100 100 - D7 (SDI) tDSS tDHS DATA→SCK↑ 80 80 - Clock Cycle Time Clock L Time Clock H Time D6 (SCK) tCYCS tCLLS tCLHS - 300 100 100 - Data Delay Time Data Disable Time D5 (SDO) tDDS tOHS CL= 100 pF - 10 80 50 Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) SCK↑→DATA Unit ns 49 EPL65132 65 COM / 132 SEG LCD Driver 10.4.2 80-Family MPU Read/Write Timing Characteristics tAH8 A0 /CS1 (CS2) tAW8 tCYC8 tCC8 /WR, /RD tDS8 tDH8 D0 to D7 (Write) tACC8 tOH8 D0 to D7 (Read) VSS= 0V, VDD= 3.0 V, TA= 25°C Parameter Applicable Pins Symbol Condition Address Setup Time Address Hold Time A0 tAW8 tAH8 System Cycle Time A0 /WR /RD Pulse Width(/WR) Pulse Width(/RD) Data Setup Time Data Hold Time Read Access Time Output Disable Time 50 • D0~D7 Rated Value Min. Max. - 0 0 - tCYC8 - 500 - tCC8 - - tDS8 tDH8 - 160 200 20 10 tACC8 tOH8 CL=100pF - 10 60 40 Unit ns - Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 10.4.3 68-Family MPU Read/Write Timing Characteristics tcyc6 E tEW tAW6 A0 R/W tAH6 /CS1 (CS2) tDS6 tDH6 D0 to D7 (Write) tACC6 tOH6 D0 to D7 (Read) VSS= 0V, VDD= 3.0 V, TA= 25°C Parameter Applicable Pins Symbol Condition Address Setup Time Address Hold Time A0 R/W tAW6 tAH6 System Cycle Time A0 Pulse Width(/WR) Pulse Width(/RD) E Data Setup Time Data Hold Time Read Access Time Output Disable Time D0~D7 Rated value Min. Max. - 0 0 - tCYC6 - 500 - tEW - 160 200 - tDS6 tDH6 - 20 10 - tACC6 tOH6 CL=100pF - 10 60 40 Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) Unit ns 51 EPL65132 65 COM / 132 SEG LCD Driver 11 Pin Configuration 11.1 Input Pin Configuration VDD 11.2 Input/Output Pin Configuration VDD Output data Output enable Input enable 52 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 11.3 Output Pin Configuration VDD 11.4 Reset Input Pin Configuration VDD Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 53 EPL65132 65 COM / 132 SEG LCD Driver 11.5 LCD Output Pin Configuration V0 V0 V1 COMMON OUTPUT 54 • V2 SEGMENT OUTPUT V4 V3 VSS VSS Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 12 MPU Interface 12.1 Elan 8-bit MPU (with external memory) VDD VCC PORT D_1 PORT A,B A0 VCC /CS1 CS2 RISC2 MPU C68 EPL65132 PORT G PORT D_2 PORT D_3 /RES GND D0 ~D7 /RD /WR /RES VDD LCD PANEL PORT D_4 PORT D_5 PS GND /RESET VDD VCC /OE R/W /CE FLASH D0 ~D7 A0~An GND 12.2 Serial Interface (SPI) VDD VCC A0 PORT3_1 A0 /CS1 CS2 VDD OR VSS C68 LCD PANEL VDD MPU VCC EPL65132 SDI (D7) SCK (D6) SDO (D5) PORT2 PORT1 PORT0 PS /RES /RES GND GND /RESET Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 55 EPL65132 65 COM / 132 SEG LCD Driver 12.3 80-Family MPU VDD VCC A0 A1~A7 /IORQ A0 DECODER VCC /CS1 CS2 80 type MPU C68 EPL65132 D0 ~D7 /RD /WR /RES GND D0 ~D7 /RD /WR /RES VDD PS GND /RESET 12.4 68-Family MPU VDD VCC A0 A1~A15 VMA A0 DECODER 68 type MPU VCC /CS1 CS2 VDD C68 EPL65132 D0 ~D7 E R/W /RES GND D0 ~D7 /RD /WR /RES VDD PS GND /RESET 56 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) EPL65132 65 COM / 132 SEG LCD Driver 13 Application Circuits Example 1: 65×132 pixels driving application circuits (“Single-chip” using internal oscillator) LCD PANEL 64X132 PIXELS WITH ICON DISPLAY COM0~63+ COMI SEG0~SEG131 CLS /IORQ A0 . . An FR CL /DOF V0 V1 DECODER MASTER V2 V3 V4 M/S ( EPL65132 ) OSC /CS1 CS2 A0 /RD /WR D0~D7 /RST A0 /RD /WR D0~D7 /RES RESET CIRCUIT Example 2: 65×264 pixels driving application circuits (“Multi-chip” using external oscillator) LCD PANEL 64X264 PIXELS WITH ICONS DISPLAY SEG0~SEG131 COM0~31+COMI CLS /IORQ A0 . . An DECODER SEG0~SEG131 FR CL /DOF V0 V1 MASTER (E65132) V2 V3 V4 M/S OSC /CS1 CS2 A0 /RD /WR D0~D7 /RST COM32~63+COMI FR CL /DOF V0 V1 V2 V3 V4 M/S SLAVE (E65132) OSC /CS1 CS2 A0 /RD /WR D0~D7 /RST MPU CLK0 A0 /RD /WR D0~D7 /RES RESET CIRCUIT Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice) 57 EPL65132 65 COM / 132 SEG LCD Driver 58 • Product Specification (V1.8) 01.12.2006 (This specification is subject to change without further notice)