瑞佑科技股份有限公司 RAiO Technology Inc. RA8806 vs. RA8803 – H/W RA8806 NC Pin3 NC Pin4 Pin29 RA8803 SYS_FQ: System Clock Select This pin is used to select clock source. Pull Low (0) : X’tal/PLL Mode. Pull High(1) : External Clock. SYS_NM: Test Pin This is a test pin. Normally it connects to high. PWM_OUT: PWM Output Signal This output signal is used to control back-light module or booster circuit. IOUT: DAC Current Output DAC current source output used to contrast voltage control. This pin is tri-state when DAC disbale. NC LPF: Low Pass Filter Input This is a low pass filter input. Please refer the circuit of application note. XB: X’tal Output This pin connects to external X’tal(32768Hz). Pin45 XD: X’tal Output This pin connects to external X’tal(4M ~ 12MHz). In external clock mode, it keeps floating. Pin46 pin47 Pin49 XG: X’tal Input In internal clock mode, this pin connects to external X’tal(4M ~ 12MHz). In external clock mode, it connects to external clock. TESTMD、TESTI:Test Pins This pin is used for test only. It has internal pull-low and need to keep floating. Pin50 Pin82 ~Pin89 Pin90 ~Pin97 KIN[7:0]:Key Pad Input These pins are keypad inputs with pull-up resistors. For un-used input, please keep floating. KOUT[7:0]:Key Pad Output These pins are keypad outputs. For un-used pin, please keep floating. XA: X’tal Input In internal clock mode, this pin connects to external X’tal(32768Hz). In external clock mode, this is an input of external clock. OPM0、OPM1: Operation Status of Current Command These two pins are the feedback from RA8803/8822 while MPU release a Read or Write command to RA8803/8822. The MPU could know the status of RA8803/8822. KC[7:0]:Key Pad Output These pins are keypad outputs. KR[7:0]:Key Pad Input These pins are keypad inputs. Head Office 6F, No.21, Industry East 4th Road, Science-Based Industrial Park, Hsinchu, Taiwan TEL: +886-3-563-7888 Email: [email protected] 瑞佑科技股份有限公司 RAiO Technology Inc. RA8806 vs. RA8803 – S/W RA8806 Register Write Register Read Status Read Register Memory Write Memory Read REG[00H] REG[01H] LCD_CmdWrite(Addr); LCD_DataWrite(Data); LCD_CmdWrite(Addr); LCD_DataRead(); LCD_StatusRead(); RA8803 // RS = 1 // RS = 0 // RS = 1 // RS = 0 // RS = 1 LCD_CmdWrite(0XB0); // RS = 1 LCD_DataWrite(Data); // RS = 0 LCD_DataWrite(Data); // RS = 0 … LCD_CmdWrite(0XB1); // RS = 1 LCD_DataRead(); // RS = 0 LCD_DataRead(); // RS = 0 … Bit 7:1 Æ Normal Mode 0 Æ Sleep Mode Bit 6: 1 Æ User define ROM Mapping Rule 0 Æ BIG5/GB ROM Mapping Rule Bit 7:1 Æ Eliminating flicker mode 0 Æ Normal Mode Bit 5:1 Æ Busy Polarity is Hi active 0 Æ Busy Polarity is Low active Bit 3-2:Driver Clock Selection 00 Æ XCK=CLK/8 01 Æ XCK=CLK/4 10 Æ XCK=CLK/2 11 Æ XCK=CLK Bit 1:0 Æ SEG Scan Direction is 0~319 1 Æ SEG Scan Direction is 319~0 Bit 0:0 Æ COM Scan Direction is 0~239 1 Æ COM Scan Direction is 239~0 Bit 3:1 Æ Font rotates 90 degree. 0 Æ Normal Bit 0:Reserved REG[10H] REG[90H] REG[F0H] Idle Time Setting, in count of system clock. The value can determine the scan time of each COM of the LCD. (See Data Sheet for detail) Bit 7:1 Æ Enable ISO8859 Mode 0 Æ Disable SO8859 Mode Bit 6-4:Reserved LCD_CmdWrite(Addr); LCD_CmdWrite (Data); LCD_CmdWrite(Addr); LCD_CmdRead(); None // RS = 0 // RS = 0 // RS = 0 // RS = 0 LCD_DataWrite(Data); … … // RS = 1 LCD_DataRead(); … … //RS = 1 Bit 7-6:1 1 Æ Normal Mode 00 Æ Sleep Mode Bit 7:Reserved Bit 5:Reserved Bit 3-2:Reserved Bit 1-0:System Clock Select 00 Æ 3MHz 01 Æ 4MHz 10 Æ 8MHz 11 Æ 12MHz Bit 3:1 Æ Enable “Auto Increase Cursor Position” 0 Æ Disbale “Auto Increase Cursor Position” Bit 0:1 Æ Cursor width is auto adjust 0 Æ Cursor width is fixed at one byte width(8 Pixel) SCCR:Set Shift Clock Cycle (See Data Sheet for detail) Bit 7: 1 Æ Enable Font ROM Transfer 0 Æ Disable Font ROM Transfer Bit 6:1 Æ Select lower 256KB Font 0 Æ Select Upper 256KB Font Bit 5-4:00 Æ GB-code(256KB, Mode0) 01 Æ BIG5-code(512KB, Mode1) 10 Æ GB-code(512KB, Mode2) Head Office 6F, No.21, Industry East 4th Road, Science-Based Industrial Park, Hsinchu, Taiwan TEL: +886-3-563-7888 Email: [email protected] 瑞佑科技股份有限公司 RAiO Technology Inc. RA8806 General Description RAiO Technology has developed a 4 gray scale LCD controller RA8806 for small and mid-size LCD panel that suits a wide variety of commercial, industrial and medical appliances, such as Multifunction Printer, Human-Machine Interface, Ticket Vending Machine, Test and Measuring Instruments. RA8806 is a LCD controller for QVGA Dot-Matrix type STN-LCD which supports both character and graphic mode display, integrating two Display Data RAM(DDRAM) for two layers display. It has an embedded font ROM that contains 4x256 embedded half-size (8x16 pixels) characters that can display ISO8859-1 ~ 4 (or called Latin-1 ~ 4) alphabets that using in most of English speaking and European countries, also capable of displaying the full-size(16x16 pixels) traditional Chinese font (BIG5, 13973 characters) or simplified Chinese font(GB, 9216 characters). The interface of RA8806 supports the 8080/6800 series MPU protocol interface, which is capable of switching the interface with 4-bits or 8-bits data bus. For LCD driver interface, it can be set to 4-bits/8-bits data bus. The device inherits all the features of RA8803 and RA8822, two of the RAiO LCD controller ICs include embedded font ROM, but RA8806 offers more functions to give customers a more advanced LCD display solution. The RA8806 gives system engineers the flexibility to develop better suited panel size on their applications. The device supports resolution from 128x64 up to 320x240 pixels in normal mode, and 640x240 or 320x480 pixels in extension mode. Additionally, using the 90, 180, 270 degree font rotation function, the LCD screen could be applied either vertical or horizontal-way usage. RAiO Technology is well known for providing highly integrated LCD controller and helping customers of LCD module cost improvement. The new released RA8806 is highly integrated high-performance device but consistent with low cost as RA8803 and RA8822. The LCD controller includes the embedded intelligence touch panel controller that provides the 4-wires resistance-type Touch Panel interface, and the PWM output provides an easy contrast or back-light control method for LCD panel. RA8806 also provides a 4x8(32 keys) or 8x8(64 keys) powerful and smart Key-Scan interface includes long-key function. The flexible interrupt and polling mechanism can make it easy to control touch panel, key-scan and power mode functions. The embedded 512Byte character generation RAM (CGRAM) allows user to build maximum 16 full-size or 32 half-size fonts. Even with the single layer display, the other unused layer can be used as CGRAM too. In this setting, the amazing 300 full-size and 600 half-size user created fonts or symbols are supported, also it can dramatically reduce the MPU loading. Additionally, RA8806 supports 4 gray scale display in FRC mode. The bit-arrangement is compatible for most gray level picture and easy to program. RA8806 also includes many useful functions for area scrolling, font blinks/bold/enlargement, memory clear function and so on. Especially the innovative mechanism of “no-flicker” mode is also included. It’s effective for removing the “flicker” in frequently display data R/W, by this function the display quality can be easily enhanced. Other advantages of RA8806 included the wide operating temperature range of -30°C ~ + 90°C, ESD sensitivity pass ±8000V and RoHS compliant. RA8806 is easy to integrate to LCD modules or embedded system design. It provides a fully integrated solution for variety small or middle-size STN LCD display and helps engineers to simplify the complex programming, can dramatically save developing time and the cost of hardware system. The RA8806 is available of die, as well as the LQFP and TQFP packages. More information about RA8806 and other RAiO LCD controller & driver ICs can be found at www.raio.com.tw . The sample of RA8806 is available from RAiO Technology and its authorized distributors at USA, Europe and Asia. Head Office 6F, No.21, Industry East 4th Road, Science-Based Industrial Park, Hsinchu, Taiwan TEL: +886-3-563-7888 Email: [email protected]