ra8802 RAIO Technology Inc., ra8802 Datasheet

no-image

ra8802

Manufacturer Part Number
ra8802
Description
Character/graphic Lcd Controller
Manufacturer
RAIO Technology Inc.
Datasheet
RAiO
RA8802/8820
Character/Graphic
LCD Controller
Specification
Version 1.3
February 2, 2005
RAiO Technology Inc.
Copyright RAiO Technology Inc. 2004, 2005
RAiO
TECHNOLOGY INC.
1/1
www.raio.com.tw

Related parts for ra8802

ra8802 Summary of contents

Page 1

... RA8802/8820 Character/Graphic LCD Controller RAiO Technology Inc. Copyright RAiO Technology Inc. 2004, 2005 RAiO TECHNOLOGY INC. RAiO Specification Version 1.3 February 2, 2005 1/1 www.raio.com.tw ...

Page 2

... Version 1.3 Version Date 1.2 April 26, 2004 1.3 February 2, 2005 RAiO TECHNOLOGY INC. Character/Graphic LCD Controller Update History Description First Release Version Update Figure10-3 2/2 RA8802/8820 www.raio.com.tw ...

Page 3

... Blinking Display ........................................................................................................................................ 26 7.5 Black-White Display .................................................................................................................................. 26 7.6 Align the Chinese/English Font ............................................................................................................... 28 7.7 Cursor......................................................................................................................................................... 29 7.7.1 Cursor Position and Shift ..................................................................................................................... 29 7.7.2 Cursor Display and Blinking................................................................................................................. 29 7.7.3 Cursor Width and Height ..................................................................................................................... 30 7.8 Display Window and Active Window ...................................................................................................... 30 8. Interfacing to the Driver ...................................................................................................32 RAiO TECHNOLOGY INC. Character/Graphic LCD Controller Table of Contents 3/3 RA8802/8820 Page www.raio.com.tw ...

Page 4

... Absolute Maximum Ratings ..................................................................................................................... 33 9.2 DC Characteristic ...................................................................................................................................... 33 10. PAD Diagram ...................................................................................................................34 10.1 Bonding Pad ............................................................................................................................................ 34 10.2 Pad X/Y Coordinate ................................................................................................................................. 35 10.3. Package Diagram ................................................................................................................................... 36 10.3.1 PQFP-100Pin..................................................................................................................................... 36 10.3.2 LQFP-100Pin(12x12)......................................................................................................................... 37 10.4 RA8802/8820 Package Leap frame ........................................................................................................ 38 10.4.1 PQFP-100 Pin.................................................................................................................................... 38 10.4.2 LQFP-100 Pin(Body Siz:14x20 mm) ................................................................................................. 39 10.4.3 LQFP-100 Pin(Body Siz:12x12 mm) ................................................................................................. 40 Appendix A. Built-in ASCII Block ........................................................................................42 RAiO TECHNOLOGY INC. RA8802/8820 Character/Graphic LCD Controller 4/4 www ...

Page 5

... The RA8802/8820 is a Character/Graphic dot-matrix liquid crystal display controller (LCD) with embedded 512K Byte Font ROM. The RA8802 supports up to 320x240 LCD panel size and RA8820 supports up to 240x160. In tradition, users need a graphic LCM to display Chinese characters. Now Chinese character’s display of RA8802/8820 presents a revolution ...

Page 6

... Version 1.3 3. Block Diagram 5 Bit Iout DAC LPF RA PLL/OSC RB CIRCUIT XA XB Figure 3-1 Function Block of RA8802/8820 MCU Extendible Font ROM Hardware Pin Initial Setup Clock RAiO TECHNOLOGY INC. COMMAND DECODER / REGISTER CIRCUIT 512KB DISPLAY FONT DATA SRAM ROM MCU INTERFACE CIRCUIT LCD Driver ...

Page 7

... The data are latched at the rising edge of the WR# signal. WR# I Connected to 6800 series MCU R/W# pin when 6800 MCU is used. (R/W#) The MCU data will be read from RA8802/8820 when R/W# is high and will be written to RA8802/8820 when R/W# is low. Register/Data select pin. Usually connect to MCU address bus A0. RS ...

Page 8

... It’s connected to LCD driver IC D5, when 8-bit LCD driver IC is used. LD5 I/O SYS_FQ is for RA8802/8820 clock source selection. Non-Pull will enable SYS_FQ internal PLL circuit and X’tal will be the clock source of RA8802/8820. Pull low when RC oscillator is used and it will disable internal PLL. LD4 LD4 I/O It’ ...

Page 9

... Note not use the external Font ROM, the MD[7:0] should tied to VDD to reduce the power consumption. SEL0 I Test pin must be tied to GND for normal use. SEL1 I Test pin must be tied to VDD for normal use. RAiO TECHNOLOGY INC. RA8802/8820 Character/Graphic LCD Controller Description Description 9/9 www.raio.com.tw ...

