RAiO
RA8806
Two Layers
Character/Graphic
LCD Controller
Specification
Preliminary Version 1.0
March 25, 2008
RAiO Technology Inc.
©Copyright
RAiO Technology Inc. 2008
RAiO
TECHNOLOGY INC.
1/174
www.raio.com.tw
RA8806
Preliminary Version 1.0
Two Layers Character/Graphic LCD Controller
Update History
Version
1.0
Date
March 25, 2008
Preliminary Version
Description
RAiO
TECHNOLOGY INC.
2/174
www.raio.com.tw
RA8806
Preliminary Version 1.0
Two Layers Character/Graphic LCD Controller
Chapter
Content
Page
1.
2.
3.
4.
General Description ......................................................................................5
Feature ….......................................................................................................5
Block Diagram ...............................................................................................6
Pin Definition .................................................................................................7
4-1
4-2
4-3
4-4
4-5
MPU Interface .............................................................................................................7
Clock Interface............................................................................................................7
Peripheral Interface....................................................................................................8
LCD Driver Interface...................................................................................................9
Power ..........................................................................................................................9
5. Register Description ...................................................................................10
5-1 Register List Table ...................................................................................................10
5-2 Register Description ................................................................................................12
6. Function Description ..................................................................................26
6-1 MPU Interface ...........................................................................................................26
6-1-1
6-1-2
6-1-3
6-1-4
6-2-1
6-2-2
6-2-3
6-2-4
MPU Type ................................................................................................................................... 26
Command Write ......................................................................................................................... 29
Memory Write/Read ................................................................................................................... 30
Status Read ................................................................................................................................ 30
Display Resolution .................................................................................................................... 34
Display Window and Active Window....................................................................................... 34
Com/Seg Scan Direction........................................................................................................... 37
Idle Time Counter (ITCR) .......................................................................................................... 37
6-2 Driver Interface .........................................................................................................31
6-3 Display Data RAM (DDRAM) ....................................................................................39
6-3-1 Display Layer and Display Mode Selection ............................................................................ 39
6-3-2 Access Memory Selection ........................................................................................................ 39
6-4 Touch Panel ..............................................................................................................40
6-4-1 Auto Mode .................................................................................................................................. 42
6-4-2 Manual Mode .............................................................................................................................. 44
6-4-2-1 External Interrupt Mode .................................................................................................... 44
6-4-2-2 Polling Mode ..................................................................................................................... 47
6-5 Key-Scan ...................................................................................................................50
6-6 Clock and Reset .......................................................................................................57
6-6-1 OSC Circuit................................................................................................................................. 57
6-6-2 External Clock............................................................................................................................ 57
6-6-3 Reset ........................................................................................................................................... 58
6-7 Power ........................................................................................................................59
6-7-1
6-7-2
6-7-3
6-7-4
Power Architecture ................................................................................................................... 59
3V Application Circuit ............................................................................................................... 59
5V Application Circuit ............................................................................................................... 60
Sleep Mode................................................................................................................................. 61
3/174
RAiO
TECHNOLOGY INC.
www.raio.com.tw
RA8806
Preliminary Version 1.0
Two Layers Character/Graphic LCD Controller
6-8 Interrupt and Busy ...................................................................................................62
6-8-1 Interrupt ...................................................................................................................................... 62
6-8-2 Busy ............................................................................................................................................ 63
6-9 PWM ..........................................................................................................................66
6-10 Display Function.....................................................................................................69
6-10-1 Character/Graphic Mode........................................................................................................... 69
6-10-1-1 Graphic Display ................................................................................................................ 69
6-10-1-2 Half Size Font ................................................................................................................... 70
6-10-1-3 Full Size Font.................................................................................................................... 71
6-10-1-4 Bold and Inverse............................................................................................................... 71
6-10-1-5 Two Layer Display ............................................................................................................ 72
6-10-1-6 Line Gap ........................................................................................................................... 73
6-10-2 Gray Scale Display .................................................................................................................... 73
6-10-3 Font Size Adjustment and Font Write-Time............................................................................ 76
6-10-4 Font Vertical Display ................................................................................................................. 78
6-11 User-Defined Font ..................................................................................................80
6-11-1 Create Font in CGRAM.............................................................................................................. 80
6-11-2 Create Font in DDRAM .............................................................................................................. 83
6-11-3 Create Symbol............................................................................................................................ 87
6-12 Scroll Function .......................................................................................................89
6-12-1 Horizontal Scrolling................................................................................................................... 89
6-12-2 Vertical Scrolling ....................................................................................................................... 91
6-13 Cursor......................................................................................................................92
6-13-1 Cursor Position and Shift ......................................................................................................... 92
6-13-2 Full Alignment............................................................................................................................ 92
6-13-3 Cursor Blinking.......................................................................................................................... 95
6-13-4 Cursor Width and Height .......................................................................................................... 95
6-14 Extension Mode for Display...................................................................................96
6-15 Eliminating Flicker Mode .......................................................................................99
7. Package Information .................................................................................100
7-1
7-2
7-3
7-4
7-5
Bonding Pad ...........................................................................................................100
Pad X/Y Coordinate ................................................................................................101
Pin Assignment ......................................................................................................102
Package Dimension ...............................................................................................103
Part Number............................................................................................................107
8. Electrical Characteristic ...........................................................................108
8-1 Absolute Maximum Ratings ..................................................................................108
8-2 DC Characteristic ...................................................................................................109
Appendix A . Application Circuit ..................................................................110
Appendix B . Frame Rate Table ....................................................................111
Appendix C . Font Table - ASCII ...................................................................114
Appendix D . Font Table - GB Code .............................................................122
Appendix E . Font Table - BIG-5 Code .........................................................144
RAiO
TECHNOLOGY INC.
4/174
www.raio.com.tw
RA8806
Preliminary Version 1.0
Two Layers Character/Graphic LCD Controller
1. General Description
RA8806 is a LCD controller for Dot-Matrix type STN-LCD which supports both character and graphic mode
display. The RA8806 has built-in two Display Data RAM(DDRAM) for two layers display, and has an
embedded font ROM which is capable of displaying the full-size(16x16 pixels) traditional Chinese font(BIG5,
13973 characters) or simplified Chinese font(GB, 9216 characters). RA8806 also contains 4x256 embedded
half-size (8x16 pixels) characters that can display ISO8859-1 ~ 4(or called Latin-1 ~ 4) alphabets using at
most of English speaking and Europe countries.
RA8806 supports 8080/6800 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 or 8-bits data bus. The maximum
resolution of RA8806 is 320x240 pixels in normal mode, and 640x240 or 320x480 pixels in extension mode.
By using the font rotation mode, which can implement the “vertical” font display. The embedded intelligence
touch panel controller provides the 4-wires resistance-type Touch Panel interface. 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. Also it can
greatly reduce the MPU loading. 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.
In addition, 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, like area scroll, font
inverse, font bold, font enlargement, memory clear function and so on. An innovative mechanism of “no-
flicker” mode is provided in RA8806. It’s effective for removing the “flicker” in frequently display data
Read/Write. User can easily improve the display quality by RA8806.
RA8806 is a powerful and flexible LCD controller. It provides the total solution for the middle-size mono LCD
controller. User can save large amount of time for system development and the cost of hardware system.
2. Feature
Support text and graphics mode.
Maximum resolution: 320x240 with 2-Layers
overlay display (AND, OR, NOR and XOR).
Extension Mode: 640x240 or 320x480 with
single layer.
Support 4/8-bits of 6800/8080 MPU interface
and 4/8-bits driver interface.
Built-In smart 8x8 or 4x8 key-scan circuit with
programmable long key function.
Support horizontal and vertical area scrolling
Built-In GB/BIG5 and ASCII font ROM.
Support 90°, 180°, 270° font and display
rotation.
Support font enlargement(x1 ~ x4 in
Horizontal and Vertical direction)
Built-In 512Byte CGRAM for user-created
font:
_ Half-size: 8x16
_ Full-size: 16x16
Un-used DDRAM could be used as a
CGRAM of 300 full-size or 600 half-size
characters.
Flexible interrupt/polling mechanism for touch
panel, key-scan and power mode
programming.
Support font alignment function.
Support 4-gray-scale display (FRC mode).
Support bold font and row-row interval setting
Built-In smart resister type touch panel
controller.
Built-In PWM for contrast or back-light control
Power mode to reduce power consumption.
Clock source: 4M ~ 12MHz crystal or external
clock
Built-In a 5V-to-3V DC/DC converter
Power supply: 2.4V ~ 5.5V
Package: Die, LQFP-100, TQFP-80 Pins
RAiO
TECHNOLOGY INC.
5/174
www.raio.com.tw