NJU6678 PRELIMINARY 104-common x 132-segment BIT MAP LCD DRIVER GENERAL DESCRIPTION PACKAGE OUTLINE The NJU6678 is a bit map LCD driver to display graphics or characters. It contains 21,120 bits display data RAM, microprocessor interface circuits, instruction decoder, 132-segment and 104-common drivers. The bit image display data is transferred to the display data RAM by serial or 8-bit parallel interface. The NJU6678 displays 104 x 132 dots graphics or 8-character 6-line by 16 x 16 dots character. It oscillates by built-in OSC circuit without any external components. Furthermore, the NJU6678 features Partial Display Function which creates up to 2 blocks of active display area and optimizes duty cycle ratio. This function sets optimum boosted voltage by the combination with both of programmable 5-time voltage booster circuit and 201step electrical variable resistor. As result, it reduces the operating current. The operating voltage from 2.5V to 3.3V and low operating current are useful for small size battery operating items. NJU6678CL FEATURES Direct Correspondence between Display Data RAM and LCD Pixel Display Data RAM - 21,120 bits (1.5 times over than display size) 236 LCD Drivers - 104-common and 132-segment Direct Microprocessor Interface for both of 68 and 80 type MPU Serial Interface Partial Display Function (2 blocks of active display area and automatic duty cycle ratio selection) Easy Vertical Scroll by the variable start line address and over size display data RAM Programmable Bias selection ; 1/4,1/5,1/6,1/7,1/8,1/9,1/10,1/11 bias Common Driver Order Assignment by mask option Version C0 to C103(Pin name) NJU6678A Com0 to Com103 NJU6678B Com103 to Com0 Useful Instruction Set Display Data Read/Write, Display ON/OFF Cont, Inverse Display, Page Address Set, Display Start Line Set, Partial Display, Bias Select, Column Address Set, Status Read, All On/Off, Voltage Booster Circuits Multiple Select(Maximum 5-time), n-Line Inverse, Read Modify Write, Power Saving, ADC Select, etc. Power Supply Circuits for LCD; Programmable Voltage Booster Circuits(5-time Maximum), Regulator, Voltage Follower x 4 Precision Electrical Variable Resistance Low Power Consumption Operating Voltage --- 2.5V to 3.3V LCD Driving Voltage --- 6.0V to 17V Package Outline C-MOS Technology --- COF / TCP / Bumped Chip Mar.2000 Ver.2.1 NJU6678 PAD LOCATION S 28 S 29 S10 2 S10 3 S27 S26 S104 S105 Y S130 S131 C103 C102 S1 S0 C5 1 C5 0 X C53 C52 C1 C0 : : : : : : : X=0um,Y=0um X=5.36mm,Y=5.31mm 675um + 30um 45um x 83um 60um(Min) 15um TYP. Au + + VD D V1 V2 V3 V4 V5 VR C1 C1 C2 C2 + C3 C3 C4 C4 + V OU T VS S D 7 ( SI) D 6 ( S CL) D5 D4 D3 D2 D1 D0 RD WR A0 CS O S C2 O S C1 T1 T2 VSS RE S CE L 68 P/S VD D D UM MY7 D UM MY6 D UM MY5 D UM MY4 D UM MY3 D UM MY2 D UM MY1 D UM MY0 Chip Center Chip Size Chip Thickness Bump Size Pad pitch Bump Height Bump Material NJU6678 TERMINAL DESCRIPTION Chip Size 5.36 x 5.31mm (Chip Center X=0um,Y=0um) PAD No. Terminal X= um Y= um PAD No. Terminal X= um Y= um 1 DUMMY0 -2250 -2497 51 C4 2523 -2130 2 DUMMY1 -2190 -2497 52 C5 2523 -2070 3 DUMMY2 -2130 -2497 53 C6 2523 -2010 4 DUMMY3 -2070 -2497 54 C7 2523 -1950 5 DUMMY4 -2010 -2497 55 C8 2523 -1890 6 DUMMY5 -1950 -2497 56 C9 2523 -1830 7 DUMMY6 -1890 -2497 57 C 10 2523 -1770 8 DUMMY7 -1830 -2497 58 C 11 2523 -1710 9 VDD -1747 -2497 59 C 12 2523 -1650 10 P/S -1666 -2497 60 C 13 2523 -1590 11 CEL68 -1596 -2497 61 C 14 2523 -1530 12 RES -1487 -2497 62 C 15 2523 -1470 13 V SS -1417 -2497 63 C 16 2523 -1410 14 T2 -1347 -2497 64 C 17 2523 -1350 15 T1 -1238 -2497 65 C 18 2523 -1290 16 OSC 1 -1168 -2497 66 C 19 2523 -1230 17 OSC2 -1049 -2497 67 C 20 2523 -1170 18 CS -979 -2497 68 C 21 2523 -1110 19 A0 -861 -2497 69 C 22 2523 -1050 20 WR -791 -2497 70 C 23 2523 -990 21 RD -667 -2497 71 C 24 2523 -930 22 D0 -510 -2497 72 C 25 2523 -870 23 D1 -289 -2497 73 C 26 2523 -810 24 D2 -69 -2497 74 C 27 2523 -750 25 D3 152 -2497 75 C 28 2523 -690 26 D4 372 -2497 76 C 29 2523 -630 27 D5 592 -2497 77 C 30 2523 -570 28 D 6(SCL) 813 -2497 78 C 31 2523 -510 29 D 7(SI) 1033 -2497 79 C 32 2523 -450 30 V SS 1191 -2497 80 C 33 2523 -390 31 V OUT 1261 -2497 81 C 34 2523 -330 32 C4 + 1331 -2497 82 C 35 2523 -270 33 C4- 1401 -2497 83 C 36 2523 -210 34 C3+ 1471 -2497 84 C 37 2523 -150 35 C3 - 1541 -2497 85 C 38 2523 -90 36 C2+ 1611 -2497 86 C 39 2523 -30 37 C2- 1681 -2497 87 C 40 2523 30 38 C1 + 1751 -2497 88 C 41 2523 90 39 C1- 1821 -2497 89 C 42 2523 150 40 VR 1891 -2497 90 C 43 2523 210 41 V5 1961 -2497 91 C 44 2523 270 42 V4 2031 -2497 92 C 45 2523 330 43 V3 2101 -2497 93 C 46 2523 390 44 V2 2171 -2497 94 C 47 2523 450 45 V1 2241 -2497 95 C 48 2523 510 46 VDD 2311 -2497 96 C 49 2523 570 47 C0 2523 -2370 97 C 50 2523 630 48 C1 2523 -2310 98 C 51 2523 690 49 C2 2523 -2250 99 S0 2523 750 50 C3 2523 -2190 100 S1 2523 810 NJU6678 PAD No. Terminal X= um Y= um PAD No. Terminal X= um Y= um 101 S2 2523 870 151 S 52 810 2497 102 S3 2523 930 152 S 53 750 2497 103 S4 2523 990 153 S 54 690 2497 104 S5 2523 1050 154 S 55 630 2497 105 S6 2523 1110 155 S 56 570 2497 106 S7 2523 1170 156 S 57 510 2497 107 S8 2523 1230 157 S 58 450 2497 108 S9 2523 1290 158 S 59 390 2497 109 S 10 2523 1350 159 S 60 330 2497 110 S 11 2523 1410 160 S 61 270 2497 111 S 12 2523 1470 161 S 62 210 2497 112 S 13 2523 1530 162 S 63 150 2497 113 S 14 2523 1590 163 S 64 90 2497 114 S 15 2523 1650 164 S 65 30 2497 115 S 16 2523 1710 165 S 66 -30 2497 116 S 17 2523 1770 166 S 67 -90 2497 117 S 18 2523 1830 167 S 68 -150 2497 118 S 19 2523 1890 168 S 69 -210 2497 119 S 20 2523 1950 169 S 70 -270 2497 120 S 21 2523 2010 170 S 71 -330 2497 121 S 22 2523 2070 171 S 72 -390 2497 122 S 23 2523 2130 172 S 73 -450 2497 123 S 24 2523 2190 173 S 74 -510 2497 124 S 25 2523 2250 174 S 75 -570 2497 125 S 26 2523 2310 175 S 76 -630 2497 126 S 27 2523 2370 176 S 77 -690 2497 127 S 28 2250 2497 177 S 78 -750 2497 128 S 29 2190 2497 178 S 79 -810 2497 129 S 30 2130 2497 179 S 80 -870 2497 130 S 31 2070 2497 180 S 81 -930 2497 131 S 32 2010 2497 181 S 82 -990 2497 132 S 33 1950 2497 182 S 83 -1050 2497 133 S 34 1890 2497 183 S 84 -1110 2497 134 S 35 1830 2497 184 S 85 -1170 2497 135 S 36 1770 2497 185 S 86 -1230 2497 136 S 37 1710 2497 186 S 87 -1290 2497 137 S 38 1650 2497 187 S 88 -1350 2497 138 S 39 1590 2497 188 S 89 -1410 2497 139 S 40 1530 2497 189 S 90 -1470 2497 140 S 41 1470 2497 190 S 91 -1530 2497 141 S 42 1410 2497 191 S 92 -1590 2497 142 S 43 1350 2497 192 S 93 -1650 2497 143 S 44 1290 2497 193 S 94 -1710 2497 144 S 45 1230 2497 194 S 95 -1770 2497 145 S 46 1170 2497 195 S 96 -1830 2497 146 S 47 1110 2497 196 S 97 -1890 2497 147 S 48 1050 2497 197 S 98 -1950 2497 148 S 49 990 2497 198 S 99 -2010 2497 149 S 50 930 2497 199 S 100 -2070 2497 150 S 51 870 2497 200 S 101 -2130 2497 NJU6678 PAD No. Terminal X= um Y= um PAD No. Terminal X= um Y= um 201 S 102 -2190 2497 251 C 83 -2524 -510 202 S 103 -2250 2497 252 C 82 -2524 -570 203 S 104 -2524 2370 253 C 81 -2524 -630 204 S 105 -2524 2310 254 C 80 -2524 -690 205 S 106 -2524 2250 255 C 79 -2524 -750 206 S 107 -2524 2190 256 C 78 -2524 -810 207 S 108 -2524 2130 257 C 77 -2524 -870 208 S 109 -2524 2070 258 C 76 -2524 -930 209 S 110 -2524 2010 259 C 75 -2524 -990 210 S 111 -2524 1950 260 C 74 -2524 -1050 211 S 112 -2524 1890 261 C 73 -2524 -1110 212 S 113 -2524 1830 262 C 72 -2524 -1170 213 S 114 -2524 1770 263 C 71 -2524 -1230 214 S 115 -2524 1710 264 C 70 -2524 -1290 215 S 116 -2524 1650 265 C 69 -2524 -1350 216 S 117 -2524 1590 266 C 68 -2524 -1410 217 S 118 -2524 1530 267 C 67 -2524 -1470 218 S 119 -2524 1470 268 C 66 -2524 -1530 219 S 120 -2524 1410 269 C 65 -2524 -1590 220 S 121 -2524 1350 270 C 64 -2524 -1650 221 S 122 -2524 1290 271 C 63 -2524 -1710 222 S 123 -2524 1230 272 C 62 -2524 -1770 223 S 124 -2524 1170 273 C 61 -2524 -1830 224 S 125 -2524 1110 274 C 60 -2524 -1890 225 S 126 -2524 1050 275 C 59 -2524 -1950 226 S 127 -2524 990 276 C 58 -2524 -2010 227 S 128 -2524 930 277 C 57 -2524 -2070 228 S 129 -2524 870 278 C 56 -2524 -2130 229 S 130 -2524 810 279 C 55 -2524 -2190 230 S 131 -2524 750 280 C 54 -2524 -2250 231 C 103 -2524 690 281 C 53 -2524 -2310 232 C 102 -2524 630 282 C 52 -2524 -2370 233 C 101 -2524 570 234 C 100 -2524 510 235 C 99 -2524 450 236 C 98 -2524 390 237 C 97 -2524 330 238 C 96 -2524 270 239 C 95 -2524 210 240 C 94 -2524 150 241 C 93 -2524 90 242 C 92 -2524 30 243 C 91 -2524 -30 244 C 90 -2524 -90 245 C 89 -2524 -150 246 C 88 -2524 -210 247 C 87 -2524 -270 248 C 86 -2524 -330 249 C 85 -2524 -390 250 C 84 -2524 -450 NJU6678 BLOCK DIAGRAM C0 C51 S0 S131 C103 C52 VSS VDD Voltage COM S EG COM D ri v e r D ri v er D ri v e r S hi f t S h i f t Reg i s t er Re gi s t e r COM SEG Timing Generator Generator La t ch Display Data RAM 160 x 132 Culumn Address Decoder Display Timing Culumn Address Counter Generator Culumn Address Register OSC1 OSC. M u l t i p l exe r Instruction Decoder In t e rna l Start Line Regis ter Da ta C o u n t er Row Addr ess Dec oder Addr ess Pa ge I / O B u f f e r T1,T2 R egis ter Output Assignment VR Register D i sp l ay L i n e C1+ C1C2+ C2C3+ C3C4+ C4- 5 Line Address Decoder V1 to V5 B F S ta t us Bus Ho l de r Bu s Res et M PU I nt e rf ac e RD RES CS A0 CEL68 WR P/S D0 to D7 (SI,SCL) OSC2 NJU6678 TERMINAL DESCRIPTION No. Symbol I/O Function 1 to 8 DUMMY0 to DUMMY7 9,46 VDD Power 13,30 VSS GND VSS=0V 45 44 43 42 41 V1 V2 V3 V4 V5 Power Dummy Terminals. These terminals are insulated. VDD =+3V LCD Driving Voltage Supplying Terminal. When the internal voltage booster is not used, supply each level of LCD driving voltage from outside with following relation. VDD>V1>V2>V3>V4>V5 When the internal power supply is on, the internal circuits generate and supply following LCD bias voltage from V1 to V4 terminals. Bias V1 V2 V3 V4 1/4 Bias V 5+ 3 / 4 V L C D V 5+ 2 / 4 V L C D V 5 + 2 / 4 VL C D V 5 + 1 / 4 VL C D 1/5 Bias V 5+ 4 / 5 V L C D V 5+ 3 / 5 V L C D V 5 + 2 / 5 VL C D V 5 + 1 / 5 VL C D 1/6 Bias V 5+ 5 / 6 V L C D V 5+ 4 / 6 V L C D V 5 + 2 / 6 VL C D V 5 + 1 / 6 VL C D 1/7 Bias V 5+ 6 / 7 V L C D V 5+ 5 / 7 V L C D V 5 + 2 / 7 VL C D V 5 + 1 / 7 VL C D 1/8 Bias V 5+ 7 / 8 V L C D V 5+ 6 / 8 V L C D V 5 + 2 / 8 VL C D V 5 + 1 / 8 VL C D 1/9 Bias V 5+ 8 / 9 V L C D V 5+ 7 / 9 V L C D V 5 + 2 / 9 VL C D V 5 + 1 / 9 VL C D 1/10 Bias V 5 +9/10V L C D V 5 +8/10V L C D V 5 +2/10V L C D V 5 +1/10V L C D 1/11 Bias V 5 +10/11V L C D V 5 +9/11V L C D V 5 +2/11V L C D V 5 +1/11V L C D (V LCD =VDD -V 5 ) + - 38,39 36,37 34,35 32,33 C1 ,C1 C2 +,C2C3 +,C3C4 +,C4- O Step up capacitor connecting terminals. Voltage booster circuit (Maximum 5-time) 31 VOUT O Step up voltage output terminal. Connect the step up capacitor between this terminal and VSS . 40 VR I Voltage adjust terminal. V5 level is adjusted by external bleeder resistance connecting between VDD and V5 terminal. 15 14 T1 T2 I LCD bias voltage control terminals. ( *:Don't Care) 22 to 29 D 0 to D7 (SI) (SCL) 19 A0 T1 T2 Voltage booster Cir. Voltage Adj. V/F Cir. L * Available Available Available H L Not Avail. Available Available H H Not Avail. Not Avail. Available I/O P/S="H" : Tri-state bi-directional Data I/O terminal in 8-bit parallel operation. P/S="L" : D7 =Serial data input terminal. D 6 =Serial data clock signal input terminal. Data from SI is loaded at the rising edge of SCL and latched as the parallel data at 8th rising edge of SCL. I Connect to the Address bus of MPU. The data on the D 0 to D7 is distinguished between Display data and Instruction by status of A0. A0 H L Distin. Display Data Instruction 12 RES I Reset terminal. When the RES terminal goes to "L", the initialization is performed. Reset operation is executing during "L" state of RES. 18 CS I Chip select terminal. Data Input/Output are available during CS ="L". NJU6678 No Symbol I/O F u n c t i o n 21 RD(E) I <In case of 80 Type MPU> RD signal of 80 type MPU input terminal. Active "L" During this signal is "L" , D 0 to D 7 terminals are output. <In case of 68 Type MPU> Enable signal of 68 type MPU input terminal. Active "H" 20 WR(RW) I <In case of 80 Type MPU> Connect to the 80 type MPU WR signal. Actie "L". The data on the data bus input syncronizing the rise edge of this signal. <In case of 68 Type MPU> The read/write control signal of 68 type MPU input terminal. 11 CEL68 10 P/S I I R/W H L State Read Write MPU interface type selection terminal. CEL68 H L State 68 Type 80 Type serial or parallel interface selection terminal. P/S Chip Select Data/Command "H" CS A "L" CS A0 Data D0 to Read/Write serial Clock RD,WR - Write Only SCL(D 6 ) D7 SI(D 7 ) RAM data and status read operation do not work in mode of the serial interface. In case of the serial interface (P/S="L"),RD and WR must be fixed "H" or "L", and D 0 to D 5 are high impedance. 16 17 47 to 98 OSC 1 OSC 2 I System clock input terminal for Maker testing.(This terminal should be Open) For external clock operation, the clock shoud be input to OSC1 terminal. C0 O LCD driving signal output terminals. Segmet output terminals:S 0 to S 1 3 1 Common output terminals:C 0 to C1 0 3 to C 51 Segment output terminal The following output voltages are selected by the combination of FR and data in the RAM.(non of the n-line inverse functions) 99 to 230 S0 to S 1 3 1 O RAM Data H L 282 to 231 C52 to O FR Output Voltage Normal Reverse H V DD V2 L V5 V3 H V2 V DD L V3 V5 Common output terminal The following output voltages are selected by the combination of FR and status of common. C103 Scan data H L FR Output Voltage H V5 L VDD H V1 L V4 NJU6678 Functional Description (1) Description for each blocks (1-1) Busy Flag (BF) While the internal circuits are operating, the busy flag (BF) is "1" and any instruction excepting for the status read are inhibited . The busy flag goes to “1” from D7 terminal when status read instruction is executed. When enough cycle time over than tCYC indicated in “ BUS TIMING CHARACTERISTICS” is ensured, no need to check the busy flag for reduction of the MPU loads. (1-2)Display Start Line Register The Display start Line Register is a pointer register which indicates the address in the Display Data RAM corresponding with COM0(normally it display the top line in the LCD Panel). This register also operates for vertical display scroll, the display page change and so on. The Display Start Line Set instruction sets the display start address of the Display Data RAM represented in 8-bit to this register. (1-3) Line Counter The Line Counter generates the line address of display data RAM by the count up operation synchronizing the common cycle after the reset operation at the status change of internal FR signal. (1-4) Column Address Counter The column address counter is 8-bit pre-settable counter addressing the column address of display data RAM as shown in Fig. 1. It is incremented (+1) up to (84)H by the Display Data Read/Write instruction execution. It stops the count up operation at (84)H, and it does not count up non existing address area over than (84)H by the count lock function. This count lock is released by new column address set. The column address counter is independent of the Page Register. By the Address Inverse Instruction, the column address decoder inverse the column address of Display Data RAM corresponding to the Segment Driver. (1-5) Page Register The page register gives a page address of Display Data RAM as shown in Fig. 1. When the MPU accesses the data with the page change, the page address set instruction is required. (1-6) Display Data RAM Display Data RAM is the bit map RAM consisting of 21,120 bits to memorize the display data corresponding to each pixel of LCD panel. The each bit in the Display Data RAM corresponds to the each pixel of the LCD panel and controls the display by following bit data. When Normal Display : On="1" , Off="0" When Inverse Display : On="0" , Off="1" The Display Data RAM outputs 132-bit parallel data in the area addressed by the line counter, and these data are set into the Display Data Latch. The access operation from MPU to the display data RAM and the data output from the display data RAM are so controlled to operate independently that the data rewriting does not influence with any malfunctions to the display.The relation between column address and segment output can inverse by the Address Inverse Instruction ADC as shown in Fig.1. (1-7) Common Driver Assignment The scanning order can be assigned by mask option as shown on Table 1. Table 1 COM Outputs Terminals PAD No. 47 Pin name C0 98 C 51 231 C 103 282 C52 Ver.A COM0 C O M 51 C O M 103 C O M 52 Ver.B C O M 103 C O M 52 COM0 C O M 51 NJU6678 Page Address DATA Line Display Pattern Address D0 00 D1 01 D2 D4,D3,D2,D1,D0 (0,0,0,0,0) 04 D5 05 D6 06 D7 07 D0 08 D1 09 D2 0A (0,0,0,0,1) D4 0B Pege 1 : : : : 0D D6 0E D7 0F Cn Out D0 10 C0 D1 11 C1 D2 12 C2 13 C3 14 C4 D5 15 C5 D6 16 C6 D7 17 C7 D0 18 C8 D1 19 C9 : : : : : : : : D6 6E C94 D7 6F C65 D0 70 C96 D1 71 C97 D2 72 C98 D3 Pege 2 : : : : D4,D3,D2,D1,D0 (0,1,1,1,0) 0C D5 D4 (0,0,0,1,0) 03 Pege 0 D4 D3 D4,D3,D2,D1,D0 02 D3 D4,D3,D2,D1,D0 : : : : D3 73 C99 D4 74 C100 D5 75 C101 D6 76 C102 D7 77 C103 D0 78 D1 79 D2 7A Pege 14 D4,D3,D2,D1,D0 D3 (0,1,1,1,1) D4 7C D5 7D D6 7E D7 7F D0 80 7B Pege 15 D1 : : : : 81 : : : : : : : : : : : : D6 96 D7 97 D0 98 D1 99 D2 D4,D3,D2,D1,D0 9A D3 9B Pege 19 D4 (1,0,0,1,1) 9C D5 9D D6 9E D7 Column Address 9F | | | | | | | | | | D 0= " 0 " 00 01 02 03 04 05 06 07 08 09 D 0= " 1 " 83 82 81 80 7F 7E 7D 7C 7B 7A Segment Output 0 1 2 3 4 8 A D C For example the Display start line is 10 H 5 6 7 9 | | | | | | | | | | 7A 7B 7C 7D 7E 7F 80 81 82 83 09 08 07 06 05 04 03 02 01 00 122 123 124 125 126 127 128 129 131 Fig.1 Correspondence with Display Data RAM Address 130 NJU6678 (1-8) Reset Circuit Reset circuit operates the following initializations when the condition of RES terminal goes to "L" level. Initialization 1 Display Off 2 Normal Display (Non-inverse display) 3 ADC Select : Normal (ADC Instruction D0 =”0”) 4 Read Modify Write Mode Off 5 Internal Power supply (Voltage Booster) circuits Off 6 Static Drive Off 7 Driver Output Off 8 Clear the serial interface register 9 Set the address(00)H to the Column Address Counter 10 Set the 1st Line in the Display Start Line Register.page (00)H to the Page Address Register 11 Set the page “0” to the Page Address Register 12 Set the EVR register to (FF)H 13 Set the All display(1/104 duty) 14 Set the Bias select(1/11 Bias) 15 Set the 5-Time Voltage Booster 16 Set the n line turn over register (0)H The RES terminal should be connected to the Reset terminal of MPU for the initialization at the mean time with MPU as shown in "MPU Interface Example". The period of reset signal requires over than 10us RES="L" level input as shown in "Electrical Characteristics". After 1us from the rise edge of RES signal, the operation goes to normal. When the internal LCD power supply is not used, the external LCD power supply into the NJU6678 must be turned on during RES = "L". Although the condition of RES="L" clear each registers and initialize as above, the oscillation circuit and the output terminal conditions (D0 to D7 ) are not influenced. The initialization must be performed using RES terminal at the power on, to prevent hung up or any incorrect operations. The reset Instruction performs the initialization procedures from No.8 to No.16 as shown in above. Note) The noise into the RES terminal should be eliminated to avoid the error on the application with the careful design. (1-9) LCD Driving (a) LCD Driving Circuits LCD driving circuits are consisted of 236 multiplexers which operate as 132 Segment drivers and 104 Common drivers. 104 Common drivers with the shift register scan the common display signal. The combination of the Display data, COM scan signal and FR signal form into the LCD driving output voltage. The output wave form is shown in the Fig. 7. (b) Display Data Latch Circuits Display Data Latch stores 132-bit display data temporarily which is output to LCD driver circuits at a common cycle from Display Data RAM addressed by Line Counter. The instructions of Display On/Off, Display inverse ON/OFF and Static Drive On/Off control only the data in Display Data Latch, therefore, the data in the Display Data RAM is not changed. (c) Line Counter and Latch signal of Latch Circuits The clock to Line Counter and latch signal to the Latch Circuits are generated from the internal display clock (CL). The line address of Display Data RAM is renewed synchronizing with display clock(CL). 132 bits display data are latched in display latch circuits synchronizing with display clock, and then output to the LCD driving circuits. The display data transfer to the LCD driving circuits is executed independently with RAM access by the MPU. (d) Display Timing Generator Display Timing Generator generates the timing signal for the display system by combination of the master clock CL and Driving Signal FR ( refer to Fig.2 ). The Frame Signal FR and LCD alternative signal generate LCD driving waveform of the two frame alternative driving method or n-Line inverse driving method. NJU6678 (e)Common Timing Generation The common timing is generated by display clock. -Waveform of Display Timing(without the n-line inverse functions, the line inverse register in set to 0) 103 104 1 2 3 4 5 6 7 8 101 102 103 104 1 2 3 4 5 CL FR VDD V1 C0 V4 V5 VDD V1 C1 V4 V5 RAM DATA VDD V2 Sn V3 V5 Fig.2 -Waveform of Display Timing(with the n-line inverse function, n=7, the line inverse register in set to 6) 103 104 1 2 3 4 5 6 7 8 101 102 103 104 1 2 3 4 5 CL FR VDD V1 C0 V4 V5 VDD V1 C1 V4 V5 RAM DATA VDD V2 Sn V3 V5 Fig.3 NJU6678 (f) Oscillation Circuit The Oscillation Circuit is a low power CR oscillator incorporating with Resistor and Capacitor. It generates clocks for display timing signal source and voltage booster circuits. The oscillation circuit output frequency is divided as shown in below for display clock CL. -The relation between duty and divide Duty 1/8 1/16 1/24 1/32 1/40 1/48,56 1/64,72 1/80,88 1/96,104 Divide 1/50 1/25 1/16 1/12 1/10 1/8 1/6 1/5 1/4 (g) Power Supply Circuit Internal Power Supply Circuit generate the High voltage and Bias voltage for the LCD. The power Supply Circuit consists of Voltage Booster (5-Time maximum) Circuits, Regulator Circuits, and Voltage Followers. The internal Power Supply is designed for small size LCD panel, therefore it is not suitable for the large size LCD panel application. If the contrast is not good in the large size LCD panel application, please supply the external. The suitable values of the capacitors connecting to the V1 to V 5 terminals and the voltage booster circuit, and the feedback resistors for V5 operational amplifier depend on the LCD panel. And the power consumption with the LCD panel is depending on the display pattern. Please evaluate with actual LCD module. The operation of internal Power Supply Circuits is controlled by the Internal Power Supply On/Off Instruction. When the Internal Power Supply Off Instruction is executed, all of the voltage booster circuits, regulator circuits, voltage follower circuits are turned off. In this time, the bias voltage of V1, V2, V3, V4, and V5 for the LCD should be supplied from outside, terminals C1+, C1-, C2+, C2-, and VR should be open. The status of internal power supply is selected by T1 and T2 terminal. Furthermore the external power supply operates with some of internal power supply function. T1 T2 Voltage Booster Voltage Adj. Buffer(V/F) Ext.Pow Supply C1+,C 1- to C4+,C4- L L/H ON ON ON - H L OFF ON ON VOUT Open H H OFF OFF ON V5,VOUT Open VR Term. Open When (T1, T2)=(H, L), C1+, C1-, C2+, C2-,C3+, C3-, C4+, C4- terminals for voltage booster circuits are open because the voltage booster circuits doesn't operate. Therefore LCD driving voltage to the VOUT terminal should be supplied from outside. When (T1, T2)=(H, H), terminals for voltage booster circuits and VR are open, because the voltage booster circuits and Voltage adjust circuits do not operate. NJU6678 Power Supply applications (1)External power supply operation. (2)Internal power supply operation. (Voltage Booster, Voltage Adj., Buffer(V/F)) Internal power supply ON (instruction) VDD VDD T1 T2 V1 T1 + V1 + V2 T2 V2 C1- V3 V4 + C2+ + V4 + C1+ + V3 (T1,T2)=(L,L) C2+ C3+ + V5 V5 C3- VOUT C4+ VOUT + + C4VSS VSS VDD (3)External power supply operation with VR V5 (4)External power supply operation adjusted Voltage Adjustment,3 Buffer(V/F) Voltage to V5. Internal power supply ON (Instruction) (T1,T2) = (H,L) Internal power supply (Instruction) (T1,T2) =(H,H) VDD VDD T1 + T1 + V1 V1 T2 + + V2 T2 V2 + + V3 V3 + + V4 V4 V5 V5 VO UT VOUT + VSS VDD VSS VR V5 : These switches should be open during the power save mode. NJU6678 (2) Instruction The NJU6678 distinguishes the signal on the data bus by combination of A0, RD and WR. The decode of the instruction and execution performs depending on the internal timing only neither the external clock. In case of serial interface, the data input as MSB first serially. The Table. 4 shows the instruction codes of the NJU6678. (*:Don't Care) Table 4. Instruction Code Code Instruction (1) (2) (3) (4) Description A0 R D W R D 7 D6 D 5 D4 D 3 D2 D 1 D 0 Display ON/OFF 0 1 0 1 0 1 0 1 1 1 0 1 Display Start Line Set 0 1 0 0 1 0 1 High Order Address Determine the Display Line of RAM to the COM0. (Set the Higher order 4bits) Lower Order Address Determine the Display Line of RAM to the COM0. (Set the Lower order 4bits) High Order 4bits Display Start Line Set Lower Order 4bits 0 1 0 0 1 1 0 Page Address Set High Order 1bits 0 1 0 0 1 0 0 Page Address Set Lower Order 4bits 0 1 0 1 1 0 0 Column Address Set 0 1 0 0 0 0 1 * 0 0 0 * * Hi. Lower Order Page Address High Order High Order 4bits 0 LCD Display ON/OFF 0:OFF 1:ON Set the Higher order 1bit page of DD RAM to the Page Address Register Set the Lower order 4 bit page of DD RAM to the Page Address Register Set the Higher order 4 bits Column Add . Column Address to the Reg. Lower Order Column Add. Set the Lower order 4 bits Column Address to the Reg. Column Address Set Lower Order 4bits 0 1 0 (5) Status Read 0 0 1 (6) Write Display Data 1 1 0 Write Data Write the data into the Display Data RAM (7) Read Display Data 1 0 1 Read Data Read the data from the Display (8) Normal or Inverse of ON/OFF Set 0 1 0 1 0 1 0 0 1 1 0 1 Inverse the ON and OFF Display 0:Normal 1:Inverse (9) Whole Display ON /Normal Display 0 1 0 1 0 1 0 0 1 0 0 1 Whole Display Turns ON 0:Normal 1:Whole Disp. ON (10) Sub instruction table mode 0 1 0 0 1 1 1 0 0 0 0 Set the Sub instruction table. (11) Partial Display 1st Block, Set Start display unit 0 1 0 0 0 0 0 Start display unit 1st Block, Set The number of display units 0 1 0 0 0 0 1 number of display units 2nd Block, Set Start display unit 0 1 0 0 0 1 0 Start display unit 2nd Block, Set The number of display units 0 1 0 0 0 1 1 number of display units Partial display on 0 1 0 0 1 0 0 Status 0 0 0 0 Read out the internal Status Data RAM Set the Start display unit of 1st Block. 0 0 0 Set the number of display units of 1st Block. Set the Start display unit of 2nd Block. Set the number of display units of 2nd Block. 0 It comes off the mode to set and a display is executed. (12) (13) (14) n-line Inverse Drive Set Register Set Higher order 2 bits 0 1 0 0 1 0 1 * * higher order Register Set Lower order 4 bits 0 1 0 0 1 1 0 n-line Inverse Drive Set is executed. 0 1 0 0 1 1 1 EVR Register Set Higher order 4 bits 0 1 0 1 0 0 0 EVR Data Higher order Set the V 5 output level to the EVR register. (Higher order 4 bits) EVR Register Set Lower order 4 bits 0 1 0 1 0 0 1 EVR Data Lower order Set the V 5 output level to the EVR register. (Lower order 4 bits) EVR Register Set is executed. 0 1 0 1 0 1 0 0 0 0 0 The execution of the EVR. 0 1 0 0 1 1 1 0 0 0 1 It ends the setting of sub Lower order 0 0 0 Set the number of inverse drive line. Set the number of inverse drive line. 0 The execution of the line inverse drive. EVR Register Set End of sub instruction table mode instruction table. NJU6678 (*:Don't Care) Code Instruction A0 RD W R D7 D6 D5 D4 D3 D2 D1 D0 Bias Description (15) Bias Select 0 1 0 1 0 1 1 * Select the bias (8 Patterns) (16) Voltage Booster Circuits Multiple Select 0 1 0 0 0 1 1 0 0 Boost Multiple Set the Booster circuits (17) Read Modify Write /End 0 1 0 1 1 1 0 0 0 0 0 1 Read Modify Write mode D 0 =0:On D 0 =1:End (18) Reset 0 1 0 1 1 1 0 0 0 1 0 Initialize the internal Circuits (19) Internal Power Supply ON/OFF 0 1 0 0 0 1 0 0 0 0 0 0:Int. Power Supply OFF 1 1:Int. Power Supply ON (20) LCD Driving Voltage Set 0 1 0 0 0 1 0 0 0 1 0 1 (21) Power Save (Dual Command) (22) ADC Select Set LCD Driving Voltage after the internal (external) power supply is turned on Set the Power Save Mode (LCD Display OFF +Whole Display Turns ON) 0 1 0 1 0 1 0 0 0 0 0 1 Set the DD RAM vs Segment D 0 =0:Normal D 0 =1:Inverse NJU6678 (3) Explanation of Instruction Code (3-1) Display On/Off This instruction executes whole display On/Off without relationship of the data in the Display Data RAM and internal conditions. R/W A0 RD WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 0 1 0 1 1 1 D D 0:Display Off 1:Display On (3-2) Display Start Line This instruction sets the line address of Display Data RAM corresponding the COM0 terminal (the highest position line of display in normal application). The display area is fixed automatically by number of display line which corresponds the display duty ratio from the pointed line address as the start line. This instruction realizes the vertical smooth scroll with extra display RAM or the page address change by dynamic line addressing. In this time, the contents of RAM are not changed. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 1 0 1 A7 A6 A5 A4 0 1 0 0 1 1 0 A3 A2 A1 A0 A7 A6 A5 A4 A3 A2 A1 A0 Line Address(HEX) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 : : : 1 0 0 1 : 1 1 1 1 9F (3-3) Page Address Set When MPU accesses the Display Data RAM, the page address must be selected before the data writing. The access to the Display Data RAM is available by the page and column address set (Refer the Fig. 1). The page address change does not influence with the display. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 1 0 0 * * * A4 0 1 0 1 1 0 0 A3 A2 A1 A0 A4 A3 A2 A1 A0 Page 0 0 0 0 0 0 0 0 0 0 1 1 1 0 : : : : 0 1 1 19 (*:Don't Care) NJU6678 (3-4) Column Address When MPU accesses the Display Data RAM, the page address (refer(3-3) ) and column address set are required before the data writing. The column address set requires twice address set which are higher order 4 bits address set and lower order 4 bits. When the MPU accesses the Display Data RAM sequentially, the column address is increase one by one automatically, therefore, the MPU can access only the data sequentially without address set. After writing 1page data, page address setting is required due to page address doesn't increase automatically. The increment of the column address is stopped at the address of (83)H automatically, and the page address is not changed even if the column address increase to (83)H and stop. In this time the page address is not changed. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 0 0 1 A7 A6 A5 A4 Higher Order 0 1 0 0 0 0 0 A3 A2 A1 A0 Lower Order A7 A6 A5 A4 A3 A2 A1 A0 Column Address(HEX) 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 1 83 (3-5) Status Read This instruction reads out the internal status of "BUSY", “ADC", "ON/OFF" and "RESET". A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 0 1 BUSY ADC ON/OFF RESET 0 0 0 0 BUSY ADC : BUSY=1 indicate the operating or the Reset cycle. The instruction can be input after the BUSY status change to "0". : Indicate the output correspondence of column (segment) address and segment driver. 0 :Counterclockwise Output (Inverse) Column Address 131-n <---> Segment Driver n 1 :Clockwise Output (Normal) Column Address n <---> Segment Driver n (Note) The data "0=Inverse" and "1=Normal" of ADC is inverted with the ADC select Instruction of "1=Inverse" and "0=Normal". ON/OFF : Indicate the whole display On/Off status. 0 : Whole Display "On 1 : Whole Display "Off" (Note) The data "0=On" and "1=Off" of Display On/Off status read out is inverted with the Display On/Off instruction data of "1=On" and "0=Off". RESET : Indicate the initializing by RES signal or reset instruction. 0: 1 : Initialization Period NJU6678 (3-6) Write Display Data This instruction writes the 8-bit data on the data bus into the Display Data RAM. The column address increases "1" automatically after data writing, therefore, the MPU can write the 8-bit data into the Display Data RAM continuously without any address setting after the start address setting. A0 RD R/W WR 1 1 0 D7 D6 D5 D4 D3 D2 D1 D0 WRITE DATA (3-7) Read Display Data This instruction reads out the 8-bit data from Display Data RAM addressed by the column and page address. The column address increase "1" automatically after data reading out, therefore, the MPU can read out the 8bit data from the Display Data RAM without any address setting after the start address setting. One time of dummy read must operate after column address set as the explanation in "(5-4) Access to the Display Data RAM and Internal Register". In the serial interface mode, the display data is not read out. A0 RD R/W WR 1 0 1 D7 D6 D5 D4 D3 D2 D1 D0 READ DATA (3-8) Normal or Inverse On/Off Set This instruction changes the condition of display turn on and off as normal or inverse. The contents of Display Data RAM is not changed by this instruction execution. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 0 1 0 0 1 1 D D 0 : Normal RAM data "1" correspond to "On" 1 : Inverse RAM data "0" correspond to "On" (3-9) Whole Display On This instruction turns on the all pixels independent of the contents of Display Data RAM. In this time, the contents of Display Data RAM is not changed and kept. This instruction takes precedence over the "Normal or Inverse On/Off Set Instruction". A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 0 1 0 0 1 0 D D 0 : Normal Display 1 : Whole Display turn on When Whole Display On Instruction is executed in the Display Off status, the internal circuits go to the power save mode (refer to the (s) Power Save). NJU6678 (3-10) Sub Instruction table mode This instruction switches the instruction table from the main to the sub. The sub instruction table contains instructions of partial display, n-line inverse drive set and EVR register set as mentioned in (11), (12) and (13). The instruction of sub instruction table mode must be executed before above 3 sub instructions execution. The instruction of end of sub instruction table mode (14) switches the instruction table from the sub to the main. If any main instructions are written in the sub instruction mode, the NJU6678 will malfunction. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 1 1 1 0 0 0 0 -Set sub Instruction table flow is shown below: Sub Instruction table Switches to Sub instruction table mode. mode Set sub instructions. End of Sub Instruction table mode. Switches to Main instruction mode. NJU6678 (3-11) Partial Display This instruction divides the active display area in a LCD panel to 13 units consisting of 8 commons per unit and displays one or two blocks of active display area consisting of a unit or more. In the partial display mode, the display duty ratio is set automatically according to the number of unit in a block or two. Therefore, the partial display function realizes to go down the LCD driving voltage according to the display duty ratio. As a result, the operation current of display system is much saved against the full display mode. The display units UNIT 0 UNIT 1 UNIT 2 UNIT 3 UNIT 4 UNIT 5 UNIT 6 UNIT 7 UNIT 8 UNIT 9 UNIT 10 UNIT 11 UNIT 12 (8 commons) 104-common (8 commons) 132-segment Partial display instruction The partial display operates by the combination of instructions which area unit number of start position start unit block in the display area and a number of display unit from start position to end as a block. The number of block is set up to two. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 0 0 0 D D D D Start display unit 0 1 0 0 0 0 1 D D D D The number of display units 0 1 0 0 0 1 0 D D D D Start display unit 0 1 0 0 0 1 1 D D D D The number of display units 0 Partial display on 1st Block 2nd Block After execution of the next instruction, the display mode is changed to the partial display and the duty is changed automatically. 0 1 0 0 1 0 0 0 0 0 D :unit number (Hex.) Note) In case of full display (1/104 duty), all of units on the display are selected when the first start unit is set to “0” (0,0,0,0) and the second number of display unit is set to “13” (1,1,0,1). In this time, the second block settings are ignored. In case of only one block display, the second block settings are ignored when the second start unit is set to “0” (0,0,0,0) and the second display unit number is set to “0” (0,0,0,0). Keep the order of partial display instruction sequence. Do not set over “UNIT 12” the display data in DD RAM are assigned continuously from page 0 for all of display block, even if non-display area is existed between the first block and the second. NJU6678 The example of partial display setting UNIT 0 UNIT 1 UNIT 2 UNIT 3 UNIT 4 UNIT 5 UNIT 6 UNIT 7 UNIT 8 UNIT 9 UNIT 10 UNIT 11 UNIT 12 1st Block 2nd Block active display-block The above partial display condition is set as follows: 1)Set sub instruction mode A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 1 1 1 0 0 0 0 Set sub instruction mode. 2)Set partial display conditions A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 0 0 0 0 0 0 0 1st Block, Set start display unit to ”0” 0 1 0 0 0 0 1 0 0 1 0 1st Block, Set the number of display units to ”2” 0 1 0 0 0 1 0 0 1 0 0 2nd Block, Set start display unit to ”4” 0 1 0 0 0 1 1 0 1 0 1 2nd Block, Set the number of display units to ”5” 0 1 0 0 1 0 0 0 0 0 0 Partial display on. In this case, 1/56 duty. (Duty=1/(number of display units x 8)) 3)End sub instruction mode A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 1 1 1 0 0 0 1 End sub instruction mode. Back to main instruction mode. Although the partial display instruction changes duty cycle ratio automatically and display area, LCD driving voltage, Bias and others are not changed. Therefore, the instruction of LCD driving voltage “OFF” (D=0) must be set before partial display operation, and the other instructions such as the n-line inverse drive set, EVR register set, bias select and voltage booster select should be set for optimum display-contrast. The “End of sub instruction mode” is required before these instructions in order to prevent momentary flickering. NJU6678 -Set Partial Display flow is shown below: Internal Power Supply OFF Sub Instruction Table Mode Partial Display n-line Inverse Drive Set EVR Register Set End Sub Instruction Table Mode Bias Select Voltage Booster Times Select Wait Time Internal Power Supply ON (3-12) n-line Inverse Drive Mode This instruction sets a line number for inversion of LCD driving signal levels between “1” and “0”. It reduces the stripe shadow(crosstalk) and stabilizes display quality. The n-line n-line inverse number is set according to the result of actual LCD panel display. The instructions must be input in order of followings. These instructions are sub instruction sets and must be set after (3-10)Sub instruction table mode. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 1 0 1 * * A5 A4 Higher order 0 1 0 0 1 1 0 A3 A2 A1 A0 Low order A5 0 0 A4 0 0 A3 0 0 A2 0 0 A1 0 0 A0 0 1 Inverse line 2 : : 1 1 : : 1 1 1 1 64 The actual operation starts after following instruction. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 1 1 1 0 0 0 0 (*:Don't Care) NJU6678 (3-13) EVR Register Set This instruction controls voltage adjustment circuits of internal LCD power supply and changes LCD driving voltage “V5”. Finally, it adjusts the contrast of LCD display. By setting a data into EVR register, V5 output voltage selects one condition out of 201-voltage conditions. The range of V5 voltage is adjusted by setting external resistors as mentioned in "(4)(b) Voltage Adjust Circuits". This instruction is sub instruction and it must be set after (3-10) Sub instruction table mode. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 0 0 0 A7 A6 A5 A4 0 1 0 1 0 0 1 A3 A2 A1 A0 A7 A6 A5 A4 A3 A2 A1 A0 V LCD 0 0 1 1 0 1 1 1 Low : : : 1 1 1 1 : 1 1 1 1 High VLCD=V DD-V 5 When EVR doesn't use, set the EVR register to (1,1,1,1,1,1,1,1). The actual operation starts after following instruction. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 0 1 0 0 0 0 0 (3-14) End of Sub instruction table mode "End of sub instruction table mode" instruction switches instruction table from sub to main. (11)Partial display, (12)n-line inverse drive mode, and (13)EVR are sub instruction sets on the sub instruction table. The instruction of “END of sub instruction mode” must be set after these sub instruction sets. The NJU6678 may occur incorrect operation if any main instructions on the main instruction table are input in mode of sub instruction table. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 1 1 1 0 0 0 1 NJU6678 (3-15) Bias Select This instruction decides the value of LCD driving voltage bias ratio. Especially, the bias should be selected for display quality in partial mode. R/W A0 RD WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 0 1 1 * A2 A1 A0 A2 A1 A0 Bias 0 0 0 1/4 0 0 1 1/5 0 1 0 1/6 0 1 1 1/7 1 0 0 1/8 1 0 1 1/9 1 1 0 1/10 1 1 1 1/11 (*:Don't Care) (3-16) Voltage Booster Circuit Multiple Select This instruction Selects a voltage boost time. The multiple must be selected the voltage boost times according to the maximum boost times by the external capacitors connections or less. Especially, the multiple should be selected for display quality and saving operation current in partial display mode. R/W A0 RD WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 0 1 1 0 0 A1 A0 Command A1 A0 0 0 1 1 0 1 0 1 Booster Multiple 5times external 4times external 3times external 2times external capacitors capacitors capacitors capacitors connections connections connections connections 2-time 3-time 2-time 4-time 3-time 2-time 5-time 4-time 3-time 2-time NJU6678 (3-17) Read Modify Write/End This instruction sets the Read Modify Write Mode for the column address increment control. In mode of the Read Modify Write, the column address increases "1" automatically when the Display Data Write Instruction is executed, but the address does not change when the Display Data Read Instruction is executed. This status is continued until End instruction execution. When the End instruction (D=1) is input, the column address goes back to the start address before the Read Modify Write instruction input. This function reduces the load of MPU for repeating the display data change in the fixed area (ex. cursor blink). D=”1” to release the Read Modify Write mode and the column address back to the address where the read modify write mode setting. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 1 1 0 0 0 0 D D 0 : Read Modify Write On 1 : End Note) In mode of the Read Modify Write, any instructions except for Column Address Set can execute. - Sequence of cursor blink display Page Address Set Set to the Start Address of Cursor Column Address Set Read Modify Write Dummy Read Display Start the Read Modify Write Read the Data as dummy Data Read Data inverse by MPU Data Write Dummy Read Data Read Data Write End NO Finish? YES End the Read Modify Write NJU6678 (3-18) Reset This instruction executes the following initialization. Initialization (1) Set the Address (00)H into the Column Address Counter. (2) Set the Address (00)H into the Display Start Line Register. (3) Set the page "0" into the Page Address Register. (4) Set 0 to the EVR Register to (FF)H. (5) Set the All display(1/104 duty) (6) Set the Bias select(1/11 Bias) (7) Set the 5-Time Voltage Booster. (8) Set the n-line inverse register (0)H In this time, the Display Data RAM is not influenced. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 1 1 0 0 0 1 0 The reset signal input to the RES terminal (hardware reset) must be input for the power on initialization. Reset instruction does not perform completely in stead of hardware reset using the RES terminal. (3-19) Internal Power Supply ON/OFF This instruction set the condition of internal Power Supply On/Off. Voltage Booster circuits, Voltage Regulator and Voltage Follower operate at On. To operate the voltage booster circuits, the oscillation circuits must be operating. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 0 1 0 0 0 0 D D 0 : Internal Power Supply Off 1 : Internal Power Supply On The internal Power Supply must be Off when external power supply using. *1 The set up period of internal power supply On depends on the step up capacitors, voltage stabilizer capacitors, VDD and VLCD. Therefore it requires the actual evaluation using the LCD module to get the correct time. (Refer to the (4)(d) Fig.4) NJU6678 (3-20) LCD Driving Voltage Set This instruction controls LCD driving waveform output through the COM/SEG terminals. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 0 0 1 0 0 0 1 D D 0 : LCD driving waveform output Off 1 : LCD driving waveform output On The NJU6678 contains low power LCD driving voltage generator circuit reducing own operation current. Therefore, it requires the following sequence procedures at power on for the power source stabilized operation. - LCD driving power supply ON/OFF sequences The following sequences are required when the power supply is turned On/Off. When the power supply is turned on again after the turn off (by the power save instruction), the power save release sequence ((3-21) Power Save) is required. Turn ON sequence Turn OFF sequence Output Assign. Register Set Display OFF EVR Register Set Whole Display ON Internal Power Supply ON Internal Power Supply OFF or External Power Supply OFF or External Power supply ON LCD Driving Voltage Set to OFF (Wait Time) *1 LCD Driving Voltage Set to ON *1 The wait time depends on the C1 to C9, COUT capacitors (refer (4) (d)Fig.4), VDD and VLCD voltage. Therefore it requires the actual evaluation using the LCD module to get the correct time. (Refer to the following graph.) The wait time [Typical performance] 100 Time[ms] 80 60 T.B.D. 40 20 Cout=1 to 4.7[uF] 0 0 0.2 0.4 0.6 C3 to C7[uF] 0.8 1 1.2 VDD=2.7V,VLCD=7V,Ta=25C NJU6678 (3-21) Power Save(Dual Command) When both of Display Off and Whole Display On are executed, the internal circuits go to the power save mode and the operating current is reduced as some as the stand by current. The internal status in the Power Save Mode is shown in follows; (1) (2) (3) (4) Stop the Oscillation Circuits and Internal Power Supply Circuits operation. Stop the LCD driving. Segment and Common drivers output VDD level. Keep the display data and operating mode just before the power save mode. All of LCD driving bias voltage fix to the VDD level. The power save and its release perform according to the following sequences. Power Save Sequence Power Save Release Sequence Display OFF Normal Display Whole Display ON (Whole Display OFF) Display ON LCD Driving Voltage (Wait Time) Set to OFF LCD Driving Voltage Set to ON *1 In the power save sequence, the power save mode is started after the second instruction "whole Display ON". *2 In the power save release sequence, the power save mode is released after the Normal Display instruction (Whole display OFF). The instruction of display ON is input at any timing after the instruction of normal display in power save release sequence. *3 Until "LCD driving voltage set to ON" execution, NJU6678 operating current is higher than usual state and all COM/SEG terminals output VDD level continuously. *4 In case of the external power supply for LCD driving, it should be turned off and made condition like as unconnection or connected to VDD before the power save mode or at the same time. In this time, VOUT terminal should be made condition like as disconnection or connected to the lowest voltage of the system (V 5 level from the external power supply). (3-22) ADC Select This instruction set the correspondence of column address in the Display Data RAM and segment driver output. (See Fig. 1.) By this instruction, the order of segment output can be changed by the software, and no restriction of the LSI placement against the LCD panel. A0 RD R/W WR D7 D6 D5 D4 D3 D2 D1 D0 0 1 0 1 0 1 0 0 0 0 D D 0 : Clockwise Output (Normal) 1 : Counterclockwise Output (Inverse) NJU6678 (4) Internal Power Supply (a) 5-time voltage booster circuits 5-time voltage booster circuits connecting five capacitors between C1+ and C1-, C2+ and C2-, C3+ and C3-, C4+ and C4-, VSS and VOUT boost the voltage of VDD - VSS to negative voltage (V DD Common) and output the boosted voltage from the VOUT terminal. It selects one of boost time from 2 to 5 times by external capacitors connection. Furthermore, it also selects one of boost time by ”Voltage Booster circuits multiple select” instruction. The boost voltage and the voltage booster circuits are shown in below. Voltage Booster circuits requires the clock signals from internal oscillation circuit, therefore, the oscillation circuits must be operating when voltage boost operation. The boost voltage times are shown in below. When 5-time voltage boost operation, the operation voltage of VDD-V OUT should be less than 17V. VDD=+3V VSS= + 0V VOUT=-V DD=-3V VOUT=-2VDD=-6V VOUT=-3VDD=-9V VOUT=-4VDD=-12V 2-time voltage 3-time voltage 4-time voltage 5-time voltage Examples for connecting the capacitors 5-time voltage 4-time voltage VSS C1+ VSS C1+ + C1C2+ C2+ + + C2C3+ C4VOUT 3-time voltage 2-time voltage VSS VSS C1+ + C1C2- + C4+ + VOUT C2+ + C3- C4- C1+ + C2C3+ + C3C4+ + C1- + C1C2+ + + C2- C3+ C3+ C3- C3- C4+ C4+ C4- C4- VOUT VOUT + NJU6678 (b)Voltage Adjust Circuits The boosted voltage of VOUT output from V5 through the voltage adjust circuits for LCD driving. The output voltage of V5 is adjusted by changing the Ra and Rb within the range of | V5 | < | VOUT |. The output voltage is calculated by the following formula. VLCD = VDD-V 5 = (1+Rb/Ra)V REG (1) VDD VREG Ra R1 VR R2 V5 R3 Rb Fig. 3 The voltage of VREG is a standard voltage produced from built-in bleeder resistance. VREG is possible to be fine-adjusted by EVR functions mentioned in (c). For fine-adjustment of V5, R2 as variable resistor, R1 and R3 as fixed constant should be connected to VDD terminal, VR and V5, as shown in Fig.3. [ Design example for R1, R2 and R3 / Reference ] - R1+R2+R3=5MΩ R1+R2+R3=5MΩ (Determined by the current flown between VDD-V 5 ) - Variable voltage range by the R2. -6V to -7.5V (V LCD=VDD-V 5 --> 9.0V to 10.5V) (Determined by the LCD electrical characteristics) - VREG=3V(In case of EVR=(FF)H) - R1, R2 and R3 are calculated by above conditions and the formula of (1) to below; R1=2.0MΩ R1=2.0M Ω , R2=0.5MΩ R2=0.5MΩ , R3=2.5MΩ R3=2.5MΩ * If the power supply voltage between VDD and VSS changes, V5 changes too. Therefore the power supply voltage should be stabilized for V5 stable operation. NJU6678 (c) Contrast Adjustment by the EVR function The EVR controls voltage of VREG by instruction and changes voltage of V5 . As result, LCD display contrast is adjusted by V5. The EVR selects a voltage of VREG in the following 201 conditions by setting 6bits data into the EVR register. In case of EVR operation, T1 terminal and T2 require to set couples of value as (L,L),(L,H) and (H,L) excepting for (H,H) and the internal power supply must turn on by instruction. (37)H to (4F)H available for use. If keeping 3% precision set EVR over (4F)H. : : (4F)H : : (FD)H (FE) H (FF) H EVR register : : (0,1,0,0,1,1,1,1) : : (1,1,1,1,1,1,0,1) (1,1,1,1,1,1,1,0) (1,1,1,1,1,1,1,1) V REG[ V ] : : (124/300) x (V DD -V S S) : : (298/300) x (V DD -V S S) (299/300) x (V DD -V S S) (300/300) x (V DD -V S S) V LCD Low : : : : : : High Adjustable range of the LCD driving voltage by EVR function The adjustable range is decided by the power supply voltage VDD and the ratio of external resistors Ra and Rb. [ Design example for the adjustable range / Reference ] - Condition VDD=3.0V, VSS=0V Ra=1MΩ Ra=1M Ω , Rb=4MΩ Rb=4MΩ ( Ra:Rb=1:4 ) The adjustable range and the step voltage are calculated as follows in the above condition. In case of setting (4F)H in the EVR register, VLCD = ((Ra+Rb)/Ra)VREG = (5/1) x [(124/300) x 3.0] = 6.2V In case of setting (FF)H in the EVR register, VLCD = ((Ra+Rb)/Ra)VREG = (5/1) x [(300/300) x 3.0] = 15.0V Min.(4F)H Adjustable Range Step Voltagre 6.2 Max.(FF)H ------------------- 50 15.0 [V] [mV] * In case of VDD=3V NJU6678 *) The VLCD operating temperature. Please refer to the following graphs. (conditions) VDD = 3V Ra=1MΩ Ra=1M Ω , Rb=4MΩ Rb=4MΩ ( Ra:Rb = 1:4 ) Five times voltage VLCD [V] VLCD vs. Temperature (Typical Performance) 16 14 12 10 8 6 4 2 0 T.B.D. -30 -20 -10 0 10 20 VLCD EVR=(FF)H VLCD EVR=(4F)H 30 Ta [oC] 40 50 60 70 80 NJU6678 (d) LCD Driving Voltage Generation Circuits The LCD driving bias voltage of V1,V2,V 3,V4 are generated internally by dividing the V5 voltage with the internal bleeder resistance. And it is supplied to the LCD driving circuits after the impedance conversion with voltage follower circuit. As shown in Fig. 4, Five capacitors are required to connect to each LCD driving voltage terminal for voltage stabilizing. And the value of capacitors C5, C6, C7, C8 and C9 are determined depending on the actual LCD panel display evaluation. Using the internal Power Supply + C1 COUT + C2 + + C3 + Using the external Power Supply VSS VSS C 1+ C 1+ C 1- C 1- C 2+ C 2+ C 2- C 2- C 3+ C 3+ C 3- C 3- C 4+ C 4+ C 4- C 4- C4 V OU T V O UT NJU6678 NJU6678 R3 R2 V5 V5 VR VR VD D V DD R1 + C5 + C6 + C7 + C8 + C9 V1 V1 V2 External V3 Voltage V4 V2 V3 V4 Generator V5 V5 Reference set up value VLCD=VDD-V5 = 9.0 to 10.5V COUT to 1uF C1 to C4, C9 to 1uF C5 to C8 0.1 to 0.47uF R1 2.0MΩ R2 0.5MΩ R3 2.5MΩ Fig.4 *1 Short wiring or sealed wiring to the VR terminal is required due to the high impedance of VR terminal. *2 Following connection of VOUT is required when external power supply using. When VSS > V5 --- VOUT=V 5 When VSS < V5 --- VOUT=VSS NJU6678 (5) MPU Interface (5-1) Interface type selection NJU6678 interfaces with MPU by 8-bit bidirectional data bus (D7 to D0) or serial (SI:D7). The 8 bit parallel or serial interface is determined by a condition of the P/S terminal connecting to "H" or "L" level as shown in Table 5. In case of the serial interface, status and RAM data read out operation is impossible. Table 5 P/S H L Type Parallel Serial CS CS CS A0 A0 A0 RD RD - WR WR - CEL68 CEL68 - D7 D7 SI D6 D6 SCL D 0 to D 5 D 0 to D 5 Hi-Z (5-2) Parallel Interface The NJU6678 interfaces to 68 or 80 type MPU directly when the parallel interface (P/S="H") is selected. 68 type MPU or 80 is determined by the condition of CEL68 terminal connecting to "H" or "L" as shown in table 6. Table 6 CEL68 H L Type 68 type MPU 80 type MPU CS CS CS A0 A0 A0 RD E RD WR R/W WR D0 to D7 D0 to D7 D0 to D7 (5-3) Discrimination of Data Bus Signal The NJU6678 discriminates the mean of signal on the data bus by the combination of A0, E, R/W, and (RD,WR) signals as shown in Table 7. Table 7 Common 68 type A0 R/W RD 80 type WR 1 1 0 1 Read Display Data 1 0 1 0 Write Display Data 0 1 0 1 Status Read 0 0 1 0 Write into the Register(Instruction) Function (5-4) Serial Interface.(P/S="L") Serial interface circuits consist of 8 bits shift register and 3 bits counter. SI and SCL input are activated when the chip select terminal CS set to "L"and P/S terminal set to "L". The 8 bits shift register and 3 bits counter are reset to the initial condition when the chip is not selected. The data input from SI terminal is MSB first like as the order of D7,D6,- - - - D0, and the data are entered into the shift register synchronizing with the rise edge of the serial clock SCL. The data in the shift register are converted to parallel data at the 8th serial clock rise edge input. Discrimination of the display data or instruction of the serial input data is executed by the condition of A0 at the 8th serial clock rise edge. A0="H" is display data and A0="L" is instruction. When RES terminal becomes "L" or CS terminal becomes "H" before 8th serial clock rise edge, NJU6678 recognizes them as a instruction data incorrectly. Therefore a unit of serial data must be structured by 8-bit. The time chart for the serial interface is shown in Fig. 5. To avoid the noise trouble, the short wiring is required for the SCL input. Note) The read out function, such as the status or RAM data read out, is not supported in this serial interface .CS SI SCL D7 1 D6 2 D5 3 D4 4 D3 5 A0 Fig. 5 D2 6 D1 7 D0 8 D7 9 D6 10 NJU6678 (5-5) Access to the Display Data RAM and Internal Register. The NJU6678 is operating as one of pipe-line processor by the bus-holder connecting to the internal data bus to adjust the operation frequency between MPU and the Display Data RAM or Internal Register. For example, when the MPU reads out the data from the Display Data RAM, the read out data in the data read cycle (dummy read) is held in the bus-holder, then it is read out from the bus-holder to the system bus at the next data read cycle. When the MPU writes the data into the Display Data RAM, the data is held in the busholder, then it is written into the Display Data RAM by the next data write cycle. Therefore high speed data transmission between MPU and NJU6678 is available because of it is not limited by the tACC and tDS as display data RAM access time and is limited by the system cycle time (R) or (W). If the cycle time is not be kept in the MPU operation, NOP should be inserted to the system instead of the waiting operation. The read out operation does not read out the data in the pointed address just after the address set operation. And second read out operation can read out the data correctly from the pointed address. Therefore, one dummy read operation is required after address setting or write cycle as shown in FIG. 6. Write Operation MPU WR DATA Internal Timing N I/O Buffer N+1 N+2 N+1 N N+3 N+2 N+3 WR Read Operation MPU WR RD DATA N Address Set N Internal Timing n N Dummy Read n+1 Data Read n Data Read n+1 WR RD Column Address I/O Buffer N+1 N n N N+2 n+1 n+2 Fig.6 (5-6) Chip Select CS is Chip Select terminal. In case of CS="L", the interface with MPU is available. In case of CS=”H”, the D0 to D7 are high impedance and A0, RD, WR, D7(SI) and D6(SCL) inputs are ignored. If the serial interface is selected when CS=”H”,the shift register and the counter are reset. However, the reset is always operated in any conditions of CS. NJU6678 ABSOLUTE MAXIMUM RATINGS P A R A M E T E R (Ta=25°°C) (Ta=25 SYMBOL R A T I N G S UNIT Supply Voltage (1) VDD -0.3 to +5.0 V Supply Voltage (2) V5 V D D-17.0 to V D D +0.3 V Supply Voltage (3) V 1 to V 4 V 5 to V D D+0.3 V Input Voltage V IN -0.3 to VD D +0.3 V Operating Temperature Topr -30 to +80 °C Storage Temperature T stg -55 to +125 (Chip) °C -55 to +100 (TCP) Note 1) If the LSI are used on condition above the absolute maximum ratings, the LSI may be destroyed. Using the LSI within electrical characteristics is strongly recommended for normal operation. Use beyond the electric characteristics conditions will cause malfunction and poor reliability. Note 2) All voltage values are specified as VSS=0 V. Note 3) The relation : VDD > V1 > V2 > V3 > V4 > V5 ; VDD > VSS > VOUT must be maintained. Note 4) Decoupling capacitor should be connected between VDD and VSS due to the stabilized operation for the voltage converter. (VDD=2.5V to 3.3V, VSS=0V, Ta=-30 to +80° +80°C ) ELECTRICAL CHARACTERISTICS (1) P A R A M E T E SYMBOL Operating Voltage(1) V DD 2.5 3.3 V V5 V 1,V 2 V 3,V 4 V IHC1 V ILC1 V OHC11 V OLC11 V DD -17.0 V DD -6.0 V DD V OperatingVoltage(2) Input Voltage Output Voltage High Low High Low Level Level Level Level Input Leakage Current Driver On-resistance Stand-by Current Operating Current ILIO R ON1 R ON2 ID D Q ID D 1 2 ID D 2 1 CONDITIONS V LCD = V DD -V 5 D 0 ...D 7 ,A0, CS,RES,RD,WR,CEL68, P/S Terminals D 0 ...D 7 IOH =-0.5mA Terminals IOL = 0.5mA All Input terminals V LCD =15.0V V LCD =8.0V during Power save Mode Display V LCD =12.0V Accessing f CYC =200kHz Ta=25°C MIN. TYP. VDD-0.5VLCD MAX. UNIT Note 5 V5 0.8V DD V SS 0.8V DD V SS VDD-0.5VLCD V DD 0.2V DD V DD 0.2V DD V V V V - 1.0 1.0 uA 6 kΩ 7 2.0 3.0 0.05 15 600 3.0 4.5 5 40 800 uA uA 8 9 NJU6678 P A R A M E T E R SYMBOL Input Terminal Capacitance C IN Oscillation Frequency fOSC Output Volt. On-resistance Adjustment range of LCD Voltage Driving Volt. Booster Voltage Follower V OUT1 R TRI TYP UNIT Note MAX 10 26 Ta=25°C V S S-Vout, 5-time voltage booster, V D D =3V 32 V D D -15.0V V D D =3V;C OUT =4.7uF 5-time voltage booster Voltage Booster Circuit "OFF" 2000 V OUT2 pF V D D -17.0V 38 kHz V D D -14.5V V 4000 Ω V D D -6.0V V 10 V5 IOUT2 IOUT3 Voltage Reg. MIN Ta=25°C IOUT1 Operating Current CONDITIONS A0,CS,RES,RD,WR,CEL68, P/S,T1,T2,D 0...D 7 V REG% Voltage Adjustment Circuit "OFF" V D D -17.0V V D D =3V, V LCD =12V COM/SEG Terminals Open No Access Display Checkered pattern V D D -6.0V 160 320 35 70 25 50 V uA 11 % 12 3 V D D =3V,Ta=25°C, V REG=4F to FF H Note 5) NJU6678 can operate wide operating range, but it is not guarantee immediate voltage changing during the accessing of the MPU. Note 6) Apply to the High-impedance state of the D0 to D7 terminals. Note 7) RON is the resistance values between power supply terminals(V 1, V2, V3, V4) and each output terminals of common and segment supplied by 0.1V. This is specified within the range of supply voltage (2). Note 8,9,11) Apply to current after "LCD Driving Voltage Set". Note 8) Apply to the external display clock operation in no access from the MPU and no use internal power supply circuits. Note 9) Apply to the condition of cyclic (tcyc) inverted data input continuously in no use internal power supply circuits. The operating current during the accessing is proportionate to the access frequency. In the no accessing period, it is as same as IDD1X. Note 10) LCD driving voltage V5 can be adjusted within the voltage follower operating range. Note 11) Each operating current of voltage supply circuits block is specified under below table conditions. Status SYMBOL T1 Operating Condition T2 Internal Oscillator External Voltage Booster Voltage Adjustment Voltage Follower Voltage Supply (Input Terminal) IO U T 1 L * Validity Validity Validity Validity Unuse IO U T 2 H L Validity Invalidity Validity Validity Use(V O U T ) IO U T 3 H H Validity Invalidity Invalidity Validity Use(V O U T ,V 5 ) (* = Don’t Care) Note 12) Apply to the precision of the voltage between VDD and V5 with EVR function. NJU6678 MEASUREMENT BLOCK DIAGRAM :IOUT1 VDD VR V5 NJU6678 A T1 T2 VSS C1+ C1-C2+ + C2- C3+ + C3-C4+ + C4- VOUT + + :IOUT2 VDD VR V5 NJU6678 A T1 T2 VSS C1+ C1- C2+ C2- C3+ C3- C4+ C4- VOUT :IOUT3 VDD VR V5 NJU6678 A T1 T2 VSS C1+ C1- C2+ C2- PARAMETER Reset "L" Level Pulse Width SYMBOL C3- C4+ C4- VOUT (VDD=2.5V to 3.3V, VSS=0V, Ta=-30 to +80° +80°C ) ELECTRICAL CHARACTERISTICS (2) Reset time C3+ CONDITIONS MIN TYP MAX UNIT Note tR RES Terminal 1.0 us 13 tRW RES Terminal 10 us 14 Note 13) Specified from the rising edge of RES to finish the internal circuit reset. Note 14) Specified minimum pulse width of RES signal. Over than tRW "L" input should be required for correct reset operation. NJU6678 BUS TIMING CHARACTERISTICS - Read/Write operation sequence (80 Type MPU) tCYC8 A0,CS tAW8 tA H8 tCCL WR,RD tCCH tDH8 tDS8 D0 to D7 (Write) tf tr tA CC tCH8 D0 to D7 (Read) (V DD= 2.5V to 3.3V,Ta= 3.3V ,Ta=-30 -30 to +80° +80°C ) PARAMETER Address Hold Time Address Set Up Time System Cycle WR Time RD WR,"L" Control Pulse Width RD,"L" A0,CS Terminals SYMBOL tAH8 tAW8 tCYC8 (W) WR,RD Terminals WR,"H" RD,"H" Data Set Up Time Data Hold Time RD Access Time Output Disable Time D0 to D 7 Terminals Rise Time, Fall Time CS, WR, RD, A0, D0 to D7 Terminals tCYC8 (R) tCCL (W) tCCL(R) tCCH(W) tCCH (R) tDS8 tDH8 tACC8 tCH8 tr,tf MIN. 10 0 270 350 50 200 220 150 35 15 0 TYP. MAX. CONDITION 220 160 120 50 CL=100pF 15 Note 15) Rise time (t r) and fall time (t f ) of input signal should be less than 15ns. Note 16) Each timing is specified based on 0.2xVDD and 0.8xVDD. UNIT ns ns ns ns ns ns ns ns ns ns ns ns ns NJU6678 - Read/Write operation sequence (68 Type MPU) tCYC6 tE WL E tA W6 tEWH R/W tf tr tA H6 A0,CS tDS6 tDH6 D0 to D7 (Write) tO H6 tACC6 D0 to D7 (Read) (V DD= 2.5V to 3.3V,Ta= 3.3V ,Ta=-30 -30 to +80° +80°C ) SYMBOL PARAMETER Address Hold Time tAH6 Address Set Up Time A0,CS,R/W tAW6 Terminals tCYC6(W) System Cycle Time(W) System Cycle Time(R) tCYC6(R) Read"H" Write"H" Enable Pulse Width Read"L" Write"L" Data Set Up Time Data Hold Time Access Time Output Disable Time Rise Time, Fall Time tEWH E Terminal tEWL D0 to D 7 Terminals A0, CS, R/W, E, D0 to D7 Terminals tDS6 tDH6 tACC6 tOH6 MIN. 10 0 270 350 200 50 220 150 35 15 0 TYP. MAX. CONDITION UNIT 220 160 200 50 tr,tf CL=100pF 15 ns ns ns ns ns ns ns ns ns ns ns ns ns Note 17) tCYC6 indicates the E signal cycle during the CS activation period. The System Cycle Time must be required after CS becomes active. Note 18) Rise time (t r) and fall time (t f ) of input signal should be less than 15ns. Note 19) Each timing is specified based on 0.2xVDD and 0.8xVDD. NJU6678 - Write operation sequence (Serial Interface) tCSS tCS H CS tSAS tSAH A0 tSCYC tSLW SCL tSHW tS DS SI tSDH tf tr (V DD= 2.5V to 3.3V,Ta= 3.3V ,Ta=-30 -30 to +80° +80°C ) PARAMETER SYMBOL Serial Clock cycle tSCYC SCL SCL "H" pulse width tSHW Terminal SCL "L" pulse width tSLW Address Set Up Time tSAS A0 Terminal Address Hold Time tSAH Data Set Up Time tSDS SI Terminal Data Hold Time tSDH CS-SCL Time Rise Time, Fall Time CS Terminal tCSS tCSH SCL, A0, CS, SI Terminals tr,tf MIN. 120 40 TYP. MAX. CONDITION UNIT ns ns 80 0 150 25 10 ns ns ns ns ns 10 300 ns ns 15 ns Note 20) Rise time (t r) and fall time (t f ) of input signal should be less than 15ns. Note 21) Each timing is specified based on 0.2xVDD and 0.8xVDD. Note 22) In case of instruction set continuously, it is required to wait more than 450ns between the instruction and next as follows. SCL 8th clock SCL 1st clock SCL Instruction N 450 ns SCL"L"pulse width (Between the instruction and next) Instruction N+1 NJU6678 LCD DRIVING WAVEFORM 0 1 2 3 4 102103 VD D FR VSS VDD COM0 V1 COM1 V2 COM2 COM 0 COM3 COM4 V3 V4 COM5 V5 COM6 VDD COM7 V1 V2 COM 1 COM8 V3 COM9 V4 COM10 V5 COM11 COM12 COM13 VDD COM14 V1 COM15 V2 V3 V4 SEG4 SEG3 SEG2 SEG1 SEG0 COM 2 V5 VDD V1 V2 SEG0 V3 V4 V5 VDD V1 V2 SEG1 V3 V4 V5 V5 V4 V3 V2 V1 COM0-SEG0 VD D -V1 -V2 -V3 -V4 -V5 V5 V4 V3 V2 V1 COM0-SEG1 VD D -V1 -V2 -V3 -V4 -V5 Fig.7 0 1 2 3 4 5 102 103 NJU6678 APPLICATION CIRCUIT - Microprocessor Interface Example The NJU6678 interfaces to 80 type or 68 type MPU directly. And the serial interface also communicate with MPU. - 80 Type MPU VCC A0 VDD A0 CEL68 A0 to A7 IORQ CS Decoder MPU NJU6678 D0 to D7 GND D0 to D7 RD RD WR WR RES RES P/S VSS RESET - 68 Type MPU VCC A0 VDD A0 CEL68 A0 to A15 VMA CS Decoder NJU6678 MPU D0 to D7 D0 to D7 E GND E R/W R/W RES RES VSS A0 VDD P/S RESET - Serial Interface VCC A0 CEL68 A1 to A7 CS Decoder MPU VDD OR GND NJU6678 Port1 SI Port2 SCL RES RES P/S GND RESET VSS NJU6678 LCD Panel Interface Example LCD Pan el (104 x 132) C52 C 103 S 131 S0 C 51 C0 NJU6678 BOTTOM VIEW CAUTION The specifications on this databook are only given for information , without any guarantee as regards either mistakes or omissions. The application circuits in this databook are described only to show representative usages of the product and not intended for the guarantee or permission of any right including the industrial rights.