Page 10

... REG [00h] LCD Controller Register (LCR) Bit Power Mode 11: Normal Mode 10: Standby Mode 01: Sleep Mode 00: Off Mode 7-6 Normal mode: When RA8802/8820 is in normal mode it can execute full functions include RAM read/write, register read/write, LCD display valid signal. RAiO TECHNOLOGY INC. Table 5 ...

Page 11

... Software Reset Reset all registers except flushing RAM 0: Normal operation Set Auto_reset function When the bit is Enable, if RA8802/8820 doesn’t get a full command or data within 2msec, then RA8802/8820 will ignore it Enable Auto_reset function 0: Disable Auto_reset function Display mode selection ...

Page 12

... It means the cursor will move to the left boundary of active window, which is set by REG [40h]. When the data comes to the bottom line of the right side (set by REG [20h and 30h]), then the cursor RAiO TECHNOLOGY INC. Description Description Segment-Right 12/12 RA8802/8820 Character/Graphic LCD Controller Text/Graph Default Access Text/Graph 1h R Text ...

Page 13

... Bit Setup the XCK signal cycle SCCR = (SCLK*4)/(Column*Row*FRS) 7-0 SCLK: System Clock (Hz) DBW: 4(Bit) RAiO TECHNOLOGY INC. Description Common-Bottom Description Segment-Left Description Common-Top Description Description Description Description 13/13 RA8802/8820 Character/Graphic LCD Controller Default Access xxh R/W Default Access R/W Default Access 0h R/W Default Access 0h R ...

Page 14

... FRS: Frame Rate/Sec REG [A0h] Interrupt Setup & Status Register (INTR) Bit Busy Status 7 1: RA8802/8820 is busy. The MCU have to wait until Busy Status is released 0: RA8802/8820 is idle ready for MCU access. Touch Panel detect 6 1: Touch Panel touched 0: Touch Panel untouched ...

Page 15

... Allow MCU to write data to DAC Bit [4~0] Reset LCD contrast control function 5 1: Normal operation RAiO TECHNOLOGY INC. Character/Graphic LCD Controller Description Description Switch SW3 ON Switch SW2 ON Switch SW1 ON Switch SW0 ON Description Description 15/15 RA8802/8820 Default Access EFh R/W Default Access 1h R/W 1h R Fig 6-6 ...

Page 16

... When the bit is ‘1’, input data is ASCII code then output as symbol When the bit is ‘0’, input data is GB/BIG5 code then output as character. ASCII Block Select bit 1~0 1 Map to ASCII block Map to ASCII block 1 RAiO TECHNOLOGY INC. Description Description 16/16 RA8802/8820 Character/Graphic LCD Controller 0h R/W Text/Graph Default Access Graph 0h R/W Text/Graph Default Access -- ...

Page 17

