RAiO RA8816N 144x65 Character / Graphic LCD Driver Specification Version 1.0 February 19, 2013 RAiO Technology Inc. @Copyright RaiO Technology Inc. 2011, 2012, 2013 RAiO TECHNOLOGY INC. 1/8 www.raio.com.tw RA8816N Preliminary Version 1.0 144x65 Character/Graphic LCD Driver 1. General Description The RA8816N is a Dot-Matrix LCD Driver that supports both character and graphic modes. It has a built-in 256K bytes character ROM and 1170 bytes display RAM. The embedded ROM consists of Chinese (or Japanese for –J product), English and ASCII fonts, and the embedded display RAM supports up to 144x65 dots LCD panel. The RA8816N also provides a scrolling buffer memory for scrolling functions. It supports vertical and horizontal scrolling features, and all of these functions are executed by hardware. In character mode, the RA8816N supports Traditional Chinese (BIG5), Simplified Chinese (GB) and Japanese (S-JIS) code. The system (MPU) does not need to take a lot of time to show the Chinese or Japanese font in this mode. It also provides small ASCII (8x8) and big ASCII (8x16) fonts for English, Japanese, European and Latin character. The RA8816N also integrates much powerful hardware that includes contrast adjustment, 4x5 Key-Scan and eight General Purpose I/Os. The RA8816N is a highly integrated chip of LCD controller and driver. It reduces a lot of time for system development, and saves much cost for hardware system that due to it provides many features for related LCD display applications. 2. Feature Support both Character and Graphic Mode Support 8080 / 6800, 8 / 4-bit Parallel Interface, 3-Wire / 4-Wire Serial Interface Built-in 256KB Font ROM: Chinese, S-JIS, English, ASCII, Japanese, Latin, Latin-ext A, Latin-ext B Support ASCII 8x8 / 8x16 Half Size Font, 16x16 Full Size Chinese Font Support Maximum 144 SEG x 65 COM LCD Panel. 4 x 9 Chinese Fonts (16x16), or 8 x 18 English Fonts (8x8) Built-in 256 bytes SRAM for Create Font Built-in 1170 bytes Display RAM and 450 bytes Scrolling Buffer Support 1/65 Duty, 1/9~1/5 Bias Panel Built-in 2X~4X (Voltage Booster), Voltage Regulator, Voltage Follower Eight General Purpose I/Os (GPIO) Built-in 4x5 Key-scan Circuit Support Horizontal / Vertical Scrolling Functions Provide 32-Steps Contrast Adjuster Build-in RC Oscillator Voltage Operation: VDD Æ 2.7~3.6V Package: Gold Bump Die Table 2-1 : Ordering Information Parts Number Package and Font Type RA8816N-T Au-Bump Die, Traditional Chinese (BIG5) RA8816N-S Au-Bump Die, Simplified Chinese (GB2312) RA8816N-J Au-Bump Die, Japanese (S-JIS) RAiO TECHNOLOGY INC. 2/8 www.raio.com.tw RA8816N Preliminary Version 1.0 144x65 Character/Graphic LCD Driver 3. Block Diagram MPU LCD Panel RA8816N 4x5 Key Scan GPIO Figure 3-1 : System Block The RA8816N is consisted of Display RAM, 256KB Font ROM, Command Registers, LCD Controller, LCD Driver, Voltage Booster, Voltage Regulator, MPU Interface and Key-Scan circuit. DB[7:0] 1170+450bytes Display RAM + Buffer RD(EN) WR(R/W) CS D/C(RS) MPU I/F Block 256bytes CGRAM 256Kx8 Font ROM C86 LCDC Control Block BIT4 P/S Cursor Control Register KST[3:0] KIN[4:0] INT Key Scan Control Block & INT IO[7:0] CLK_SEL EXT_CLK Scroll Control Scan Control Block Driver I/F GPIO RC Oscillator Voltage Regulator VR Voltage Follower VREF Voltage Booster RST TEST[2:0] TP[6:0] Test & Power Circuit 144 Segment Drivers C[3:1]P C[2:1]M V0~V4 VOUT 65 Common Drivers SEG0~SEG143 COM0~COM63 COMS_A COMS_B Figure 3-2 : Internal Block RAiO TECHNOLOGY INC. 3/8 www.raio.com.tw RA8816N Preliminary Version 1.0 144x65 Character/Graphic LCD Driver 4. Pin Definition 4-1 MPU Interface Table 4-1 Pin Name I/O Description Data Bus When MPU uses parallel mode and 8-bit interface then all of the DB[7:0] are valid. When uses 4-bit interface then only DB[3:0] are valid, and DB[7:4] have to be kept floating. When P/ S is “0”, then the interface between MPU and RA8816N is Serial Mode. The pins DB[7:6] (SMOD[1:0]) are used to select which serial mode: SMOD : DB[7:0] DB0: SCK DB1: SDA/SDO DB2: RS/SDI I/O DB3: CS DB[7:6]: SMOD Serial Mode 0 0 : Reserved. 0 1 : 3-Wire, SCK, SDA, CS are used. 1 0 : 4-Wire, SCK, SDA, RS, CS are used. 1 1 : 4-Wire, SCK, SDO, SDI, CS are used. In serial mode, all of the related signals are defined by DB[3:0]: SCK (DB0) : Serial Clock. SDA (DB1) : Bi-direction Mode Serial Data. SDO (DB1) : Data Out. RS (DB2) : Memory/Register Cycle Select. SDI (DB2) : Serial Data In. CS (DB3) : Chip Select, active low. Read Control or Enable RD EN WR R/ W I When use 8080 series interface, RD is the read signal and active low. When use 6800 series interface, EN is the Enable signal and active high. This pin must be kept high for 3 or 4-wires serial mode. Write Control or Read-Write Control When use 8080 series interface, WR is the write signal and active low. I When use 6800 series interface, this pin is R/ W , active high for read cycle and active low for write cycle. This pin must be kept high for 3 or 4-wires serial mode. Data/Command Select or Register Select When use 8080 series interface, this is Data or Command signal. When D/ C RS I CS I INT O C86 I RAiO TECHNOLOGY INC. D/ C is “0”, means Register Cycle (or Command Cycle). When D/ C is “1”, means Data Access Cycle (Data Cycle). When use 6800 series interface, this is the RS signal. When RS is “0”, means Register Cycle and “1” means Data Access Cycle. This pin must be kept high for serial mode. Chip Select This is chip enable for RA8816N. This pin must be kept high for serial mode. Interrupt Signal This is an interrupt output for MPU. Active low。 MPU Select C86 = 0 Î The MPU interface is 8080 series. C86 = 1 Î The MPU interface is 6800 series (Default). This pin must be kept high for serial mode. 4/8 www.raio.com.tw RA8816N Preliminary Version 1.0 Pin Name 144x65 Character/Graphic LCD Driver I/O BIT4 I P/ S I Description Data Bit Select BIT4 = 0Î The parallel mode is use 8-bit data bus. BIT4 = 1Î The parallel mode is use 4-bit data bus (Default). This pin must be kept high for serial mode. Parallel/Serial Select P/ S = 0 Î The MPU interface is serial mode (Default). See the setting of DB[7:6]. P/ S = 1 Î The MPU interface is parallel mode. 4-2 Clock and Power Table 4-2 Pin Name I/O Description V0~V4 O C[3:1]P, C[2:1]N I Voltage Source of LCD Driver The relationship of the power is VOUT>V0≧V1≧V2≧V3≧V4≧VSS Capacitor Input These are used to connect capacitors for internal Booster. VOUT O Booster Output Reference Voltage Input VREF I This is the external reference voltage input when the internal one is disabled. VR I Voltage Adjustment Applies voltage between V0 and VSS by connecting a resistor divider. CLK_SEL I EXT_CLK I VDD VDDP GND GNDP Clock Select This pin is used to select the clock source. When CLK_SEL is “1”, the clock is generated by internal RC oscillator. When CLK_SEL is “0”, the system clock is driven by external pin - EXT_CLK. External Clock When CLK_SEL is “0”, this pin is the external clock input. When CLK_SEL is “1”, this pin is not used and has to be connected to VDD or GND. P Power P Ground RAiO TECHNOLOGY INC. 5/8 www.raio.com.tw RA8816N Preliminary Version 1.0 144x65 Character/Graphic LCD Driver 4-3 LCD Panel Interface Table 4-3 Pin Name I/O Description SEG0 ~ SEG143 O Segment Signals for Panel COM0 ~ COM63 COMS_A COMS_B DUMY[5:0] O Common Signals for Panel O Icon Common Signals for Panel O Dummy PAD 4-4 Misc. Table 4-4 Pin Name I/O KST[3:0] O KIN[4:0] I IO[7:0] I/O Description Key Strobe Output Key Data Input For pins that are not used, please connect them to VDD. General Purpose I/O Reset RST I TEST[2:0] I TP[6:0] I RAiO TECHNOLOGY INC. RST=0, RA8816N will be reset. RST=1, Normal condition. Test Pins These pins must be connected to GND in normal mode. Test Pins These pins must be kept NC for normal mode. 6/8 www.raio.com.tw RA8816N Preliminary Version 1.0 144x65 Character/Graphic LCD Driver Table 4-5 : Pin Definition of Parallel / Serial Mode of MPU Parallel Mode Pin Name 8080 I/O Serial Mode 6800 8Bit 4Bit 8Bit 4Bit 4-Wire 4-Wire (A-Type) (B-Type) 3-Wire DB7 I/O DB7 --*1 0 -- 0 1 1 DB6 I/O DB6 -- 1 -- 2 0 1 DB5 I/O DB5 -- -- -- -- -- -- DB4 I/O DB4 -- -- -- -- -- -- DB3 I/O DB3 DB3 DB3 DB3 CS CS CS DB2 I/O DB2 DB2 DB2 DB2 -- RS SDI DB1 I/O DB1 DB1 DB1 DB1 SDA SDA SDO DB0 I/O DB0 DB0 DB0 DB0 SCK SCK SCK 2 2 RD , EN I RD RD EN EN 1* 1* 1*2 WR , R/ W I WR WR R/ W R/ W 1*2 1*2 1*2 D/ C , RS I D/ C D/ C RS RS 1*2 1*2 1*2 CS I CS CS CS CS 1 1 1 C86 I 0 0 1 1 1 1 1 BIT4 I 0 1 0 1 1 1 1 P/ S I 1 1 1 1 0 0 0 Note1 : “--" means the pin is not used and kept floating (NC). Note2 : In serial mode, the unused parallel pins have to be connected to high (VDD). RAiO TECHNOLOGY INC. 7/8 www.raio.com.tw 68 69 70 71 72 73 74 75 76 77 78 GND GND GND GND GNDP GNDP VDDP VDDP VDD VDD VDD 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 DUMY5 COM50 COM51 COM52 COM53 COM54 COM55 COM56 COM57 COM58 COM59 COM60 COM61 COM62 COM63 COMS_A SEG143 SEG142 SEG141 SEG140 SEG139 SEG138 SEG137 SEG136 SEG135 SEG134 SEG133 SEG132 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 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 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 COM31 COM30 COM29 COM28 COM27 COM26 COM25 COM24 COM23 COM22 COM21 COM20 COM19 COM18 COM17 COM16 DUMY4 Preliminary Version 1.0 PT5 PT6 PT7 RA8816N PT14 RAiO TECHNOLOGY INC. Y 9900 x 1968 (0, 0) PT16 PT17 Icon PT18 #N 8/8 PT15 PT19 PT11 PT12 PT9 PT13 PT10 PT20 RST 116 TEST2 117 TEST1 118 TEST0 119 GND 120 GND 121 VDD 122 VDD 123 PT1 PT2 DB7 81 DB6 82 DB5 83 DB4 84 DB3 85 DB2 86 DB1 87 DB0 88 RD 89 WR 90 D/C 91 CS 92 C86 93 BIT4 94 P/S 95 INT 96 EXT_CLK 97 CLK_SEL 98 KOUT3 99 KOUT2 100 KOUT1 101 KOUT0 102 KIN4 103 KIN3 104 KIN2 105 KIN1 106 KIN0 107 IO7 108 IO6 109 IO5 110 IO4 111 IO3 112 IO2 113 IO1 114 IO0 115 PT14 VDD 80 PT3 GND 79 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 P1 V1 V1 V1 V1 V2 V2 V2 V2 V3 V3 V3 V3 V4 V4 V4 V4 VREF VREF VR VR 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 DUMY0 COM49 COM48 COM47 COM46 COM45 COM44 COM43 COM42 COM41 COM40 COM39 COM38 COM37 COM36 COM35 COM34 COM33 COM32 DUMY1 TP6 TP5 TP4 TP3 TP2 TP1 TP0 VOUT VOUT VOUT VOUT VOUT VOUT C3P C3P C2N C2N C2P C2P C1N C1N C1P C1P V0 V0 V0 V0 RA8816N 144x65 Character/Graphic LCD Driver 5. Pin Diagram 5-1 COG Pad PT14 PT2 Top View PT4 X Logo PT5 PT8 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 RAIO RA8816 P2 Figure 5-1:Pin Diagram 144x65 COG RA8816N FPC #1 Figure 5-2 : COG Module www.raio.com.tw DUMY3 COM15 COM14 COM13 COM12 COM11 COM10 COM9 COM8 COM7 COM6 COM5 COM4 COM3 COM2 COM1 COM0 COMS_B DUMY2