... REG [28h] Display Window Right Register (DWRR) Bit 7-6 Reserved Set Display Window Right position Segment-Right = ( Segment Number / 8) – 1 RA8802: If LCD panel size is 320x240, the value of the register is: 5-0 ( 320 / 27h RA8820: If LCD panel size is 240x160, the value of the register is: ( 240 / 1Dh RAiO TECHNOLOGY INC ...

Page 18

... Note: REG[28h, 38h, 48h, 58h] is used to set Display Window。Users can set the viewing scope of Display RAM. For RA8802, the Column Address can be set between 0~39, and Row Address can be set between 0~239. For RA8820, the Column Address can be set between 0~29, and Row Address can be set between 0~159 ...

Page 19

... Version 1.3 6. Function Description 6.1 MCU Interface The RA8802/8820’s MCU interface support Intel (8080) or Motorola (6800) 4/8 bits data bus. Users could use SYS_MI to control. Non-Pull when 6800 MCU is used. Pull low when 8080 MCU series are used. 8080 MCU D0-D3(D0-D7) Figure 6-1:8080 (4/8-bit) MCU Interface Diagram ...

Page 20

... Refer to combined display of full-size and half-size characters for details on character codes stored in DDRAM. The display data RAM stores pixel data for LCD. For RA8802 320 column by 240 row addressable array maximum. For RA8820 240 column by 160 rows. The time required to transfer data is very short ...

Page 21

... Use an external Resistor for internal RC-Oscillator The pin SYS_FQ is for RA8802/8820 clock source selection. Non-Pull will enable internal PLL circuit and X’tal will be the clock source of RA8802/8820. Pull low when RC oscillator is used and it will disable internal PLL. The Figure 6-4 is the application circuit of clock. If select RC Oscillator mode, then pin XA, XB and LPF should be floating. If X’ ...

Page 22

... LCD through MCU. 6.9 ADC The RA8802/8820 built in 8 Bit ADC and control circuits to easily interface to 4-write analog resistive touch screens. The RA8802/8820 continually monitors the screen waiting for a touch. When the screen is touched, the RA8802/8820 performs analog to digital conversion to determine the location of the touch, stores the X and Y locations in the registers, and can issues an interrupt ...

Page 23

... Please refer to the register [00h] LCR of Chapter 5.2. 6.12 ASCII Block Selection The RA8802/8820 built-in four blocks of ASCII Font. It including many special symbols that for users display. This feature is set by Bit[1:0] of Register [F0h]. If user want to create their special symbol or picture then it’s possible to make new ROM Code. ...

Page 24

... Version 1.3 7. Function Application 7.1 Character Mode The Figure 7-1 shows the ability of RA8802/8820 to show Full-Size and Half-Size Characters Figure 7-1:Full size and Half size character Figure 7-2 Combined Display of Full-Size and Half-Size Characters Table 7-1 is the character code of Full-Size and Half-Size showed in Figure 7-1. Table 7-1 Character Code comparison table (BIG5) ...

Page 25

... Set the REG [00h] bit3=1 2. Using bit-map to fill in the data RAiO TECHNOLOGY INC. Character/Graphic LCD Controller 網 BAF4 頁 ADB6 : Figure 7-3 Character Bold Display Figure 7-4 Graphics Display 25/25 RA8802/8820 傳 20B6 真 C7AF www.raio.com.tw ...

Page 26

... Figure7-5 shows the function and the value that register need to be set under blinking display. 1. Set the REG [00h] bit1=1 2. Set the REG [00h] bit1=0 7.5 Black-White Display Figure7-6 shows the function and the value that register need to be set under black-white display. RAiO TECHNOLOGY INC. Character/Graphic LCD Controller Figure 7-5 Blinking Display 26/26 RA8802/8820 www.raio.com.tw ...

Page 27

... Write in the Big5 code of "網頁" then it will show up "網頁" (d) 9. Hold on (a), (b) and (c) 10. Set REG [10h] bit5=1 11. Write in the Big5 code of ": www.raio.com.tw" then it will show up ": www.raio.com.tw" RAiO TECHNOLOGY INC. Character/Graphic LCD Controller Figure 7-6 Blinking Display 27/27 RA8802/8820 www.raio.com.tw ...

Page 28

... Set REG [10h] bit6=0 Figure 7-8 Non_Align the Chinese/English Font RAiO TECHNOLOGY INC. RA8802/8820 Character/Graphic LCD Controller 2. Write in the Big5 code of " 瑞佑科技股份有 限公司 RAIO 中文 LCD 控制器 " then it will show up " 瑞佑科技股份有限公司 ...

Page 29

... EFh Figure 7-9 : Example of RA8802 Cursor Position 7.7.2 Cursor Display and Blinking The user could control cursor On/Off or Blinking. The register [80h] BTR is used to set up the blinking time. Blinking Time = BTR[80h] Bit[7..0] x (1/Frame_Rate) RAiO TECHNOLOGY INC ....……….............……………………......... 39 ...

Page 30

... The Display Window is the actual size of LCD panel. Active is a sub-window in Display Window. The boundary of cursor shift depends on the active window. For RA8802, if LCD panel is 320x240 pixel then the display window size is 320x240. We can create an active window in the display window like Figure 7-11. This figure show the display size is 320x240, and a 160x160 active window is on the upper-middle ...

Page 31

... Figure 7-11 : RA8802 Display Window and Active Window For RA8820, if LCD panel is 240x160 pixel then the display window size is 240x160. We can create an active window in the display window like Figure 7-12. This figure show the display size is 240x160, and a 120x120 active window is on the upper-left. ...

Page 32

... Interfacing to the Driver FRM YD LP XCK DATA FRM YD LP XCK DATA D1 D2 FRM YD LP XCK DATA Figure 8-1 RA8802/8820 to Driver waveforms RAiO TECHNOLOGY INC. Total 240 LP for one frame COM1 Period D10 D11 COM (N) Period N-2 ...

Page 33

... 33/33 RA8802/8820 Character/Graphic LCD Controller Unit V +0 ℃ ℃ Unit Condition µA µA CLK_OUT: OFF LCD I/ MCU I/F Access V =3.3V, CLK=8MHz DD mA REG[90h] SCCR=08 Segment=320, Common=240 T =25℃ The same as above mA The same as above µ ...

Page 34

... MD6 76 MD5 77 MD4 78 MD3 79 MD2 80 MD1 81 MD0 82 RAiO TECHNOLOGY INC Figure 10-1:Bonding Pad 34/34 RA8802/8820 Character/Graphic LCD Controller Logo CS2 29 CS1 Iout 23 AVDD 22 Vref 21 AGND 20 19 INT BUSY ...

Page 35

... RA8802/8820 Character/Graphic LCD Controller DB6 323.48 1467.81 DB7 223.48 1467.81 RB -642.17 1467.81 RA -742.17 1467.81 LPF -842.17 1467.81 XA -942.17 1467.81 XB -1042.17 1467.81 RST# -1142.17 1467.81 -1242.17 1467.81 MA19 -1342 ...

Page 36

... Date Code ( 西元 2002 年) NC 100 SEL0 5 Pin #1 Figure 10-2:PQFP-100Pin Package Diagram RA8802/8820-S:Stands for Simplified Chinese Characters RA8802/8820-T:Stands for Traditional Chinese Characters The Package diagram of LQFP-100Pin(12x12) is same as PQFP-100Pin. RAiO TECHNOLOGY INC 36/36 RA8802/8820 ...

Page 37

... NC Date Code (西元2005年 SEL0 SEL1 LD0 100 5 Pin #1 Figure 10-3:LQFP-100Pin(12x12) Package Diagram RAiO TECHNOLOGY INC RAiO 37/37 RA8802/8820 Character/Graphic LCD Controller 55 MACS# 50 GND VDD MA19 CK_OUT 45 RST LPF DB7 DB6 DB5 DB4 35 DB3 ...

Page 38

... Version 1.3 10.4 RA8802/8820 Package Leap frame 10.4.1 PQFP-100 Pin PIN 1 INDEX A Dimensions in Millimeters Symbols Min 0.25 A2 2.54 b 0.23 C 0.13 E 16.94 E1 13.89 D 22.96 19. 0.66 L RAiO TECHNOLOGY INC Figure 10-4:PQFP-100Pin Mechanical Table 10-1 Typ. Max. Min 0.010 2.79 3.05 0.100 -- 0.38 0.009 0.15 0.20 0.005 17.20 17.45 0.667 13.99 14.10 0.547 23.22 23.44 0.904 19.99 20.09 0.783 0. 0.79 0.94 0.026 38/38 RA8802/8820 Character/Graphic LCD Controller ...

Page 39

... Table 10-2 Dimensions in Inches Typ. Max. Min. -- 1.60 -- 0.10 0.15 0.002 1.40 1.45 0.053 0.32 0.38 0.009 -- 0.20 0.004 16.00 16.10 0.626 14.00 14.10 0.547 22.00 22.10 0.862 20.00 20.10 0.783 0. 0.60 0.75 0.018 39/39 RA8802/8820 Character/Graphic LCD Controller Typ. Max. -- 0.063 0.004 0.006 0.055 0.057 0.013 0.015 -- 0.008 0.630 0.634 0.551 0.555 0.866 0.870 0.787 0.791 0.026 -- 0.024 0.030 www.raio.com.tw ...

Page 40

... Version 1.3 10.4.3 LQFP-100 Pin(Body Siz:12x12 mm) Figure 10-5:LQFP-100Pin(12x12 mm) Mechanical(1) Figure 10-6:LQFP-100Pin(12x12 mm) Mechanical(2) RAiO TECHNOLOGY INC. RA8802/8820 Character/Graphic LCD Controller 40/40 www.raio.com.tw ...

Page 41

... INCH MILLIMEETER 0.27 0.007 0.008 0.011 0.13 0.16 0.23 0.005 0.006 0.009 0.020 BSC. 0.40 BSC. 0.374 0.374 TOLERANCES OF FORM AND POSITION 0.008 0.008 0.003 0.003 41/41 RA8802/8820 Character/Graphic LCD Controller INCH NOM. MAX. -- 0.063 -- 0.006 0.055 0.057 0.551 BSC. 0.472 BSC. 0.551 BSC. 0.472 BSC. ...

Page 42

... RAiO TECHNOLOGY INC. 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 Figure A-1:ASCII Block 0 42/42 RA8802/8820 Character/Graphic LCD Controller 1100 1101 1110 1111 www.raio.com.tw ...

Page 43

... RAiO TECHNOLOGY INC. 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 Figure A-2:ASCII Block 1 43/43 RA8802/8820 Character/Graphic LCD Controller 1011 1100 1101 1110 1111 www.raio.com.tw ...

Page 44

... RAiO TECHNOLOGY INC. 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 Figure A-3:ASCII Block 2 44/44 RA8802/8820 Character/Graphic LCD Controller 1100 1101 1110 1111 www.raio.com.tw ...

Page 45

... RAiO TECHNOLOGY INC. 0011 1001 1010 0001 0010 0100 0101 0110 0111 1000 Figure A-4:ASCII Block 3 45/45 RA8802/8820 Character/Graphic LCD Controller 1100 1110 1011 1101 1111 www.raio.com.tw ...

Related keywords