RA8806

RAiO
RA8806
Two Layers
Character/Graphic
LCD Controller
Specification
Preliminary Version 1.2
March 2, 2009
RAiO Technology Inc.
©Copyright RAiO Technology Inc. 2008, 2009
RAiO TECHNOLOGY INC.
1/183
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Update History
Version
Date
1.0
March 25, 2008
1.1
1.2
Description
Preliminary Version
June 20, 2008
1.
2.
3.
4.
5.
March 2, 2009
1. Add the description of Japanese Kanji font version of RA8806-J.
2. Update Figure 6-38、Figure 6-39 PWM Reference Circuits
3. Update the Section 6-10-1-3 for the usage of Chinese font and
Japanese Kanji font.
RAiO TECHNOLOGY INC.
6-4-3 Touch panel sampling time reference table
Add Section 6-15 Eliminating Flicker Mode
Update table 8-2 DC characteristic
Add Section 8-3 for RA8806 driver I/F timing chart
Update font table of Appendix D and Appendix E
2/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Chapter
1.
2.
3.
4.
Two Layers Character/Graphic LCD Controller
Content
Page
General Description ......................................................................................6
Feature ...........................................................................................................6
Block Diagram ...............................................................................................7
Pin Definition .................................................................................................8
4-1
4-2
4-3
4-4
4-5
MPU Interface .............................................................................................................8
Clock Interface............................................................................................................8
Peripheral Interface....................................................................................................9
LCD Driver Interface.................................................................................................10
Power ........................................................................................................................10
5. Register Description ...................................................................................11
5-1 Register List Table ...................................................................................................11
5-2 Register Description ................................................................................................13
6. Function Description ..................................................................................27
6-1 MPU Interface ...........................................................................................................27
6-1-1
6-1-2
6-1-3
6-1-4
MPU Type ................................................................................................................................... 27
Command Write ......................................................................................................................... 30
Memory Write/Read ................................................................................................................... 31
Status Read ................................................................................................................................ 31
6-2 Driver Interface .........................................................................................................32
6-2-1
6-2-2
6-2-3
6-2-4
Display Resolution .................................................................................................................... 35
Display Window and Active Window....................................................................................... 35
Com/Seg Scan Direction........................................................................................................... 38
Idle Time Counter (ITCR) .......................................................................................................... 38
6-3 Display Data RAM (DDRAM) ....................................................................................40
6-3-1 Display Layer and Display Mode Selection ............................................................................ 40
6-3-2 Access Memory Selection ........................................................................................................ 40
6-4 Touch Panel ..............................................................................................................41
6-4-1 Auto Mode .................................................................................................................................. 43
6-4-2 Manual Mode .............................................................................................................................. 45
6-4-2-1 External Interrupt Mode .................................................................................................... 45
6-4-2-2 Polling Mode ..................................................................................................................... 48
6-4-3 Touch Panel Sampling Time Reference Table ....................................................................... 51
6-5 Key-Scan ...................................................................................................................52
6-6 Clock and Reset .......................................................................................................59
6-6-1 OSC Circuit................................................................................................................................. 59
6-6-2 External Clock............................................................................................................................ 59
6-6-3 Reset ........................................................................................................................................... 60
6-7 Power ........................................................................................................................61
6-7-1 Power Architecture ................................................................................................................... 61
6-7-2 3V Application Circuit ............................................................................................................... 61
6-7-3 5V Application Circuit ............................................................................................................... 62
RAiO TECHNOLOGY INC.
3/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-7-4 Sleep Mode................................................................................................................................. 63
6-8 Interrupt and Busy ...................................................................................................64
6-8-1 Interrupt ...................................................................................................................................... 64
6-8-2 Busy ............................................................................................................................................ 65
6-9 PWM ..........................................................................................................................68
6-10 Display Function.....................................................................................................70
6-10-1 Character/Graphic Mode........................................................................................................... 70
6-10-1-1 Graphic Display ................................................................................................................ 70
6-10-1-2 Half Size Font ................................................................................................................... 71
6-10-1-3 Full Size Font.................................................................................................................... 72
6-10-1-4 Bold and Inverse............................................................................................................... 75
6-10-1-5 Two Layer Display ............................................................................................................ 76
6-10-1-6 Line Gap ........................................................................................................................... 77
6-10-2 Gray Scale Display .................................................................................................................... 77
6-10-3 Font Size Adjustment and Font Write-Time............................................................................ 80
6-10-4 Font Vertical Display ................................................................................................................. 82
6-11 User-Defined Font ..................................................................................................84
6-11-1 Create Font in CGRAM.............................................................................................................. 84
6-11-2 Create Font in DDRAM .............................................................................................................. 88
6-11-3 Create Symbol............................................................................................................................ 92
6-12 Scroll Function .......................................................................................................94
6-12-1 Horizontal Scrolling................................................................................................................... 94
6-12-2 Vertical Scrolling ....................................................................................................................... 96
6-13 Cursor......................................................................................................................97
6-13-1 Cursor Position and Shift ......................................................................................................... 97
6-13-2 Full Alignment............................................................................................................................ 97
6-13-3 Cursor Blinking........................................................................................................................ 100
6-13-4 Cursor Width and Height ........................................................................................................ 100
6-14 Extension Mode for Display.................................................................................101
6-15 Eliminating Flicker Mode .....................................................................................104
7. Package Information .................................................................................108
7-1
7-2
7-3
7-4
7-5
Bonding Pad ...........................................................................................................108
Pad X/Y Coordinate ................................................................................................109
Pin Assignment ......................................................................................................110
Package Dimension ...............................................................................................111
Part Number............................................................................................................115
8. Electrical Characteristic ...........................................................................116
8-1 Absolute Maximum Ratings ..................................................................................116
8-2 DC Characteristic ...................................................................................................117
8-3 Timing Characteristic Wavaform ..........................................................................118
Appendix A
Appendix B
Appendix C
Appendix D
. Application Circuit..................................................................119
. Frame Rate Table....................................................................120
. Font Table - ASCII...................................................................123
. Font Table - GB Code.............................................................131
RAiO TECHNOLOGY INC.
4/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Appendix E . Font Table - BIG-5 Code.........................................................153
Appendix F . Font Table - JIS Code.............................................................184
RAiO TECHNOLOGY INC.
5/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
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-J is one controller in this series
that consisting of Kanji and Hiragana according to the JIS standard Level-1 & 2 Kanji font (6,355 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 “noflicker” 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
RAiO TECHNOLOGY INC.
‹ 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
6/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
3. Block Diagram
Figure 3-1 is the internal block diagram of RA8806. The RA8806 consists of two Display Data RAM, Font
ROM, Register Block, Analog to Digital Converter (ADC), Pulse Width Modulation (PWM), LCD driver
interface and microprocessor interface. Figure 3-2 is the system block for application of RA8806.
Display Data RAM
(9.6KByte x 2)
Smart
Key-Scan
Controller
KIN[7:0]
KOUT[7:0]
DDRAM1
DDRAM2
Timing
PWM
Controller
PWM_OUT
LP
FR
YD
ZDOFF
XCK
Display
Registers
Generator
LD[7:0]
XG
Oscillator
XD
512KByte
Font
ROM
512Byte
CGRAM
X1
X2
Y1
Y2
MCU Interface
System Configure
ZCS1
CS2
ZWR
ZRD
RS
INT
BUSY
DATA[7:0]
ZRST
MI
DW
DB
CLK_OUT
Touch Panel
Controller
Figure 3-1 : RA8806 Block Diagram
LCD Driver
LCD Panel
MPU
RA8806
Booster
(Contrast Adj.)
LCD Driver
8x8
Key Pad
Touch
Panel
H/W
Set Up
X’tal
Figure 3-2 : RA8806 System Block Diagram
RAiO TECHNOLOGY INC.
7/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
4. Pin Definition
4-1
MPU Interface
Pin Name
4-2
I/O
DATA[7:0]
I/O
ZRD
(EN)
I
ZWR
(ZRW)
I
RS
I
ZCS1
CS2
I
INT
O
BUSY
O
Description
Data Bus
These are data bus for data transfer between MPU and RA8806.
The high nibble DATA[7:4] is output and should keep floating when 4-bits
data bus mode is used.
Enable/Read Enable
When MPU interface(I/F) is 8080 series, this pin (ZRD) is used as data read,
active low.
When MPU I/F is 6800 series, this pin (EN) is used as Enable, active high.
Write/Read-Write
When MPU I/F is 8080 series, this pin (ZWR) is used as data write, active
low.
When MPU I/F is 6800 series, this pin(ZRW) is used as data read/write
control. Active high for read and active low for write.
Command / Data Select Input
The pin is used to select command/data cycle. RS = 0, data Read/Write
cycle is selected. RS = 1, status read/command write cycle is selected.
In 8080 interface, usually it connects to “A0” address pin.
RS
0
0
1
1
ZWR
0
1
0
1
Access Cycle
Data Write
Data Read
CMD Write
Status Read
Chip Select Input
The MPU interface of RA8806 is active only when ZCS1 is low and CS2 is
high.
Interrupt Signal Output
The interrupt output for MPU to indicate the status of RA8806. It could be
setup active high or low.
Busy Signal Output
This is a busy output to indicate the RA8806 is in busy state. It could be set
to active high or active low by register. The RA8806 can’t access MPU cycle
when BUSY pin is active.
It could be used for MPU to poll busy status by connecting it to I/O port.
Clock Interface
Pin Name
I/O
XG
I
XD
O
RAiO TECHNOLOGY INC.
Description
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.
X’tal Output
This pin connects to external X’tal(4M ~ 12MHz). In external clock mode, it
keeps floating.
8/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
4-3
Two Layers Character/Graphic LCD Controller
Peripheral Interface
Pin Name
I/O
ZRST
I
X1
I
X2
I
Y1
I
Y2
I
PWM_OUT
O
KIN[7:0]
I
KOUT[7:0]
O
CLK_OUT
O
DW
I
MI
I
DB
I
RAiO TECHNOLOGY INC.
Description
Reset Signal Input
This active-low input performs a hardware reset on the RA8806. It is a
Schmitt-trigger input with pull-up resistor for enhanced noise immunity;
however, care should be taken to ensure that it is not triggered if the
supply voltage is lowered.
Touch Panel Input
The left analog input pin(XL) of 4-wires touch panel.
Touch Panel Input
The right analog input pin(XR) of 4-wires touch panel.
Touch Panel Input
The top analog input pin(YU) of 4-wires touch panel.
If user want to use Touch Panel function, please add a 39K~51Kohm
external pull-up resistor on this pin.
Touch Panel Input
The bottom analog input pin(YD) of 4-wires touch panel.
PWM Output Signal
This output signal is used to control back-light module or booster circuit.
Key Pad Input
These pins are keypad inputs with pull-up resistors. For un-used input,
please keep floating.
Key Pad Output
These pins are keypad outputs. For un-used pin, please keep floating.
Clock Output
This is a multi-function output pin that depending on the value of register
REG[01h] Bit-6.
REG[01h] Bit-6 = 0: The pin is the output of internal system clock.
REG[01h] Bit-6 = 1: The pin indicate the SLEEP state of Status
Register(0: Normal Mode, 1: Sleep Mode).
LCD Driver Data Bus Select
This pin is used to select data bus of LCD driver is 8-bits or 4-bits:
0 : LCD driver data bus is 4-bits, LD[3:0] is used.
1 : LCD driver data bus is 8-bits, LD[7:0] is used.
When 4-bits data bus is used, LD[7:4] need to keep floating. RA8806T1N
does not support this function, its LCD driver data bus is fix 4-bits.
MPU Type Select
This pin is used to select MPU interface protocol:
0 : Intel 8080 series MPU interface.
1 : Motorola 6800 series MPU interface.
8080/6800 MPU Data Bus Select
This pin is used to select data bus width.
0 : 4-bits MPU I/F, DATA[3:0] is used.
1 : 8-bits MPU I/F, DATA[7:0] is used.
When 4-bits data bus is used, DATA[7:4] need to keep floating.
9/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
4-4
4-5
Two Layers Character/Graphic LCD Controller
LCD Driver Interface
Pin Name
I/O
YD
O
FR
O
LP
O
XCK
O
ZDOFF
O
LD[7:0]
O
Description
Start Signal of LCD Per Frame
YD is the reset pulse for the COM driver, it’s active during the last COM
period of each frame and latched by LP signal.
LCD AC Wave Output
This signal controls the Level Shift of LCD driver. Normally it works as
VDD/GND interlacing to prevent the liquid cystal polarization.
LCD Common Latch
LP is the latch pulse for the shift register of SEG driver to SEG output. It is
also used as COM driver shift clock.
LCD Clock
XCK is the latch pulse of the LCD driver data(LD[7:0]) for SEG driver. The
falling edge of XCK will latch the LD[7:0] (or LD[3:0] for 4-bits driver) to the
shift register.
LCD Display Off
This signal is used to control the LCD Display On or Off.
0 : Display off.
1 : Display on.
LCD Driver Data Bus
When 8-bits LCD driver IC is used. LD[7:0] are connected to LCD driver
data bus. When 4-bits driver is used, LD[3:0] are connected to LCD driver
data bus and LD[7:4] keep floating.
RA8806T1N supports LD[3:0] only.
Power
Pin Name
I/O
VDDH
P
VDD
P
VDDP
P
AVDD
P
Description
5V Power
This is the source power for DC to DC converter. In 5V power application,
it is connected to 5V. If 3V application is used, then keep this pin floating.
3V Power
If the pin VDDH connects to 5V power then the pin will driving 3V power,
and must add an external 1uF capacitor to GND. If 3V application is used,
then connecting this pin to external 3V power directly.
Power for I/O Buffer
VDDP can be 3V or 5V.
Analog Power for ADC Touch Panel Controller
AVDD can be 3V or 5V.
GND
GNDP
P
Ground
AGND
P
TESTMD
I
TESTI
I
RAiO TECHNOLOGY INC.
Analog Ground for ADC Touch Panel Controller
Connect this pin to 0V earth ground(GND).
Test Mode
This pin is used for test only. It has internal pull-low and need to keep
floating.
Test Pin
The pin is used for test function, It has internal pull-low and need to keep
floating.
10/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
5. Register Description
5-1
Register List Table
Table 5-1 : Cycle List Table
CYC_NAME
RS
ZWR
Description
CMD
1
0
Command write cycle, for writting register number(REG#)
STATUS
1
1
Status read cycle, using to check Interrupt or Sleep status.
DATW
0
0
Data write cycle, using to write register data or memory data.
DATR
0
1
Data read cycle, using to read register data or memory data.
Table 5-2 : Register Table
REG#
Name
D7
D6
D5
--
STATUS
MBUSY
SBUSY
SLEEP
00h
WLCR
PWR
LINEAR
01h
MISC
NO_
FLICKER
CLKO_SEL
SRST
BUSY_
LEV
D4
-INT_LEV
D3
TEXT_MD
D2
D1
D0
Default
WAKE_STS
KS_STS
TP_STS
--
ZDOFF
GBLK
GINV
00h
SDIR
CDIR
04h
XCK_SEL1 XCK_SEL0
03h
ADSR
SCR_PEND
--
--
--
BIT_INV
SCR_DIR
SCR_HV
SCR_EN
00h
0Fh
INTR
--
WAKI_EN
KEYI_EN
TPI_EN
TP_ACT
WAK_STS
KEY_STS
TP_STS
00h
10h
WCCR
CUR_INC
FULL_OFS
BIT_REV
BOLD
T90DEG
CUR_EN
CUR_BLK
---
00h
11h
CHWI
CURH3
CURH2
CURH1
CURH0
ROWH3
ROWH 2
ROWH 1
ROWH 0
00h
12h
MAMR
CUR_HV
DISPMD2
DISPMD1
DISPMD0
L_MIX1
L_MIX 0
MW_MD1
MW_MD0
11h
20h
AWRR
--
--
AWR5
AWR4
AWR3
AWR2
AWR1
AWR0
27h
21h
DWWR
--
--
DWW5
DWW 4
DWW 3
DWW 2
DWW 1
DWW 0
27h
30h
AWBR
AWB7
AWB6
AWB5
AWB4
AWB3
AWB2
AWB1
AWB0
EFh
31h
DWHR
DWH7
DWH6
DWH5
DWH4
DWH3
DWH2
DWH1
DWH0
EFh
40h
AWLR
--
--
AWL5
AWL4
AWL3
AWL2
AWL1
AWL0
00h
50h
AWTR
AWT7
AWT6
AWT5
AWT4
AWT3
AWT2
AWT1
AWT0
00h
60h
CURX
--
--
CURX5
CURX4
CURX3
CURX2
CURX1
CURX0
00h
61h
BGSG
--
--
BGSG5
BGSG4
BGSG3
BGSG2
BGSG1
BGSG0
00h
62h
EDSG
EDSG7
EDSG6
EDSG5
EDSG4
EDSG3
EDSG2
EDSG1
EDSG0
00h
70h
CURY
CURY7
CURY6
CURY5
CURY4
CURY3
CURY2
CURY1
CURY0
00h
71h
BGCM
BGCM7
BGCM6
BGCM5
BGCM4
BGCM3
BGCM2
BGCM1
BGCM0
00h
72h
EDCM
EDCM7
EDCM6
EDCM5
EDCM4
EDCM3
EDCM2
EDCM1
EDCM0
00h
80h
BTMR
BLKT7
BLKT6
BLKT5
BLKT4
BLKT3
BLKT2
BLKT1
BLKT0
00h
90h
ITCR
ITC7
ITC6
ITC5
ITC4
ITC3
ITC2
ITC1
ITC0
00h
A0h
KSCR1
KEY_EN
KEY4X8
KSAMP1
KSAMP0
LKEY_EN
KF2
KF1
KF0
00h
A1h
KSCR2
KWAK_EN
--
--
--
LKEY_T1
LKEY_T0
KEYNO1
KEYNO0
00h
A2h
KSDR0
KSD07
KSD06
KSD05
KSD04
KSD03
KSD02
KSD01
KSD00
00h
A3h
KSDR1
KSD17
KSD16
KSD15
KSD14
KSD13
KSD12
KSD11
KSD10
00h
A4h
KSDR2
KSD27
KSD26
KSD25
KSD24
KSD23
KSD22
KSD21
KSD20
00h
B0h
MWCR
MWD7
MWD6
MWD5
MWD4
MWD3
MWD2
MWD1
MWD0
--
B1h
MRCR
MRD7
MRD6
MRD5
MRD4
MRD3
MRD2
MRD1
MRD0
--
RAiO TECHNOLOGY INC.
11/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
(Continued)
REG#
Name
D7
D6
D5
D4
D3
D2
D1
D0
Default
C0h
TPCR1
TP_EN
TP_SMP2
TP_SMP1
TP_SMP0
TPWAK
ACLK2
ACLK1
ACLK0
00h
00h
_EN
C1h
TPXR
TPX9
TPX8
TPX7
TPX6
TPX5
TPX4
TPX3
TPX2
C2h
TPYR
TPY9
TPY8
TPY7
TPY6
TPY5
TPY4
TPY3
TPY2
00h
C3h
TPZR
TPX1
TPX0
--
--
TPY1
TPY0
--
--
00h
C4h
TPCR2
MTP_MD
--
--
--
--
--
MTP_PH1
MTP_PH2
00h
D0h
PCR
PWM_EN
PWM_DIS_
LEV
--
--
PCLK_R3
PCLK_R2
PCLK_R1
PCLK_R0
00h
D1h
PDCR
PDUTY7
PDUTY6
PDUTY5
PDUTY4
PDUTY3
PDUTY2
PDUTY1
PDUTY0
00h
E0h
PNTR
PND7
PND6
PND5
PND4
PND3
PND2
PND1
PND0
00h
F0h
FNCR
ISO8859_E
N
--
--
--
MCLR
ASC
F1h
FVHT
FH1
FH0
FV1
FV0
--
--
RAiO TECHNOLOGY INC.
12/184
ASC_SEL1 ASC_SEL0
--
--
00h
00h
www.raio.com.tw
RA8806
Preliminary Version 1.2
5-2
Two Layers Character/Graphic LCD Controller
Register Description
STATUS Register (RS = 1, ZWR = 1)
Bit
7
6
5
4-3
2
1
0
Description
Memory Write Busy Flag
0 : Not busy.
1 : Busy, when font write or memory clear cycle is running, the busy
flag = 1.
SCAN_BUSY
0 : Not busy.
1 : When driver scan logic is not idle(i.e. XCK is active), SCAN_BUSY
= 1.
SLEEP
0 : Normal mode.
1 : Sleep mode.
NA
Wakeup Status bit
(The same with REG[0Fh] Bit-2.)
Access
R
R
R
R
R
KS Status bit
(The same with REG[0Fh] Bit-1.)
TP Status bit
(The same with REG[0Fh] Bit-0.)
R
R
REG [00h] Whole Chip LCD Controller Register (WLCR)
Bit
7
6
5
4
3
Description
Power Mode
0 : Normal Mode. All of the functions of RA8806 are available in this
mode.
1 : Sleep Mode. When RA8806 is in Sleep mode, all of functions enter
off mode, except the wake-up trigger block. If wake-up event
occurred, RA8806 would wake-up and return to Normal mode.
Linear Decode mode
This bit is used to define the Font ROM address mapping rule. The
standard product is set to 0. And 1 for special application that when
user a want to create a new Mask Code.
0 : BIG5/GB ROM mapping rule.
1 : User-defined ROM mapping rule.
Software Reset
0 : Normal Operation.
1 : Reset all registers except the contents of Display Data RAM (Only
work at Normal mode). When this bit set to “1”, the next MPU
cycle for RA8806 have to wait 3 clocks at least.
Reserved
Text Mode Selection
0 : Graphical Mode. The written data will be treated as a bit-map
pattern.
1 : Text Mode. The written data will be treated as an ASCII, BIG5 or
GB code.
RAiO TECHNOLOGY INC.
13/184
Default
Access
0
R/W
0
R/W
0
R/W
0
R
0
R/W
www.raio.com.tw
RA8806
Preliminary Version 1.2
2
1
0
Two Layers Character/Graphic LCD Controller
Set Display On/Off Selection
The bit is used to control LCD Driver Interface signal – “DISP_OFF”.
0 : DISP_OFF pin output low(Display Off).
1 : DISP_OFF pin output high(Display On).
Blink Mode Selection
0 : Normal Display.
1 : Blink Full Screen. The blink time is set by register BTMR.
Inverse Mode Selection
0 : Normal Display.
1 : Inverse Full Screen. It will cause the display inversed.
0
R/W
0
R/W
0
R/W
Default
Access
0
R/W
0
R/W
0
R/W
0
R/W
01
R/W
0
R/W
0
R/W
Default
Access
0
R/W
000
R
REG [01h] Misc. Register (MISC)
Bit
7
6
5
4
3-2
1
0
Description
Eliminating Flicker
1 : Eliminating flicker mode, scan will auto-pending when busy.
0 : Normal mode.
Clock Output (Pin CLK_OUT) Control
1 : The pin “CLK_OUT” indicates the SLEEP state of Status Register(0:
Normal Mode, 1: Sleep Mode).
0 : The pin “CLK_OUT” is the output of Internal system clock.
Busy Polarity (for “BUSY” pin)
1 : Set Active High.
0 : Set Active Low.
Interrupt Polarity (for “INT” pin)
1 : Set Active High.
0 : Set Active Low.
Driver Clock Selection
These two bits are used to select the clock frequency of XCK.
0 0 : XCK = CLK/8
0 1 : XCK = CLK/4 (Default)
1 0 : XCK = CLK/2
1 1 : XCK = CLK
The “CLK” means system clock.
SEG Scan Direction(SDIR)
0 : SEG order is 0 ~ 319.
1 : SEG order is 319 ~ 0.
COM Scan Direction(CDIR)
0 : COM order 0 ~ 239.
1 : COM order 239 ~ 0.
REG [03h] Advance Display Setup Register (ADSR)
Bit
7
6-4
Description
Scroll Function Pending
1 : Scroll function pending
0 : Scroll function keep active
Note: When SCR_HV(Bit-1) and SCR_EN(Bit-0) are changed, the
function does not support.
Reserved
RAiO TECHNOLOGY INC.
14/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
3
2
1
0
Two Layers Character/Graphic LCD Controller
BIT_ORDER(Set driver data output bit order)
1 : Inverse driver output data order(Bit-7 to Bit-0, Bit-6 to Bit-1 and so
on)
0 : Normal Mode
SCR_DIR(Scroll Direction)
When SCR_HV = 0(Horizontal Scroll)
0 : Left Æ Right.
1 : Right Æ Left.
When SCR_HV = 1(Vertical Scroll)
0 : Top Æ Bottom.
1 : Bottom Æ Top.
SCR_HV(Scroll Horizontal/Vertical)
0 : Segment Scrolling(Horizontal).
1 : Common Scrolling(Vertical).
SCR_EN(Scroll Enable)
1 : Scroll function enable.
0 : Scroll function disable.
0
R/W
0
R/W
0
R/W
0
R/W
Default
Access
0
R
0
R/W
0
R/W
0
R/W
0
R
0
R/W
0
R/W
0
R/W
REG [0Fh] Interrupt Setup and Status Register (INTR)
Bit
7
6
5
4
3
2
1
0
Description
Reserved
Wakeup Interrupt Mask
1 : Enable wake-up Interrupt.
0 : Disable wake-up Interrupt.
Key-Scan Interrupt Mask
1 : Enable Key-Scan Interrupt.
0 : Disable Key-Scan Interrupt.
Touch Panel Interrupt Mask
1 : Generate interrupt output if touch panel was detected.
0 : Don’t generate interrupt output if touch panel was detected.
Touch Panel Event(Only activate in TP Manual mode)
1 : Touch panel is touched.
0 : Touch panel is not touched.
Wakeup Interrupt Status bit
1 : Interrupt that indicate wake-up event happen from Sleep mode.
0 : No wake-up interrupt happen.
User must write “0” to clear the Status bit.
Key-Scan Interrupt Status bit
1 : Key-Scan Detects Key Input.
0 : Key-Scan doesn’t Detect Key Input.
User must write “0” to clear the Status bit.
Touch Panel Detect Status bit
1 : Touch Panel Touched.
0 : Touch Panel Untouched.
User must write “0” to clear the Status bit.
RAiO TECHNOLOGY INC.
15/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
REG [10h] Whole Chip Cursor Control Register (WCCR)
Bit
7
6
5
4
3
2
1
0
Description
CUR_INC (Auto Increase Cursor Position in Reading/Writing DDRAM
Operation.)
1 : Disable.
0 : Enable(Auto Increase).
FULL_OFS (Full-size and Half-size Character Alignment)
1 : Enable, in Full-size and Half-size character mixed mode. Chinese
always start at full-size alignment.
0 : Disable.
Reversed Data Write mode
0 : Store Current Data to DDRAM Directly.
1 : Store Current Data to DDRAM Inversely.(i.e. 01101101Î
10010010)
Bold Font (Character Mode Only)
1 : Bold Font
0 : Normal Font
Font Rotate mode(T90DEG)
1 : Font rotates 90 degree. (See Section 6-10-4 for detail)
0 : Normal font.
Cursor Display
1 : Set Cursor Display On.
0 : Set Cursor Display Off.
Cursor Blinking
1 : Blink Cursor. The blink time is determined by register BTMR.
0 : Normal.
Reserved
Default
Access
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R
Default
Access
0000
R/W
0000
R/W
REG [11h] Cursor Height and Word Interval Register (CHWI)
Bit
7-4
3-0
Description
Set Cursor Height
0000 b Æ Height = 1 pixel.
0001 b Æ Height = 2 pixels.
0010 b Æ Height = 3 pixels.
:
:
1111 b Æ Height = 16 pixels.
Note: In normal font, the cursor width fixed to one byte(8 pixels). And
cursor’s height is from 1~16pixels that depends on Bit[7:4]. In vertical
font, the cursor height fixed to 16 pixels, and width is from 1~8 pixels
that depends on Bit[6:4].
Set Line Gap
0000 b Æ Gap = 1 pixel.
0001 b Æ Gap = 2 pixels.
0010 b Æ Gap = 3 pixels.
:
:
1111 b Æ Gap = 16 pixels.
RAiO TECHNOLOGY INC.
16/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
REG [12h] Memory Access Mode Register (MAMR)
Bit
7
Description
Cursor Auto Shifting Direction
0 : Cursor moves horizontally (left to right) first then vertically (top to
down).
1 : Cursor moves vertically first then horizontally.
Note: In graphic mode, the cursor moving is treated as unit of bytes in
horizontal direction. At vertical direction, it’s treated as unit of bit. At
text mode, the bit is ignored, and the cursor moving is always in
horizontal direction.
Display Layer and Display Mode Selection
0 0 0 : Gray Mode. In this mode, each pixel consists with 2 continuous
bits in memory data. With the FRC methodology, 4-level-gray
mode is implemented. The bit mapping is list as below.
Default
Access
0
R/W
001
R/W
00
R/W
01
R/W
bit1
bit0
Gray
--------------------------------------------------0
0
Level1 (Lightest)
0
1
Level2
1
0
Level3
1
1
Level4 (Darkest)
6-4
Note: Gray mode doesn’t support text-mode input.
0 0 1 : Show DDRAM1 data on screen.
0 1 0 : Show DRRAM2 data on screen.
0 1 1 : Show Two Layer Mode. The display rule depends on Bit-3 and
Bit-2 as following.
1 0 X : NA.
1 1 0 : Extension Mode (1), the panel will show both DDRAM1 and
DDRAM2 data on the screen. The RA8806 is available for
640x240 pixels panel.
1 1 1 : Extension Mode (2), the panel will show both DDRAM1 and
DDRAM2 on the screen. The RA8806 is available for 320x480
pixels panel.
Two Layer Mode Selection
Combine the data of DDRAM1 and DDRAM2 on the screen when
Bit[6:4] is set as “011”.
3-2
1-0
0 0 : DDRAM1 “OR” DDRAM2.
0 1 : DDRAM1 “XOR” DDRAM2.
1 0 : DDRAM1 “NOR” DDRAM2.
1 1 : DDRAM1 “AND” DDRAM2.
MPU Read/Write Layer Selection
0 0 : Access CGRAM.(512Byte)
0 1 : Access DDRAM1.
1 0 : Access DDRAM2.
1 1 : Access both DDRAM1 and DDRAM2 concurrently
RAiO TECHNOLOGY INC.
17/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
REG [20h] Active Window Right Register (AWRR)
Bit
7-6
5-0
Description
Reserved
Active Window Right Position Æ Segment-Right
Note: AWRR must be equal or larger then AWLR, and less or equal
then the value 27h (40 in decimal).
Default
Access
00
R
27h
R/W
Note:
REG[20h, 30h, 40h, and 50h] are used to dominate an active window for line/row changing when writing
data. Users can use these four registers to set the left/right/top/bottom boundary of active window. When
data goes beyond the right boundary of it, the cursor will automatically change the next line to write data. It
will move to the left boundary of new line in active window. When the data comes to the right-bottom corner,
the next write will cause the cursor to move to the left-top corner.
REG [21h] Display Window Width Register (DWWR)
Bit
7-6
Description
Reserved
Default
Access
00
R
27h
R/W
Set Display Window Width Position Æ Segment-Width
5-0
Segment-Right = (Segment Number / 8) – 1
If LCD panel resolution is 320x240, the value of the register is:
( 320 / 8 ) - 1 = 39 = 27h
Note:
REG[21h, 31h] are used to set Display Window Resolution. Users can set the viewing scope of Display
Data RAM. Column width (DWWR) of RA8806 can be set between 0h ~ 27h, and Row height (DWHR) can
be set between 0h ~ EFh.
REG [30h] Active Window Bottom Register (AWBR)
Bit
7-0
Description
Active Window Bottom Position Æ Common-Bottom
Note: AWBR must be equal or larger then AWTR, and less or equal
then the value EFh(239 in decimal)
Default
Access
EFh
R/W
Default
Access
EFh
R/W
REG [31h] Display Window Height Register (DWHR)
Bit
Description
Display Window Height Position Æ Common- Height
Common_ Height = LCD Common Number –1
7-0
If LCD panel resolution is 320x240, the value of the register is:
240 – 1 = 239 = EFh
RAiO TECHNOLOGY INC.
18/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
REG [40h] Active Window Left Register (AWLR)
Bit
Default
Access
7-6
Reserved
Description
00
R
5-0
Active Window Left Position Æ Segment-Left
Note: AWLR must be equal or less then AWRR, and less then the
value 27h(39 in decimal)
00h
R/W
Default
Access
00h
R/W
Default
Access
REG [50h] Active Window Top Register (AWTR)
Bit
7-0
Description
Active Window Top Position Æ Common-Top
Note: AWTR must be equal or less then AWBR, and less then the
value EFh (239 in decimal)
REG [60h] Cursor Position X Register (CURX)
Bit
Description
7-6
Reserved
00
R
5-0
Cursor Position of Segment / RAM0 Address[4:0]
Define the cursor address of segment, a value from 0h ~ 27h(0 ~ 40 in
decimal)
When CGRAM write mode is selected (REG[12h] Bit[1:0] = 00b), the
Bit[4:0] is the address for writing bit-map data. When create a full-size
font, normally set to 0. When create an odd half-size font, normally set
to 0, and set 10h for even font.
00h
R/W
Default
Access
00
R
00h
R/W
REG [61h] Begin Segment Position Register of Scrolling (BGSG)
Bit
7-6
Description
Reserved
Segment Start Position of Scrolling Mode
5-0
REG[61h] defines the start position (left boundary) of scroll window, it
must be a value that less or equal to the REG[62h], which defines the
end position(right boundary) of scroll window. Also it must be less
then the value of 27h (40 in decimal), for the Display Data RAM limit.
Note:
REG[61h, 62h, 71h, 72h] dominate a named scroll window for scroll function. They must be set before the
scroll function is enable.
REG [62h] End Segment Position Register of Scrolling (EDSG)
Bit
7-6
Description
Reserved
Default
Access
00
R
00h
R/W
Segment End Position of Scrolling Mode
5-0
REG[62h] defines the end position(right boundary) of scroll window, it
must be a value that larger or equal to the REG[61h], which defines
the end position(left boundary) of scroll window. Also it must be less
or equal then the value of 27h(40 in decimal), for the Display Data RAM
limit.
RAiO TECHNOLOGY INC.
19/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
REG [70h] Cursor Position Y Register (CURY)
Bit
7-0
Description
Cursor Position of Common / RAM0 Address[8:5]
Define the cursor address of common, a value from 0h ~ EFh(0 ~ 239
in decimal).
When CGRAM write mode is selected (REG[12h] Bit[1:0] = 00b), the
Bit[3:0] is indicate which font will be created. And Bit[7:4] are not
available.
Default
Access
00h
R/W
Default
Access
00h
R/W
Default
Access
00h
R/W
Default
Access
00h
R/W
REG [71h] Scrolling Action Range Begin Common Register (BGCM)
Bit
7-0
Description
Common Start Position of Scrolling Mode
REG[71h] defines the begin position(top boundary) of scroll window, it
must be a value that less or equal to the REG[72h], which defines the
end position(bottom boundary) of scroll window. Also it must be less
then the value of EFh (239 in decimal), for the Display Data RAM limit.
REG [72h] Scrolling Action Range END Common Register (EDCM)
Bit
7-0
Description
Common Ending Position of Scrolling Mode
REG[72h] defines the end position(bottom boundary) of scroll window,
it must be a value that larger or equal to the REG[71h], which defines
the end position(top boundary) of scroll window. Also it must be less
or equal then the value of EFh (239 in decimal), for the Display Data
RAM limit.
REG [80h] Blink Time Register (BTMR)
Bit
Description
Cursor Blink Time and Scroll Time
Blinking Time = Bit[7:0] x (Frame width)
7-0
Frame width = 1/Frame Rate
The Frame Rate is depends on the DWWR and DWHR and ITCR
setting.
Notes:
1. The Setting also determines the scroll moving speed.
2. The Frame width is the time that the controller scan whole panel, it depends on the system clock
frequency, setting of display window, driver interface (4-bits/8-bits), Idle time (ITCR), and dual mode or
gray scale mode, etc.
RAiO TECHNOLOGY INC.
20/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
REG [90h] Idle Time Counter Register (ITCR)
Bit
Description
Idle Time Setting, in count of system clock.
The value can determine the scan time of each COM of the LCD.
Default
Access
00h
R/W
Default
Access
0
R/W
0
R/W
00
R/W
0
R/W
COM_PRD = ( COM_SCAN + ITCR) x XCK_PRD
In which,
COM_SCAN = (SEG_NO/LD_WIDTH) x (1 + EXT_MD)
XCK_PRD = 1 / XCK
COM_PRD: The finally scan period for each COM(Unit : ns).
7-0
COM_SCAN: The really scan time for each COM.
XCK_PRD: One cycle time of XCK. XCK is depends on the system
clock(CLK) and REG[01h] Bit[3:2]. If system clock is
8MHz, REG[01h] Bit[3:2] = 10b, then XCK_PRD = 250ns.
SEG_NO: Segment number, i.e. 240x160 panel, SEG_NO = 240.
EXT_MD: In extension mode1 or 2(REG[12h] Bit[6:4] = 111b or 110b),
the EXT_MD = 1, otherwise EXT_MD = 0.
LD_WIDTH: Driver data width. If LCD driver data bus is 4-bits then
LD_WIDTH = 4. If LCD driver data bus is 8-bits then
LD_WIDTH = 8. Please refer pin “DW” description of
Section 4-3.
REG [A0h] Key-Scan Control Register 1 (KSCR1)
Bit
7
6
5-4
3
Description
Key-Scan Enable Bit
1 : Enable.
0 : Disable.
Key-Scan Matrix Selection
1 : 4x8 Matrix(KOUT[3:0] is used, KOUT[7:4] please keep floating)
0 : 8x8 Matrix(KOUT[7:0] is used)
Key-Scan Data Sampling Times
De-bounce times of scan frequency.
00:4
01:8
1 0 : 16
1 1 : 32
LNGKEY_EN : Long Time Key Function Enable
LNGKEY_EN = 0 Æ Long key function is disable.
LNGKEY_EN = 1 Æ Long key function is enable.
RAiO TECHNOLOGY INC.
21/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
KF2-0: Key-Scan frequency.
If system clock is 10MHz, then the related Key-Scan timing are as
following:
KF2 KF1 KF0
2-0
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
Key-Scan
Key-Scan
Pulse Width
Cycle (4x8)
(KOUT period)
16µs
64µs
32µs
128µs
64µs
256µs
128µs
512µs
256µs
1.024ms
512µs
2.048ms
1.024ms
4.096ms
2.048ms
8.192ms
Key-Scan
Cycle (8x8)
128µs
256µs
512µs
1.024ms
2.048ms
4.096ms
8.192ms
16.384ms
000
R/W
Default
Access
0
R/W
000
R
00
R/W
00
R
REG [A1h] Key-Scan Controller Register 2(KSCR2)
Bit
7
6-4
3-2
1-0
Description
Key-Scan Wakeup Function Enable Bit
0: Key-Scan Wakeup function is disable.
1: KEY-SCAN Wakeup function is enable.
Reserved
Long Key Timing Adjustment
00 : About 0.625sec(for 8MHz Clock source)
01 : About 1.25sec(for 8MHz Clock source)
10 : About 1.875 sec(for 8MHz Clock source)
11 : About 2.5 sec(for 8MHz Clock source)
Numbers of Key Hit.
00 : No key is pressed
01 : One key is pressed, read REG[A2h] for the key number.
10 : Two key is pressed, read REG[A2h ~ A3h] for the key number.
11 : Three key is pressed, read REG[A2h ~ A4h] for the key number.
REG [A2h ~ A4h] Key-Scan Data Register (KSDR0 ~ 2)
Bit
Description
Default
Access
7-0
Key Strobe Data
The corresponding key number that is pressed. Please reference
Section 6-5 "Key-Scan”.
00h
R
Description
Memory data write command from the cursor position.
Default
Access
Note: Write memory data, user must write the MWCR command first,
then write DATA cycle.
REG [B1h] Memory Read Command Register (MRCR)
NA
R/W
REG [B0h] Memory Write Command Register (MWCR)
Bit
7-0
RAiO TECHNOLOGY INC.
22/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Bit
Description
Memory data read command from the cursor position.
7-0
Note: Memory read cycle in text mode, the cursor move in same
behavior like graphic mode. B1h will perform a pre-read function. So
the cursor position will increase after the MRCR command is write.
Default
Access
NA
R/W
Default
Access
0
R/W
000
R/W
0
R/W
000
R/W
Default
Access
00h
R
Default
Access
00h
R
REG [C0h] Touch Panel Control Register 1 (TPCR1)
Bit
7
6-4
3
2-0
Description
Touch Panel Enable Bit
1 : Enable.
0 : Disable.
TP Sample Time Adjusting
000 : Wait 50µs for ADC data ready.
001 : Wait 100µs for ADC data ready.
010 : Wait 200µs for ADC data ready.
011 : Wait 400µs for ADC data ready.
100 : Wait 800µs for ADC data ready.
101 : Wait 1.6ms for ADC data ready.
110 : Wait 3.2ms for ADC data ready.
111 : Wait 6.4ms for ADC data ready.
Note: When touch panel detects the Touch event, to avoid the signal
instability, the sampled time is delayed to wait the signal stable. The
TP Sample Time Adjusting and ADC Clock Convert Speed relation
just refer to Section 6-4-3.
Touch Panel Wake-up Enable:
1 : Touch panel can wake-up the Sleep mode(At the condition that
ADC is enabled).
0 : Disable the touch panel wake-up function
ADC Clock Convert Speed
0 0 0 : CLK / 4
0 0 1 : CLK / 8
0 1 0 : CLK /16
0 1 1 : CLK / 32
1 0 0 : CLK / 64
1 0 1 : CLK / 128
1 1 0 : CLK / 256
1 1 1 : CLK / 512
The “CLK” means system clock.
REG [C1h] Touch Panel X High Byte Data Register (TPXR)
Bit
7-0
Description
Touch Panel X Data Bit[9:2](Segment)
REG [C2h] Touch Panel Y High Byte Data Register (TPYR)
Bit
7-0
Description
Touch Panel Y Data Bit[9:2] (Common)
RAiO TECHNOLOGY INC.
23/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
REG [C3h] Touch Panel Segment/Common Low Byte Data Register (TPZR)
Bit
Description
Default
Access
7-4
Reserved
0000
R
3-2
Touch Panel Y Data Bit[1:0] (Common)
00
R
1-0
Touch Panel X Data Bit[1:0] (Segment)
00
R
Default
Access
0
R/W
00h
R
00
R/W
Default
Access
0
R/W
0
R/W
00
R
0000
R/W
REG [C4h] Touch Panel Control Register 2 (TPCR2)
Bit
7
6-2
1-0
Description
TP Manual Mode Enable
1 : Using the manual mode.
0 : Auto mode.
Reserved
Mode selection for TP Manual Mode
00 : IDLE mode: ADC idles.
01 : Wait for TP event, touch panel event could cause the interrupt or
be read from REG[0Fh] B3.
10 : Latch X data, in the phase, X Data can be latched in REG[C1h]
and REG[C3h].
11 : Latch Y data, in the phase, Y Data can be latched in REG[C2h]
and REG[C3h].
REG [D0h] PWM Control Register (PCR)
Bit
5-4
Description
PWM enable
1 : Enable
0 : Disable, PWM_OUT level depends on the REG[D0h] Bit-6.
PWM Disable Level
0 : PWM_OUT is Normal L when PWM disable or Sleep mode.
1 : PWM_OUT is Normal H when PWM disable or Sleep mode.
Reserved
3-0
PWM Clock Source Divide Ratio
0000 b Æ CLK / 1
0001 b Æ CLK / 2
0010 b Æ CLK / 4
0011 b Æ CLK / 8
:
:
1111 b Æ CLK / 32768
7
6
The “CLK” means system clock. For example, CLK is 8MHz:
0000 b Î PWM clock source = 8MHz,
0001 b Î PWM clock source = 4MHz,
:
:
1111 b Î PWM clock source = 244Hz.
RAiO TECHNOLOGY INC.
24/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
REG [D1h] PWM Duty Cycle Register (PDCR)
Bit
7-0
Description
PWM Cycle Duty Selection Bit
00h Æ 1 / 256
01h Æ 2 / 256 High period
02h Æ 3 / 256 High period
:
:
FFh Æ 256 / 256 High period
Default
Access
00h
R/W
Default
Access
00h
R/W
Default
Access
0
R/W
000
R
0
R/W
0
R/W
00
R/W
REG [E0h] Pattern Data Register (PNTR)
Bit
7-0
Description
Data Written to DDRAM(Display Data RAM)
The pattern that will be filled to active window in memory clear
function.
When REG[F0h] Bit-3 is ‘1’, the data in the REG[E0h] will be filled to
the whole active window.
REG [F0h] Font Control Register (FNCR)
Bit
7
6-4
3
2
1-0
Description
ISO8859 Mode
0 : Disable. The contents of ASCII block 1 ~ 4 are show as Table C-1~
Table C-4 of Appendix B.
1 : Enable. The ASCII block 1 ~ 4 indicate the ISO8859-1 ~ 4
standard and show as Table C-5 ~ Table C-8 of Appendix C.
Reserved
Memory Clear Function
Write Function
0 : No Action.
1 : Memory clear function active, fill the data of FNTR to Active
window.
When this bit is set to “1”, RA8806 will automatically read PNTR data,
and fill it to Active window (Range: [AWLR, AWTR] ~ [AWRR,
AWBR]), after clear completed, this bit will be cleaned to “0”.
ASCII Mode Enable
1 : All input data will be decoded as ASCII (00h ~ FFh)
0 : In text mode (REG[00h] Bit-3), the RA8806 will check the first
written byte data first. If less then 80h then it’s treated as ASCII
(Half-size). Or it’s treated as a full-size text(GB, BIG5 or Usercreated font).
ASCII Blocks Select
0 0 : Map to ASCII block 1. (Table C-1 and Table C-5 of Appendix C.)
0 1 : Map to ASCII block 2. (Table C-2 and Table C-6 of Appendix C.)
1 0 : Map to ASCII block 3. (Table C-3 and Table C-7 of Appendix C.)
1 1 : Map to ASCII block 4. (Table C-4 and Table C-8 of Appendix C.)
RAiO TECHNOLOGY INC.
25/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
REG [F1h] Font Size Control Register (FVHT)
Bit
7-6
5-4
3-0
Description
Set Character Horizontal Size
0 0 : One Time of normal font width.
0 1 : Two Times of normal font width.
1 0 : Three Times of normal font width.
1 1 : Four Times of normal font width.
Set Character Vertical Size
0 0 : One Time of normal font height.
0 1 : Two Times of normal font height.
1 0 : Three Times of normal font height.
1 1 : Four Times of normal font height.
Reserved
RAiO TECHNOLOGY INC.
26/184
Default
Access
00
R/W
00
R/W
0000
R
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6. Function Description
6-1
MPU Interface
6-1-1 MPU Type
The RA8806 support 8080 or 6800 compatible MPU interface. When the pin “MI” is pull low then the
MPU interface is set to 8080 compatible. If “MI” pulls high then the MPU interface is defined as 6800
compatible. And the pin “DB” is used to select the 8080 MPU data bus is 4-bits or 8-bits. When “DB”
is pulled low, then the data bus for data transition is 4-bits. If pin “DB” pull high, the data transition is
8-bits. The option of 4-bits or 8-bits data bus is for both 8080 and 6800 MPU. Of course, if used 4bits interface then the 8080 MPU has to take double time to communicate with RA8806. In order to
reduce the transmission line interference between MPU interface and RA8806, we suggest that a
small capacitor to the GND should be added at the signal of ZCS1、ZRD、ZWR, please see the
following Figure 6-1.
8080
MPU
RA8806
RS
A0
A1-A7
IORQ
Decoder
ZCS1
CS2
MI
DATA0-3(DATA0-7)
D0-D3(D0 -D7)
RD
ZRD
WR
ZWR
RES
ZRST
Figure 6-1 : 8080 (4/8-bits) MPU Interface
6800
MPU
RA8806
RS
A0
A1-A7
VMA
VDD
Decoder
ZCS1
CS2
MI
DATA0-3(DATA0-7)
D0-3(D0-D7)
EN
EN
R/W
ZRW
RES
ZRST
Figure 6-2 : 6800 (4/8-bits) MPU Interface
RAiO TECHNOLOGY INC.
27/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
tAH8
tAS8
RS
ZCS1
CS2
tCYC8
ZWR
ZRD
tCC8
tDS8
tDH8
DATA
(Write)
tOH8
tACC8
DATA
(Read)
Figure 6-3 : 8080 MPU Interface Waveform
Table 6-1 : 8080 MPU Interface Timing
Symbol
Description
tCYC8
Rating
Unit
Min.
Max.
Cycle time
2*tc
--
ns
tCC8
Strobe Pulse width
50
--
ns
tAS8
Address setup time
0
--
ns
tAH8
Address hold time
20
--
ns
tDS8
Data setup time
30
--
ns
tDH8
Data hold time
20
--
ns
tACC8
Data output access time
0
20
ns
tOH8
Data output hold time
0
10
ns
RAiO TECHNOLOGY INC.
28/184
Condition
tc = one system clock period
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
tAH6
tAS6
RS
ZRW
ZCS1
CS2
tCYC6
tCC6
EN
tDS6
tDH6
DATA
(Write)
tOH6
tACC6
DATA
(Read)
Figure 6-4 : 6800 MPU Interface Waveform
Table 6-2 : 6800 MPU Interface Timing
Symbol
Description
tCYC6
Rating
Unit
Min.
Max.
Cycle time
2*tc
--
ns
tCC6
Strobe Pulse width
50
--
ns
tAS6
Address setup time
0
--
ns
tAH6
Address hold time
20
--
ns
tDS6
Data setup time
30
--
ns
tDH6
Data hold time
20
--
ns
tACC6
Data output access time
0
20
ns
tOH6
Data output hold time
0
10
ns
RAiO TECHNOLOGY INC.
29/184
Condition
tc is one system clock period:
tc = 1/CLK
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-1-2 Command Write
According to the Table 5-1, RA8806 accept 4 cycles through MPU interface. If users want to write
command to RA8806, then a Command cycle has to execute first, and then execute a Data Write
cycle. The “Command Write” means write function data to register. After these two cycles, the Data
will write into the indicative Register. Please see the following Figure 6-5 (1).
In Table 6-1 of Section 6-1-1, each command of RA8806 is take 2 cycles, and the minimum cycle
time is 2*tc. So totally the minimum time of command write need 4*tc. See following Table 6-3.
If the secondary cycle is a “Data Read”, then user could read the register content. See the following
Figure 6-5 (2). Note the Figure 6-5 to Figure 6-7 are use the 8080 MPU interface as examples.
RS
ZCS1
ZWR
ZRD
DATA[7:0]
REG#
DATA
(1) Command Write (Write Data to Register)
RS
ZCS1
ZWR
ZRD
DATA[7:0]
REG#
DATA
(2) Read Data from Register
Figure 6-5 : Command Write and Register Read Cycle
Table 6-3 : Command Access Time Table
System Clock
4MHz
6 MHz
8 MHz
10 MHz
12 MHz
RAiO TECHNOLOGY INC.
Command Access Time
1µs
667ns
500ns
400ns
333ns
30/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-1-3 Memory Write/Read
When users want to write data to memory – DDRAM or CGRAM, then a special Command cycle
has to execute first, the register have to assign to “B0h” on Data Bus. Then the following Data Write
cycle will write data into memory. If users want to read data from memory, then the register has to
assign to “B1h” on Data Bus in Command Write cycle. Please see the following Figure 6-6 (1) and
(2).
RS
ZCS1
ZWR
ZRD
DATA[7:0]
B0h
DATA1
DATA2
DATAn
DATA2
DATAn
(1) Memory Write (Write Data to DDRAM)
RS
ZCS1
ZWR
ZRD
DATA[7:0]
B1h
DATA1
(2) Memory Read (Read Data from DDRAM)
Figure 6-6 : Memory Write/Read Cycle
6-1-4 Status Read
RA8806 provides a dedicate Status Read cycle to help users know the status of RA8806. Please
refer to following Figure 6-7 and the beginning of Section 5-2 “Register Description”.
RS
ZCS1
ZW R
ZRD
DATA [7:0]
Status DATA
Status Register Read
Figure 6-7 : Status Read Cycle
RAiO TECHNOLOGY INC.
31/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
6-2
Two Layers Character/Graphic LCD Controller
Driver Interface
The main function of Driver Interface is to generate Frame (Pin “FR”), Latch Pulse (Pin “LP”), “YD” and
Data Bus (LD[7:0]) for external LCD driver IC. RA8806 could both support 4-bits and 8-bits LCD driver
interface. Pin “DW” is for LCD driver data bus selection. If “DW” pulls high then 8-bits LCD driver is used.
If pull low then 4-bits LCD driver is used. Figure 6-8 is the LCD interface of RA8806.
LCD Driver
RA8806
YD
FLM
FR
M
LP
LP
ZDOFF
STN
Common Signals
Dot Matrix
LCD Panel
/DISPOFF
XCK
CP
LD[7:0]
Segment Signals
D[7:0]
Figure 6-8 : The Interface of RA8806 and LCD Driver
Figure 6-9 is the timing waveform of RA8806 and LCD Driver. Users could also refer to Section 4-4
“LCD Driver Interface” for LCD driver pin description.
F o r 3 2 0 x 2 4 0 : T o ta l 2 4 0
L P fo r e a c h F ra m e
FR
YD
LP
XCK
1 st lin e
FR
YD
LP
XCK
LD
(D a ta )
Figure 6-9 : The Waveform of RA8806 and LCD Driver
RAiO TECHNOLOGY INC.
32/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Figure 6-10 is the application diagram of RA8806. In this example, we use 80-channels LCD Drivers to
process Common and Segment activity of 320x240 LCD Panel. RA8806 send FR, LP, YD, Data
Bus(LD[3:0] and clock(XCK) signals to Segment/Common drivers. The Figure 6-11 is the example for
160x160 panel application.
Figure 6-10 : Application Circuit Diagram for 320x240 Panel
RAiO TECHNOLOGY INC.
33/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
160-channel
(C om m on)
Y 1~Y 16 0
E IO 1
MD
S/C
VD D
L/R
V SS
D I0~D I7
FR
160*160 D ot
LP
LC D P an el
D ISP O FF
XC K
E IO 2
Y1~Y160
R A8806
YD
LP
FR
LP
ZD O FF
DISPOFF
XCK
FR
160-channel
(S egm ent)
EIO1
MD
L/R
S/C
EIO2
LD [7:0]
DI0~DI7
XC K
Figure 6-11 : Application Circuit Diagram for 160x160 Panel
Table 6-4 is the RA8806 driver signals mapping to different driver ICs’ pin names. Note, do not need
add any capacitor on these for LCD driver signals. If add external capacitor on these pins to
ground or VDD, then the maximum limitation is 30pF.
Table 6-4 : Driver IC I/F Name vs. RA8806
RA8806
Driver I/F
Driver IC I/F Name
LP
LP
LOAD
CL1
CP
XCK
SCP
CL2
HSCP
FLM
YD
FR
FRAME
CDATA
FR
DF(M)
LD[7:0]
D[7:0]
/DISPOFF
/D.OFF
DISP
ZDOFF
RAiO TECHNOLOGY INC.
Definition of Driver IC I/F
Data Latch Clock
Latch Pulse in one line
Latch pulse of display data
Data Latch Pulse
Data Shift Clock
Clock pulse for segment shift register
Shift Clock Pulse for X-Drivers
Data Shift Pulse
Shift Clock Pulse
Scan Start-up Signal
First Line Marker
Frame Pulse
Frame start signal(First line mark of common
signal)
Synchronous Data
Switch signal to convert LCD drive waveform
into AC
LCD Data Bus
Display OFF
Display OFF
Display OFF
34/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-2-1 Display Resolution
RA8806 support many different resolution of LCD panel. For different resolution of panel, RA8806
could change the setting of some registers like DWWR and DWHR to modify display window size.
And use registers AWRR, AWBR, AWLR and AWTR to change the active window size.
For example, if 320x240 LCD panel is used, then the related register setting is as following:
DWWR = (320 / 8) - 1 = 39 = 27h
DWHR = 240 – 1 = 239 = EFh
The active window range is less than display window. So user has to care the rule as following:
1. DWWR ≥ AWRR ≥ AWLR
2. DWHR ≥ AWBR ≥ AWTR
RA8806 supports a variety of LCD modules, the setting of register depnding on different resolution
of LCD module is list at below table.
Table 6-5 : Registers Setting for LCM Resolution
Panel
Resolution
Segment Common
REG[21h]
DWWR
REG[31h]
DWHR
160*80
160
80
13h
4Fh
160*128
160
128
13h
7Fh
160*160
160
160
13h
9Fh
240*64
240
64
1Dh
3Fh
240*128
240
128
1Dh
7Fh
240*160
240
160
1Dh
9Fh
320*240
320
240
27h
EFh
6-2-2 Display Window and Active Window
The RA8806 provides two windows for real application -- Display Window and Active Window. The
Display Window is the actual resolution of LCD panel. Active is a sub-window in Display Window.
The boundary of cursor shift depends on the active window. The relative registers of the two
windows are as the following table.
Table 6-6
Reg.
Bit_Num
AWLR
Bit [5:0]
Define left boundary of the active window
REG[40h]
AWRR
Bit [5:0]
Define right boundary of the active window
REG[20h]
AWTR
Bit [7:0]
Define top boundary of the active window
REG[50h]
AWBR
Bit [7:0]
Define bottom boundary of the active
window
REG[30h]
DWWR
Bit [5:0]
Define the width of the display window
REG[21h]
DWHR
Bit [5:0]
Define the height of the display window
REG[31h]
RAiO TECHNOLOGY INC.
Description
35/184
Reference
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
For RA8806, if LCD panel resolution is 320x240 pixels then the display window resolution is
320x240. We can create an active window in the display window like Figure 6-12. This figure show
the display resolution is 320x240, and a 160x160 active window is on the upper-middle. The relative
setting of the active window as following:
LCD_CmdWrite ( 0x40 );
LCD_DataWrite ( 0x09 );
// AWLR = 09h = 9 Î ( 80 / 8) – 1
LCD_CmdWrite ( 0x20 );
LCD_DataWrite ( 0x1D );
// AWRR = 1Dh = 29 Î ( 240 / 8 ) – 1
LCD_CmdWrite ( 0x50 );
LCD_DataWrite ( 0x00 );
// AWTR = 00h = 0
LCD_CmdWrite ( 0x30 );
LCD_DataWrite ( 0x9F );
// AWBR = 9Fh = 159 Î 160 – 1
LCD_CmdWrite ( 0x21 );
LCD_DataWrite ( 0x27 );
// DWWR = 27h = 39 Î ( 320 / 8 ) – 1
LCD_CmdWrite ( 0x31 );
LCD_DataWrite ( 0xEF );
// DWHR = EFh = 239 Î 240 – 1
320
0 1 2 …….... 79 80 ………………………… 239 240 ……… 319
0
1
2
:
:
:
:
:
:
:
159
160
:
:
:
239
80
Active Window
160 x 160
80
240
80
Display Window
320 x 240
Figure 6-12 : RA8806 Display Window and Active Window
RAiO TECHNOLOGY INC.
36/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
For RA8806, if LCD resolution is 240x160 pixels then the display window resolution is 240x160. We
can create an active window in the display window like Figure 6-13. This figure show the display
resolution is 240x160, and a 120x120 active window is on the upper-left. The relative setting of the
active window as following:
LCD_CmdWrite ( 0x40 );
LCD_DataWrite ( 0x00 );
// AWLR = 00h = 0
LCD_CmdWrite ( 0x20 );
LCD_DataWrite ( 0x0E );
// AWRR = 0Eh = 14 Î ( 120 / 8 ) – 1
LCD_CmdWrite ( 0x50 );
LCD_DataWrite ( 0x00 );
// AWTR = 00h = 0
LCD_CmdWrite ( 0x30 );
LCD_DataWrite ( 0x77 );
// AWBR = 77h = 119 Î 120 – 1
LCD_CmdWrite ( 0x21 );
LCD_DataWrite ( 0x1D );
// DWWR = 1Dh = 29 Î ( 240 / 8 ) – 1
LCD_CmdWrite ( 0x31 );
LCD_DataWrite ( 0x9F );
// DWHR = 9Fh = 159 Î 160 – 1
240
0 1 2………………………. 119 120……………………… 239
0
1
2
:
:
:
:
:
:
:
119
120
:
:
:
159
Active Window
120 x 120
160
Display Window
240 x 160
Figure 6-13 : Display Window and Active Window
RAiO TECHNOLOGY INC.
37/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-2-3 Com/Seg Scan Direction
RA8806 supports a special feature to reverse the Common and Segment signal. User could use
this feature to change the direction of cursor and display data. If use text rotate function and set
CDIR = 1, then use could show text in vertical display. Please refer to Section 6-10-4.
Table 6-7
Reg.
Bit_Num
Description
Bit 1
Define the order of Segment signals. (SDIR)
Bit 0
Define the order of Common signals. (CDIR)
MISC
SEG0 .............................................. SEG319
COM0
:
Cursor Moving way
:
:
:
:
:
:
:
COM239
(1) SDIR = 0
Reference
REG[01h]
SEG0 …………………………………. SEG319
COM0
:
Cursor Moving way
:
:
:
:
:
:
:
COM239
(2) SDIR = 1
Figure 6-14 : Example for Change Segment Direction
6-2-4 Idle Time Counter (ITCR)
ITCR(REG[90h]) is used to determine the idle time during the LP peer-to-peer time. It has following
meanings in function.
1. Adjusting the Frame Rate.(By extending the scan time of each COM)
2. Avoiding the generation of “Flicker”.
The “Flicker” is generated by the violation of LCD scan cycle and Memory write cycle. “Flicker”
means the noise of the scan data at such violation. By setting the ITCR, user can write the display
memory only at “Idle” time to eliminate the “Flicker”.
XCLK
LP
ITCR
COM_SCAN
T_COM
Figure 6-15 : Idle Time Period
RA8806 scan time of each COM line can be calculated by the formulas.
RAiO TECHNOLOGY INC.
38/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
COM_PRD = ((SEG_NO/LD_WIDTH) x (1 + EXT_MD)) + ITCR ) x XCK_PRD
In which the EXT_MD means extension mode is set or not, if REG[12h] Bit[6:4] = 110b/111b,
EXT_MD = 1, or EXT_MD = 0. The “XCK_PRD” is one clock period of XCK. The XCK frequency is
base on the system clock. It depends on the setting of Bit[3:2] of REG[MISC]. As to the Frame time
and frame rate calculation. It would be:
FRM_PRD = COM_PRD x COM#
And
FRM_Rate = 1 / FRM_PRD
For example, when panel size is set to 320x240, system clock frequency is 8MHz, REG[MISC]
Bit[3:2] = 10b, LCD driver data bus width is 4-bits, what the frame rate would be?
The System Clock(CLK) is 8MHz, and REG[MISC] Bit[3:2] = 10b Æ XCK = CLK/2, so the XCK_PRD
is 250ns.
XCK_PRD = 1 / (CLK/2) = 1/4MHz = 250ns
COM_PRD = ( 320 / 4 + ITCR) x XCK_PRD = (80+ ITCR) x 250(ns)
If the ITCR = A0h(160 in decimal):
COM_PRD = (80+160) x 250ns = 240 x 250ns = 60µs
The COM number is 240, so the frame period is:
FRM_PRD = 60µs x 240 = 14.4 ms
And the frame rate is:
Frame Rate = 1 / 14.4 ms = 69.4 Hz
We can see the effect that the ITCR setting to the corresponding frame rate. So we can use it to
adjust the frame rate. Please refer to Appendix B - the Table B-1 ~ Table B-3. In those tables, we
show some Frame Rate setting for difference resolution, system clock. But note the display quality is
also depends on the module design and the material of liquid crystal.
Table 6-8
Reg.
Bit_Num
ITCR
Bit [7:0]
Define the idle time during the LP peer-topeer time.
REG[90h]
MISC
Bit [3:2]
Select the clock frequency of XCK.
REG[01h]
RAiO TECHNOLOGY INC.
Description
39/184
Reference
www.raio.com.tw
RA8806
Preliminary Version 1.2
6-3
Two Layers Character/Graphic LCD Controller
Display Data RAM (DDRAM)
The RA8806 embedded two 9.6Kbyte Display Data RAMs – DDRAM1 and DDRAM2. It can use for two
layers mono-display or one layer 4-gray-levels display. The maximum resolution of supporting LCD
panel is 320Column x 240Row. There are two modes to write the DDRAM, text mode and graphics
mode. It provides a flexible and easy way to make the display.
6-3-1 Display Layer and Display Mode Selection
There are 4 possible displays way at 2 Modes combination.
1. Only show DDRAM1 or DDRAM2: One DDRAM data will show on the screen, and another one
DDRAM can be standby or as a CGRAM to created special font or symbol by users. Please refer
to Section 6-11 “User Defined Font” for detail description.
2. Two Layer Mode: In this mode, the screen will show the combination data of DDRAM1 and
DDRAM2. There are 4 types combination that set by REG[12H] Bit[3:2].
DDRAM1 “OR” DDRAM2
DDRAM1 “XOR” DDRAM2
DDRAM1 “NOR” DDRAM2
DDRAM1 “AND” DDRAM2
For detail please refer to Section 6-10-1-5 “Two Layer Display”.
3. 4-Gray-level Mode: In gray mode, each pixel consists with 2 continuous bits in both DDRAM.
4. Extension Mode: Two extension modes is support, and both DDRAM1 and DDRAM2 data will
show on the screen.
Horizontal extension mode (Max. resolution is 640 x 240 pixels).
Vertical extension mode (Max. resolution is 320 x 480 pixels).
6-3-2 Access Memory Selection
There are one 512Byte CGRAM and two 9.6KByte DDRAMs in RA8806. The 512Byte CGRAM is
used to generate user-define font, and the two DDRAM are used to store the display data. One of
both DDRAM can be also store special font or symbol, that when only one DDRAM is active on the
screen. Which RAM is available for MPU access is depending on the REG[12h] Bit[1:0]. Please
refer to Section 5-2 “Register Description”.
Table 6-9
Reg.
MAMR
Bit_Num
Description
Bit [6:4]
Display Layer and Display Mode Selection
Bit [3:2]
Two Layer Mode Selection
Bit [1:0]
MPU Read/Write Memory Selection
RAiO TECHNOLOGY INC.
40/184
Reference
REG[12h]
www.raio.com.tw
RA8806
Preliminary Version 1.2
6-4
Two Layers Character/Graphic LCD Controller
Touch Panel
RA8806 built in a 10-bit ADC and control circuits to connect with 4-wires resistance type touch panel.
Resistive Touch Panel is composed of two layer extremely thin resistive panel, such as Figure 6-16.
There is a small gap between these two-layer panels. When external force press a certain point, the
two-layer resistive panels will be touched, which is short. Because the end points of two-layer have
electrodes (XL, XR, YU, YD), such as Figure 6-17, a comparative location will be detected with some
switches in coordination.
YU
Y Plate
X Plate
Electrode
XL
XR
YD
Figure 6-16:Touch Panel
VDD
SW2
YU
Resistor -Y
XR
XL
VDD
SW0
SW1
Resistor -X
YD
SW3
GND
Figure 6-17 : Control Switch of Touch Panel
Users only need to connect the touch panel signals -- XL, XR, YU, and YD to RA8806. It will
continuously monitor the panel and wait for touch event. When the event is occurred, a divided voltage
on panel caused by touch is sensed and transferred by ADC to determine the location. After the value of
X-axis and Y-axis are transferred and stored in corresponding registers respectively, the touch panel
controller will issue an interrupt to inform MPU to process it.
RAiO TECHNOLOGY INC.
41/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
VDD
RA8806
Touch Panel
39Kohm
X1
XL
X2
XR
Y1
YU
Y2
YD
0.01μF x 4
Figure 6-18 : RA8806 Touch Panel Circuit
RA8806 provides 2 modes (Auto and Manual) for touch panel application.
Table 6-10
Operation
mode
Event
detection
Auto
Interrupt
Interrupt
Manual
Polling
RAiO TECHNOLOGY INC.
Description
When touch event happens, Read the corresponding X, Y
coordination.
When touch event happens, Read the corresponding X, Y
coordination.
Polling the touch event, and read the corresponding X, Y
coordination.
42/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-4-1 Auto Mode
Auto mode is the easiest way to implement touch panel application. Please refer to the flow chart
below.
(1) Flowchart:
Start
Enable Touch Panel
ISR
( REG[C0h] B7 = 1 )
Set Auto Mode
Check INT Status
( REG[C4h] B7 = 0 )
0
( REG[0Fh] B0 = ? )
1
Enable TP INT Mask
( REG[0Fh] B4 = 1 )
Read X, Y-axis
( Read REG[C1h],
Ext. INT Event
REG[C2h], REG[C3h] )
Execute Function
Other Functions
Clear TP INT Status
( REG[0Fh] B0 = 0 )
ISR Termination
Figure 6-19 : Auto Mode Flowchart for Touch Screen
Table 6-11 lists the used registers.
Table 6-11
Reg.
Bit_Num
TPCR1
TPCR2
INTR
Description
Reference
Bit 7
EnableTouch Panel function
REG[C0h]
Bit 7
“Auto-Mode” or “Manual Mode” selection bit
REG[C4h]
Bit 4
Touch Panel Hardware Interrupt enable bit
Bit 0
Touch event status bit
REG[0Fh]
TPXR
Bit [7:0]
Touch Panel SEG data MSB byte
REG[C1h]
TPYR
Bit [7:0]
Touch Panel COM data MSB byte
REG[C2h]
Bit [3:2]
Touch panel COM data LSB 2bit
Bit [1:0]
Touch panel SEG data LSB 2bit
TPZR
RAiO TECHNOLOGY INC.
43/184
REG[C3h]
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
(2) Program Example:
Unsigned char X1,X2,Y1,Y2;
Touch_Panel_Enable ( );
TP_Auto_Enable ( );
TP_INT_Mask_Enable ( );
:
:
Execute other function
:
:
// Set TPCR1 Bit 7 to 1
// Set TPCR2 Bit 7 to 0
// Set INTR Bit-4 to 1
// Jump to ISR when interrupt
Int EXT_INT_Service_Routine
{
LCD_CmdWrite ( INTR );
INT_Sta = LCD_DataRead ( );
// ISR entry
// Check INT status
If ( INT_Sta & 0x01 )
// Check If TP interrupt
{
LCD_CmdWrite(TPXR);
X1 = LCD_DataRead( );
// MSB of X
LCD_CmdWrite(TPYR);
Y1 = LCD_DataRead( );
// MSB of Y
LCD_CmdWrite(TPZR);
X2 = LCD_DataRead( ) & 0x03; // LSB two Bits of X
LCD_CmdWrite(TPZR);
Y2 = LCD_DataRead( ) & 0x0C; // Least two Bits of Y
:
:
Execute corresponding function
:
:
LCD_CmdWrite ( INTR );
// Clear Touch Panel status
temp = LCD_DataRead ( ) & 0xfe;
LCD_CmdWrite ( INTR );
LCD_DataWrite ( temp );
}
Else if (INT_Sta & 0x02)
// Check if Key-Scan interrupt
{
:
:
}
Else if (INT_Sta & 0x04)
// Check if Wakeup interrupt
{
:
:
}
}
RAiO TECHNOLOGY INC.
44/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-4-2 Manual Mode
The “ Manual Mode” means that the operation process from “Touch event checking function” to
“input Latch X data Y data”, the whole operation and setting process ( includes TPCR2[1:0]) and
receiving data from XY coordinates are manual operated by programmer. The advantage of using
Manual Mode is it allows programmer more flexible applications. In the condition that is over the
range of RA8806 register setting, the user can still use the software method to control the TP
function in a correct way.
Touch Event can be detected from “Interrupt Mode” or “Polling Mode” that depend on the system
configuration. The difference between the “Interrupt Mode” and “Polling Mode” are explained as
following.
6-4-2-1
External Interrupt Mode
Under the “Interrupt Mode” the touch event detecting way is almost the same as “ Auto Mode”. The
major processes are list as follows:
1. Enable Touch Panel function.
2. Change mode to “Manual mode”.
3. Set the switch to 「Wait for touch event 」, Set TPCR2[1:0] to 01b.
4. When interrupt asserts, check if TP interrupt.
5. If yes, change the switch to 「Latch X data」, Set TPCR2[1:0] to 10b, wait for enough time
to make the latch data stable and latched to TPXR and TPZR.
6. Change the switch to「Latch Y data」, Set TPCR2[1:0] to 11b, wait for enough time to
make the latch data stable and latched to TPYR and TPZR.
7. Read X, Y data from TPXR, TPYR and TPZR, and clear the interrupt status.
The registers for Interrupt Mode are explained as below:
Table 6-12
Reg.
Bit_Num
TPCR1
Bit 7
Enable Touch Panel function
Bit 7
TP Manual mode enable
TPCR2
INTR
Bit [1:0]
Description
Mode selection for TP manual mode
Bit 4
Touch Panel Interrupt Mask
Bit 0
Touch Panel Detect Status bit
Reference
REG[C0h]
REG[C4h]
REG[0Fh]
TPXR
Bit [7:0]
Touch Panel X Data Bit[9:2](Segment)
REG[C1h]
TPYR
Bit [7:0]
Touch Panel Y Data Bit[9:2](Common)
REG[C2h]
Bit [3:2]
Touch Panel Y Data Bit[1:0] (Common)
Bit [1:0]
Touch Panel X Data Bit[1:0] (Segment)
TPZR
RAiO TECHNOLOGY INC.
45/184
REG[C3h]
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Please refer to the following flow chart and the setting examples for applying Interrupt Mode:
(1) Flowchart:
Start
ISR
Enable Touch Panel
( REG[C0h] B7 = 1 )
Check INT Status
Set Manual Mode
0
( REG[0Fh] B0 = ? )
( REG[C4h] B7 = 1 )
1
Enable TP INT Mask
Latch X Data
( REG[0Fh] B4 = 1 )
( REG[C4h][1:0] = 10 )
Latch Y Data
Wait for TP event Mode
( REG[C4h][1:0] = 11 )
( REG[C4h][1:0] = 01 )
Read X, Y-axis
Ext. INT Event
( Read REG[C1h],
REG[C2h], REG[C3h] )
Execute Function
Other Functions
Clear TP INT Status
( REG[0Fh] B0 = 0 )
ISR Termination
Figure 6-20 : Manual Mode Flowchart for Touch Screen
RAiO TECHNOLOGY INC.
46/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
(2) Program Example:
Unsigned char X1,X2,Y1,Y2;
Touch_Panel_Enable ( );
TP_Manual_Enable ( );
TP_INT_Mask_Enable ( );
Switch_Wait_TP_Event( );
:
:
Execute other function
:
:
Int EXT_INT_Service_Routine
{
LCD_CmdWrite ( INTR );
INT_Sta = LCD_DataRead ( );
// Set TPCR1 Bit-7 to 1
// Set TPCR2 Bit 7 to 1
// Set INTR Bit-4 to 1
// Set TPCR2[1:0] to 01b
// Jump to ISR when interrupt
// ISR entry
// Check INT status
If ( INT_Sta & 0x01)
// Check If TP interrupt
{
Switch_Latch_X_data( );
// Set TPCR2[1:0] to 10b
Delay_Time( );
// Delay enough time for X data stable
Switch_Latch_Y_data( );
// Set TPCR2[1:0] to 11b
Delay_Time( );
// Delay enough time for Y data stable
LCD_CmdWrite(TPXR);
X1 = LCD_DataRead( );
// MSB of X
LCD_CmdWrite(TPYR);
Y1 = LCD_DataRead( );
// MSB of Y
LCD_CmdWrite(TPZR);
X2 = LCD_DataRead( ) & 0x03; // LSB two Bits of X
LCD_CmdWrite(TPZR);
Y2 = LCD_DataRead( ) & 0x0C; // LSB two Bits of Y
:
:
Execute corresponding function
:
:
LCD_CmdWrite ( INTR );
// Clear Touch Panel status
temp = LCD_DataRead ( ) & 0xfe;
LCD_CmdWrite ( INTR );
LCD_DataWrite ( temp );
}
Else if (INT_Sta & 0x02)
// Check if Key-Scan interrupt
{
:
:
}
Else if (INT_Sta & 0x04)
// Check if Wakeup interrupt
{
:
:
}
}
RAiO TECHNOLOGY INC.
47/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
6-4-2-2
Two Layers Character/Graphic LCD Controller
Polling Mode
Under the ”Polling Mode”, users need to decide and set the de-bounce time after the touch event, as
well as the sampling time after latch by considering the real situation, thus more flexibilities for users
apply this mode.
The development procedures are explained as follows:
1. Enable Touch Panel function
2. Change mode to “Manual mode”
3. Set the switch to「Wait for Touch event」, i.e., set TPCR2[1:0] to 01b.
4. Read Touch Panel Event status from status register, check if the “Touch event” happens.
5. When touch event happens, confirm the stability of it and set the switch to 「Latch X data」,
i.e., TPCR2[1:0] set to 10b, wait for enough time to make the latch data stable and latched
to TPXR and TPZR
6. Set the switch to「Latch Y data」, i.e., TPCR2[1:0] set to 11b, wait for enough time to make
the latch data stable and latched to TPYR and TPZR
7. Read X, Y data from TPXR, TPYR and TPZR, and clear the interrupt status
The settings for manual interrupt mode are described in the following table:
Table 6-13
Reg.
Bit_Num
TPCR1
Bit 7
Bit 7
TPCR2
Bit [1:0]
Bit 3
INTR
Bit 0
Description
Enable Touch Panel function
Select operation mode to Auto-mode or
Manual-mode.
The switch of ADC controller for manual mode
Touch panel event(Only activate in TP Manual
mode)
Touch Panel Detect Status bit
Reference
REG[C0h]
REG[C4h]
REG[0Fh]
TPXR
Bit [7:0]
Touch Panel X Data Bit[9:2](Segment)
REG[C1h]
TPYR
Bit [7:0]
Touch Panel Y Data Bit[9:2] (Common)
REG[C2h]
TPZR
Bit [3:2]
Bit [1:0]
Touch Panel Y Data Bit[1:0] (Common)
Touch Panel X Data Bit[1:0] (Segment)
REG[C3h]
Programmer can check the status of Touch Panel Event from the Bit-3 or Bit-0 of INTR, the
difference between those two bits is :
1. The Bit-3 of INTR reflects the current Touch status. When Touch event occurs, the Bit-3 is 1.
When there is no Touch event, Bit-3 will be 0 and read only.
2. The Bit-0 of INTR records the Touch status. When a Touch event occurs, the Bit-3 will be 1
and however it won’t be clear automatically, it has to clear by programmer.
It needs to be noted is that the REG[0Fh] Bit-3 is the direct output from ADC circuit, when touch
panel is touched, the bit will respond with the event. When touch event is not stable, it needs to be
de-bounced to check if it’s legal. The bit is only active at “Manual mode”. When setting RA8806 to
“Auto-mode, the touch event will be automatically checked if it’s legal or not. Only the legal touch
event will cause the interrupt.
RAiO TECHNOLOGY INC.
48/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Please refer to the flowchart and setting examples for applying above methods:
(1) Flowchart:
Start
Enable Touch Panel
Latch X Data
( REG[C0h] B7 = 1 )
( REG[C4h][1:0] = 10 )
Set Auto Mode
Delay enough time
( REG[C4h] B7 = 1 )
Latch Y Data
Wait for TP event Mode
( REG[C4h][1:0] = 11 )
( REG[C4h][1:0] = 01 )
Delay enough time
Check TP Event
0
Read X, Y-axis
( REG[0Fh] B3 = ? )
( Read REG[C1h],
1
REG[C2h], REG[C3h] )
Check TP Event
valid
Execute Function
100 times ?
invalid
Clear TP INT Status
( REG[0Fh] B0 = 0 )
Other Function
Figure 6-21 : Polling Mode Flowchart for Touch Screen
RAiO TECHNOLOGY INC.
49/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
(2) Program Example:
Touch_Panel_Enable ( );
TP_Manual_Enable ( );
Switch_Wait_TP_Event( );
// Set REG[C0h]. Bit-7 = 1
// Set REG[C4h]. Bit-7 = 1
// Set REG[C4h][1:0] = 01
Touch_Sta_Valid = 0;
LCD_CmdWrite ( INTR );
INT_Sta = LCD_DataRead ( );
// Initial Touch state
If ( INT_Sta & 0x08 )
// Check INTR.Bit-3
{
for ( count = 0 ; count < 100 ; count++ )
// Check 100 times
{
LCD_CmdWrite ( INTR );
INT_Sta = LCD_DataRead( );
if (INT_Sta == 0)
// When no touch
{
Touch_Sta_Valid = 0;
// Touch is invalid
break;
}
if ( count == 99 )
// When count 100 times, touch is valid
Touch_Sta_Valid = 1;
}
if (Touch_Sta_Valid )
{
Switch_Latch_X_data( );
// Set REG[C4h][1:0] = 10
Delay_Time( );
// Delay enough time
Switch_Latch_Y_data( );
// Set REG[C4h][1:0] = 11
Delay_Time( );
// Delay enough time
LCD_CmdWrite(TPXR);
X1 = LCD_DataRead( );
// Read high byte of X-axis
LCD_CmdWrite(TPYR);
Y1 = LCD_DataRead( );
// Read high byte of Y-axis
LCD_CmdWrite(TPZR);
X2 = LCD_DataRead( ) & 0x03; // Read Least two Bits of X-axis
LCD_CmdWrite(TPZR);
Y2 = LCD_DataRead( ) & 0x0C; // Read Least two Bits of Y-axis
:
Execute corresponding function
:
LCD_CmdWrite ( INTR );
// Clear REG[0Fh]. Bit-0
temp = LCD_DataRead ( ) & 0xfe;
LCD_CmdWrite ( INTR );
LCD_DataWrite ( temp );
}
}
:
Execute other function
:
:
RAiO TECHNOLOGY INC.
50/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-4-3 Touch Panel Sampling Time Reference Table
When using the auto mode of touch panel function, It is suggested to select suitable TP Sampling
wait time while the ADC Clock Convert speed change, in order to avoid the TP Sample wait time
error. Please refer to the following table for the ADC Sampling wait time REG[C0h][6:4]。
Figure 6-21-A : Touch Panel Sampling Time Reference Table
ADC Sampling Wait Time - REG[C0h] Bit[6:4]
SYSTEM_CLK
4M
6M
8M
10M
12M
000
000
000
000
000
000
001
000
000
000
000
000
010
000
000
000
000
000
011
001
001
000
000
000
100
010
010
001
001
001
101
011
011
010
010
010
110
100
100
011
011
011
111
101
101
100
100
100
REG[C0h] [2:0]
RAiO TECHNOLOGY INC.
51/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
6-5
Two Layers Character/Graphic LCD Controller
Key-Scan
RA8806 features with Key-Scan circuit, and could be used as Keyboard function. It will help to integrate
the system circuit that includes keyboard application. The below Figure 6-22 shows the basic application
circuit of 8x8 Key-Pad. RA8806 already built-in pull-up resistors in the pins “KIN[7:0]”.
RA8806
KIN0
KIN1
KIN2
KIN3
KIN4
KIN5
KIN6
KIN7
KOUT0
KOUT1
KOUT2
KOUT3
KOUT4
KOUT5
KOUT6
KOUT7
Figure 6-22 : 8x8 Key-Pad Application
The related Registers of Key-san function are KSCR, KSDR, and KSER. The RA8806 Key-Scan
controller features are given below:
1. Support with 4x8 or 8x8 Key-Scan Matrix
2. Programmable setting of sampling times and scan frequency of Key-Scan
3. Adjustable long key-press Timing
4. Multi-Key is available ( maximum three keys at the same time)
5. Allows the function of “ Key press to wake-up the system”
Table 6-14 is the key code of mapping to key-pad matrix for normal press. The key code will be stored in
REG[A2h] when key was pressed. If it was a long time press, then the key code is show as Table 6-15.
Table 6-14 : Key Number Mapping Table (Normal Key)
ROW #
0
COL #
RAiO TECHNOLOGY INC.
1
2
3
4
5
6
7
0
00h 01h 02h 03h 04h 05h 06h 07h
1
10h 11h 12h 13h 14h 15h 16h 17h
2
20h 21h 22h 23h 24h 25h 26h 27h
3
30h 31h 32h 33h 34h 35h 36h 37h
4
40h 41h 42h 43h 44h 45h 46h 47h
5
50h 51h 52h 53h 54h 55h 56h 57h
6
60h 61h 62h 63h 64h 65h 66h 67h
7
70h 71h 72h 73h 74h 75h 76h 77h
52/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Table 6-15 : Key Number Mapping Table (Long Key)
ROW #
0
COL #
1
2
3
4
5
6
7
0
80h 81h 82h 83h 84h 85h 86h 87h
1
90h 91h 92h 93h 94h 95h 96h 97h
2
A0h A1h A2h A3h A4h A5h A6h A7h
3
B0h B1h B2h B3h B4h B5h B6h B7h
4
C0h C1h C2h C3h C4h C5h C6h C7h
5
D0h D1h D2h D3h D4h D5h D6h D7h
6
E0h E1h E2h E3h E4h E5h E6h E7h
7
F0h F1h F2h F3h F4h F5h F6h F7h
When the Multi-Key function is applied, the pressed keys will be saved in the system each with KSDR0,
KSDR1 and KSDR2. Note that the priority of keys saving is determined on the value size of Key-code,
not the orders of keys pressing, please refer to the following example:
Press the Key-code in turn of 0x44, 0x00 and 0x22, press Multi-Key at the same time, the Key-code will
be saved in KSDR:
KSDR0 = 0x00
KSDR1 = 0x22
KSDR2 = 0x44
The definition of Key-code is described in the registers KSDR0 ~ 2 [A2h ~ A4h]. The basic features of
above Key-Scan settings are introduced as follows:
Table 6-16
Reg.
KSCR1
Bit_Num
Bit 7
Key-Scan enable bit
Bit 6
Key-Scan size selection
Bit [5:4]
Bit 3
KSCR2
Description
Key-Scan sampling times setting
Reference
REG[A0h]
Long key function enable
Bit [2:0]
Key-Scan scan frequency setting
Bit [3:2]
long key timing adjustment
Bit [1:0]
Pressed key number
Bit [7:0]
Key code for pressed key
Bit 5
Key-Scan interrupt enable
Bit 1
Key-Scan Interrupt Status bit
REG[A1h]
KSDR0
KSDR1
REG[A2h ~ A4h]
KSDR2
INTR
RAiO TECHNOLOGY INC.
53/184
REG[0Fh]
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Besides, in the Sleep Mode, RA8806 allows the “Wake-up on Keystroke” function, if any key is pressed,
the System Clock starts to oscillate, and de-bounce to check if the wake-up event is legal. If legal then
after two Frame time, the Display on the panel will be lighted, then system will recover from the Sleep
Mode. If not legal, the system clock is off again and keeps on the Sleep mode. Please refer to the
description of “Power Mode” for the detail introduction of “Sleep Mode”. The settings for Wake-up
function are explained as follows:
Table 6-17
Reg.
Bit_Num
KSCR2
Bit 7
Enable Key-Scan wake-up function
Bit 6
Wake-up interrupt enable bit
Bit 2
Wake-up Interrupt Status bit
INTR
Description
Reference
REG[A1h]
REG[0Fh]
Enabling the Key-Scan functions, programmer cans uses following methods to check keystroke.
1) Software check method: to know the key be pressed from keeping check the status of Key-Scan
(Bit-1 of INTR)
2) Hardware check method: to know the key be pressed from external interrupt signal
Please be aware that the status of Key-Scan (Bit-1 of INTR) has been set to “1” no matter which method
is used, programmer have to clear the status to 0 after reading the correct Key Code, otherwise the
interrupt will be kept that no more interrupt is visible again.
RAiO TECHNOLOGY INC.
54/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
The flowchart and sample settings for above applications are shown as follows:
1. Software Method:
(1) Flowchart:
Start
Enable Key Scan( KS )
( REG[A0h] B7 = 1 )
0
Check KS Status
( REG[0Fh] B1 = ? )
1
Read Key Code
( Read REG[A2h],
REG[A3h], REG[A4h] )
Execute Function
Clear KS Status
( REG[0Fh] B1 = 0 )
End
Figure 6-23 : Key-Scan Flowchart (1)
RAiO TECHNOLOGY INC.
55/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
(2) Program Example:
Key-Scan_Enable ( );
// KSCR Bit-7 is set to 1
while (1)
{
LCD_CmdWrite ( INTR );
// Check Key-Scan status
KS_Sta = LCD_DataRead ( );
KS_Sta = KS_Sta & 0x02;
If ( KS_Sta )
{
LCD_CmdWrite ( KSDR0 );
// Read first Key Code
KeyCode1 = LCD_DataRead ( );
Switch ( KeyCode1 )
{
case 0 :
:
:
break;
case 1 :
:
:
}
// Execute corresponding action
LCD_CmdWrite ( INTR );
temp = LCD_DataRead ( );
temp = temp & 0xfd;
LCD_CmdWrite ( INTR );
LCD_DataWrite ( temp );
// Clear Key-Scan status
}
}
RAiO TECHNOLOGY INC.
56/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
2. Hardware Method:
(1) Flowchart:
Start
Enable Key Scan ( KS )
ISR
( REG[A0h] B7 = 1 )
Enable KS INT Mask
( REG[0Fh] B5 = 1 )
Check KS Status
0
( REG[0Fh] B1 = ? )
Ext. INT Event
1
Read Key Code
Other INT Function
( Read REG[A2h],
Other Functions
REG[A3h], REG[A4h] )
Execute Function
Clear KS Status
( REG[0Fh] B0 = 0 )
ISR Termination
Figure 6-24 : Key-Scan Flowchart (2)
RAiO TECHNOLOGY INC.
57/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
(2) Program Example:
Key-Scan_Enable ( );
Key-Scan_INT_Mask_Enable ( );
:
:
Execute other functions
:
:
// Set Reg. KSCR1 Bit-7=1
// Set Reg. INTR Bit-5=1
Int EXT_INT_Service_Routine
{
LCD_CmdWrite ( INTR );
INT_Sta = LCD_DataRead ( );
// ISR entry
If ( INT_Sta & 0x02 )
{
LCD_CmdWrite ( KSDR0 );
KeyCode1 = LCD_DataRead ( );
Switch ( KeyCode1 )
{
case 0 :
:
:
break;
case 1 :
:
:
}
LCD_CmdWrite ( INTR );
temp = LCD_DataRead ( );
temp = temp & 0xfd;
LCD_CmdWrite ( INTR );
LCD_DataWrite ( temp );
}
else if (INT_Sta & 0x01)
{
:
:
}
else if (INT_Sta & 0x04)
{
:
:
}
// Jump to ISR when external interrupt
// Check INT status
// Check if Key-Scan interrupt
// Read Key Code
// Execute keystroke function
// Clear Key-Scan status
// Check if Touch Panel interrupt
// Check if Wakeup interrupt
}
RAiO TECHNOLOGY INC.
58/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
6-6
Two Layers Character/Graphic LCD Controller
Clock and Reset
RA8806 supports internal or external clock source without extra select pin.
6-6-1 OSC Circuit
RA8806 contains a built-in OSC circuits. It generates corresponding clock by connecting an external
4M ~ 12MHz crystal between XG and XD pins. Figure 6-25 is the clock circuit for X’tal oscillator and
external clock.
RA8806
RA8806
XG
XG
CLK
15pF
(4~12MHz)
X’tal
XD
XD
15pF (4~12MHz)
Figure 6-25: Clock Circuit
6-6-2 External Clock
RA8806 can also accept external clock for system clock source. The external clock source can
directly connect to XG pin, and XD pin must be kept floating.
tRCL
tFCL
tWH
EXT¢0
tWL
tC
Figure 6-26 : External Clock
Table 6-18 : Clock Timing
Signal
EXT Φ0
Symbol
tRCL
External clock rise time
tFCL
External clock fall time
External clock
HIGH-level pulse width
External clock
LOW-level pulse width
External clock period
tWH
tWL
tC
VDD = 5V
Min.
Max.
—
10
Parameter
—
10
Ta = –20 to 75℃
VDD = 3.3V
Min.
Max.
—
10
—
10
Unit
ns
ns
Note 1. Note 2. Note 1. Note 2.
ns
Note 1. Note 2. Note 1. Note 2.
ns
66.6
—
83.3
—
Condition
ns
Notes:
475
< t WH , t WL
1000
525
− t FCL ) ×
> t WH , t WL
1000
1. ( t C − t RCL − t FCL ) ×
2. ( t C − t RCL
RAiO TECHNOLOGY INC.
59/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-6-3 Reset
The RA8806 requires a reset pulse at least 1024*tc long after power-on in order to re-initialize its
internal state. If the oscillator frequency is 6Mhz, then the Reset pulse is at least 170.7µs. For
maximum reliability, it is not recommended to apply a DC voltage to the LCD panel while the
RA8806 is reset. Turn off the LCD power supplies for at least one frame period after the start of the
reset pulse.
RA8806
RA8806
VDD
100KΩ
From MCU
ZRST
ZRST
1uF
0.1uF
SW
(Option)
(1)
(2)
Figure 6-27: Examples of ZRST Pin
Figure 6-27 is an example for ZRST application circuit. It could be controlled by MPU such as (1) of
Figure 6-27. Or, generated by a RC circuit such as (2) of Figure 6-27.
The RA8806 cannot receive commands while it is reset. Commands to initialize the internal registers
should be issued soon after a reset. During reset, the LCD drive signals XD, LP and FR are halted.
A delay of 1ms (minimum) is required following the rising edges of both ZRST and VDD to allow for
system stabilization. Please refer to Figure 6-28 for more detail description.
t RS
t RH
0.8VDD
VDD
Reset Complete
ZRST
t RST
0.8VDD
0.2VDD
Max.
Typ.
Min.
Unit
tRS
Reset setup time
--
--
1
ms
tRH
Reset hold time
--
--
1
ms
tRST
Reset active time
--
--
1024
t c (*)
*t C is the period of system clock,
for example: 10MHz, t C = 100ns
Figure 6-28: Reset Timing
RAiO TECHNOLOGY INC.
60/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
6-7
Two Layers Character/Graphic LCD Controller
Power
6-7-1 Power Architecture
The power architecture of RA8806 is shown as Figure 6-29. VDDP, GNDP are I/O powers and
AVDD, AGND are analog powers for internal ADC. There is an embedded 5V-to-3V DC/DC
Converter which is without any external controlled pin. The application circuits of 5V and 3V system
will be described below.
RA8806
VDDP
Core
VDD
VDDH
5V Æ 3V
AVDD
ADC
GNDP
GND
AGND
Figure 6-29 : Power Architecture
6-7-2 3V Application Circuit
When RA8806 operates in 3V system, the power consumption will be smaller. The Figure 6-30 is
the example for 3V system. Users need to connect 3V power to VDDP, VDD and AVDD respectively.
The DC/DC Converter is not used, so VDDH needs to be kept floating.
MCU
3.3V
RA8806
3.3V
VDDP
VDD
VDD
0.47uH
VDDH
(Option)
AVDD
0.47uH
GNDP
(Option)
10u
0.1u 0.1u
GND
0.1u
AGND
GND
I/O
MCU I/F
Figure 6-30: The Power Connection of 3V
RAiO TECHNOLOGY INC.
61/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-7-3 5V Application Circuit
When RA8806 operates in 5V system, 5V power inputs from VDDH and 3V power will output at
VDD that is the power to supply internal core. Users need to add 1µF and 0.1µF capacitors in
parallel at VDD to increase power stability.
Please note that DC-to-DC converter will increase some power consumption. So, if the RA8806
enter Sleep mode then it will keep around 20µA static current.
MCU
5V
RA8806
5V
VDDP
VDD
~3V
VDD
VDDH
0.47uH
AVDD
GNDP
(Option)
10u 0.1u
1u 0.1u
GND
0.1u
AGND
GND
I/O
MCU I/F
Figure 6-31 : The Power Connection of 5V
RAiO TECHNOLOGY INC.
62/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-7-4 Sleep Mode
The RA8806 provide two operation modes: Normal mode and Sleep mode. Please refer to Chapter
5 “Register Description” for Register WLCR explanation. RA8806 will shut down the system clock, to
achieve the minimum power consumption. When RA8806 is under the Sleep mode, only the status
register can be read, other registers are not allowed to read. Other command besides REG[00h] Bit7(Sleep mode) can’t be written. When RA8806 is under Sleep Mode, it can accept the following
three methods to wake-up.
1. Write REG[00h] Bit-7 = 0, then it will return to Normal Mode.
2. Touch event is detected.
3. Key-Scan is detected.
When RA8806 quit from Sleep mode, to avoid the incorrect activity, RA8806 must de-bounce the
wake-up event for enough time(about 1,000 system clock periods) to make sure it, then quit from
Sleep mode.
Besides, when MPU program RA8806 to enter Sleep mode, RA8806 can’t receive command from
MPU anymore till quit the Sleep mode. The command will be lost. User program must avoid the
possibility of the condition. For example, if RA8806 be programmed to Sleep mode, at the same
time, the MPU receives an external interrupt, and cause the MPU enter the Interrupt Service
Routine(ISR). That will cause RA8806 can’t correctly receive and recognize the command.
From the view of hardware design, the condition can’t be prevented. Because the external interrupt
is an individual mechanism of MPU. We can’t predicate the happen of it from the role of RA8806. It’s
a possible risk even the possibility is rare.
So it’s suggested that MPU must be mask the interrupt for RA8806 before commanding the RA8806
to enter the Sleep mode. The interrupt mask is off after RA8806 quit from Sleep mode. Besides,
because the status register can be read normally at Sleep mode. Also user can check the status in
the ISR for judgment. If RA8806 is checked under Sleep mode, MPU can quit ISR and execute
nothing to prevent incorrect activity.
Table 6-19
Reg.
Bit_Num
WLCR
Bit 7
RAiO TECHNOLOGY INC.
Description
Normal mode and Sleep mode
selection.
63/184
Reference
REG[00h]
www.raio.com.tw
RA8806
Preliminary Version 1.2
6-8
Two Layers Character/Graphic LCD Controller
Interrupt and Busy
The RA8806 provides an interrupt output (INT) for MPU to indicate the status of RA8806. And a busy
output to indicate the RA8806 is in busy state. Both signals could be set to active high or active low by
register.
6-8-1 Interrupt
RA8806 provides an Interrupt signal (INT) for following event:
‹
Touch Panel touched event is happen.
‹
Key-Scan enable and key is pressed
‹
Wake-up event occurs when Sleep mode.
These interrupt events can be masked or active respectively. It is controlled by the REG[0Fh], the
mask and status registers.
Besides, RA8806 also provide a software access interrupt function. When user system don’t support
hardware interrupt signal, they can use polling method to achieve the software interrupt.
To access hardware interrupt, user needs to set corresponding Interrupt Mask bit to 1(Refer to
register INTR). The steps are:
‹
RA8806 generate the interrupt signal to MPU.
‹
After finishing the current instruction, MPU hardware will jump the PC(Program counter)
to Interrupt Service Routine(ISR).
‹
In the same time that RA8806 generate the interrupt, the interrupt status is set
to ”1”(REG[0Fh] Bit[2:0]). (For example, if key-scan interrupt activates, the Key-Scan
status will be set to 1).
To apply the software interrupt method, users don’t need extra setting. Just reading the status bit of
register INTR to check the interrupt event. BTW, interrupt mask can only disable the hardware
interrupt, but can’t disable the status of INTR.
Example-1:
The Figure 6-32 is an example of INT timing for Wake-up event. RA8806 provides three wake-up
event. Please refer to Section 6-7-4 “Sleep Mode” for the detail.
t INTST
Wake-Up
Event
INT
Figure 6-32: Interrupt Timing(1)
RAiO TECHNOLOGY INC.
64/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
t INTST = Clock Stable Time + 1024*t C
If user use a 6MHz X’tal for system clock, the Clock Stable Time is about 3~3.5ms and t C is 167ns.
Example-2:
The Figure 6-33 is an example of INT timing for Key-Scan event.
t INTST
Key-Scan
Event
INT
Figure 6-33 : Interrupt Timing(2)
t INTST = De-bounce Time + t CKEY
The “De-bounce Time” is set by REG[A0h] Bit[5:4], and the tCKEY is the Key-Scan Cycle that
depends on the setting of REG[A0h] Bit[2:0].
Additionally, because the status bit will not be cleared to 0 automatically. So user must manually
clear it after processing the interrupt routine.
6-8-2 Busy
The RA8806 also provides a “BUSY” signal. When Busy Flag is “1”, which means RA8806 is in busy
state that RA8806 couldn’t access data from DDRAM. Two busy conditions are provided. One is
Scan Busy and another is Memory Write Busy. The detail explains is as follows.
Scan Busy:
When LCD panel displays, RA8806 scan circuit will access the DDRAM. If another DDRAM access
cycle happens. It will cause the data lose in one of them. So when scan circuit is active, it causes a
busy condition, called Scan Busy. Figure 6-34 shows the data flow diagram of scan circuit and MPU
memory access cycle. Figure 6-35 is same as Figure 6-15 to show RA8806 scan waveform. It
describes the condition that RA8806 scan the display for each COM line. The COM scan time is
combined with an Idle time and a Scan time. The Idle time period can be set by register ITCR. The
Scan period is the time of Scan Busy. Also accessing data at Scan Busy time will cause the scan
data lose. But it will not cause a fatal error. The scan data lose will cause the display defect. But if
it’s not too frequent, the defect will not infect the display too much.
RAiO TECHNOLOGY INC.
65/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
RA8806
Display
Data RAM
Memory-Write
LCD-Scan
Interface
Controller
MCU
LCD
Driver
Figure 6-34 : Data Flow of DDRAM
XCLK
LP
COM_SCAN
ITCR
T_COM
Figure 6-35 : Scan for Each COM Line
Memory Write Busy:
Following two conditions will cause the Memory write busy:
1. When MPU write data in text-mode. Depending on different size of font, it needs an enough
time to write the font to DDRAM. At the period, RA8806 can’t access the DDRAM again, it’s
a memory write busy condition.
2. When MPU program RA8806 as a memory clear function(FNCR Bit-3 = 1). The period of
clear DDRAM also cause a memory write busy.
It will cause the DDRAM lost when accessing DDRAM in the period of Memory Write Busy. So user
must check the busy status after the upper two conditions is done.
Besides, RA8806 provide polarity setting for “BUSY” and interrupt “INT” pin. (Please refer to register
MISC)
Normally, this “BUSY” pin is connected to MPU I/O input, and then MPU have to monitor this pin
before accessing RA8806. The following is the timing of BUSY pin. The BUSY can be active high or
low that depend on the setting of REG[01h] Bit-5.
RAiO TECHNOLOGY INC.
66/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
RS, ZCS1
t BST
ZWR
DATA[7:0]
(Write)
t BUSY
BUSY
Figure 6-36 : BUSY Timing Chart
Table 6-20 : Busy Timing
Signal
Symbol
t BST
Busy Setup Time
t BUSY
Busy Active Time
BUSY
RAiO TECHNOLOGY INC.
Rating
Parameter
Unit
Min
Max
Half Size Font
150
--
ns
Full Size Font
250
Half Size Font
--
50*t c
ns
Full Size Font
--
100*t c
ns
67/184
Condition
System Clock:
8MHz
VDD: 5V
t c = 125ns
www.raio.com.tw
RA8806
Preliminary Version 1.2
6-9
Two Layers Character/Graphic LCD Controller
PWM
RA8806 provide a set of programmable PWM (Pulse Width Modulation) for LCD contrast adjustment.
The PWM frequency and duty can be set by register. And the driving capability of PWM output pin is
larger than other output pin, about 4 multiples of normal output. Besides, if the PWM function is disable,
it can use as normal IO signal. The relative function setting please refers to the table below.
Table 6-21
Reg.
PCR
PDCR
Bit_Num
Bit 7
Description
PWM function enable
Bit [3:0]
Clock source divide ratio select
Bit [7:0]
PWM Duty Cycle Select
Reference
REG[D0h]
REG[D1h]
The following are two examples for the PWM output (pin “PWM_OUT”):
TPWM
TL
TH
Example-1:
System Clock = 10Mhz,
Register PCR Bit[3:0] = 0001b Æ Clock Source = 10MHz/2 = 5MHz
TPWM = 256*(1/5MHz) = 51.2µs
Register PDCR Bit[7:0] = 0Fh Æ
TH = 16*(1/5MHz) = 3.2µs
TL = (256-16) * (1/ 5MHz) = 48µs
TPWM
TH
TL
Example-2:
System Clock = 10Mhz,
Register PCR Bit[3:0] = 0010b Æ Clock Source = 10MHz/4 = 2.5MHz
TPWM = 256*(1/2.5MHz) = 102.4 µs
Register PDCR Bit[7:0] = 7Fh Æ
TH = 128*(1/2.5MHz) = 51.2µs
TL = (256-128) * (1/ 2.5MHz) = 51.2µs
Figure 6-37 : PWM_OUT Pulse
RAiO TECHNOLOGY INC.
68/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Figure 6-38 shows the reference circuit of PWM contrast application for positive VLCD voltage. Figure
6-39 shows the reference circuit for negative VLCD voltage.
Figure 6-38 : PWM Reference Circuit for Positive VLCD
Figure 6-39 : PWM Reference Circuit for Negative VLCD
RAiO TECHNOLOGY INC.
69/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-10 Display Function
6-10-1 Character/Graphic Mode
There are two modes for MPU to write data to RA8806, i.e., character mode and graphic mode. In
graphic mode, data is written directly to DDRAM in bit-map format. In character mode, data is
written in code format, the font bit-map in the CGROM will be written to DDRAM by this way.
RA8806 stores two different sizes of characters in its font ROM - 1) half size font(8x16 pixels), 2) full
size font(16x16). Figure 6-40 shows the examples.
16X16 font
8X16 font
Figure 6-40 : Full Size and Half Size Font
6-10-1-1 Graphic Display
The RA8806 graphics mode is use bit map to fill the data on the DDRAM. The Figure 6-41 is an
example to show how to set graphics mode.
1. Setup Register WLCR, TEXT_MD = 0
2. Write bit map to Display Data Memory directly.
Figure 6-41 : Graphics Mode
The RA8806 support maximum resolution is 320x240 pixels, therefore it need 9.6Kbyte(320x240/8 =
9600) Display Data RAM(DDRAM) to store each pixel data. Figure 6-42 is an example to show the
DDRAM data mapping to the LCD panel.
RAiO TECHNOLOGY INC.
70/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Segment
D7 D6 D5 D4 D3 D2 D1 D0 1 1
1 0
0 1
1
0
1
2
3
4
5
6
7
…..
0
Display Data RAM
Display On LCD
Figure 6-42 : The Mapping of Display Data to LCD Panel
The RA8806 provide an Auto-Write feature to fill a data to all of the DDRAM. At first, user writes the
data to Register PNTR then initials the Auto-Write function(Register FNCR Bit-3). RA8806 will fill the
data to DDRAM in very short time. Normally this feature is used to clear screen or want to fill fixed
pattern or background on screen.
Table 6-22
Reg.
Bit_Num
WLCR
Bit 3
Description
Text Mode Selection
Reference
REG[00h]
6-10-1-2 Half Size Font
RA8806 built in 4 half-size font blocks, each block contains 0h ~ FFh(256) characters, and could be
selected by register REG[F0h] Bit[1:0]. By setting the REG[F0h] Bit[1:0], the corresponding table is
selected. About the font table, please reference Appendix C. The RA8806 also supports ISO8859
standard (ISO - International Organization for Standardization). Which can fully supports most Latin
characters set. REG[F0h] Bit-7 is the option of RA8806 default coding or ISO8859 mode. In this
mode, RA8806 internal ASCII table1 ~ 4 is mapping to the coding of ISO8859-1 ~ ISO8859-4.
Table 6-23
Reg.
FNCR
RAiO TECHNOLOGY INC.
Bit_Num
Description
Bit 7
ISO8859 mode
Bit 2
ASCII Mode Enable
Bit [1:0]
ASCII Blocks Select
71/184
Reference
REG[F0h]
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-10-1-3 Full Size Font
There are three types of CGROM in RA8806, i.e. RA8806-S, RA8806-T and RA8806-J. RA8806-S
contains the Simplified Chinese characters with the coding of GB standard. RA8806-T contains the
Traditional Chinese characters with the coding of BIG5 standard. RA8806-J contains the JIS
Japanese Kanji Level 1 & 2 font characters. About the detail, please refer the Appendix D, Appendix
E, and Japanese Kanji font code table (RA8806_DS_V12_Font_JIS.pdf).
Table 6-24
Reg.
Bit_Num
WLCR
Bit 3
Description
Text Mode Selection
Reference
REG[00h]
The RA8806 displays the Chinese characters in text mode. Key in the Chinese code (GB or BIG5
code) directly , then it will display the Chinese characters in cursor position. If display Chinese ,
RA8806-S accepts the GB code, RA8806-T accepts the BIG-5 code. The Chinese character
occupies two Byes, hence the MPU should write the Chinese code (High Byte & Low Byte) separate
into RA8806 in case the MPU interface is 8-Bit. The English code or numeric code occupies only
one Byte, hence it will write the code into the RA8806 at a time. i.e. for RA8806-T, the BIG-5 code of
character ”世” is “A540”, MPU will send the “A5” and “40” in proper order to RA8806-T, then it will
display the Chinese character of ”世”.
If use the Japanese Kanji font version of RA8806, that is RA8806-J, it should transfer the JIS code
for a start , then the MPU send the code to RA8806-J. Firstly, add 80h to the Hi-Byte of JIS code,
then to judge the Low-Byte, if it is larger or equal to 60h, then adds 40h, otherwise adds 20h. Then it
will display the Japanese Kanji font if the new code sends to RA8806-J by MPU. i.e. the JIS code of
character ”粟” is “3040”, to transfer to the new code is “B060”, to send the “B0” and “60” in proper
order, then it will display the Japanese Kanji font of ”粟”.
The Font ROM of RA8806-J mainly refer to the coding of JIS code, if the user use Shift-JIS code
(called for short S-JIS), then it should be transfered by another procedure, firstly, transfer S-JIS
code to JIS code. It is in common use of S-JIS coding for Japanese computer system, because it
contains the full font and half font of Latin character, Hiragana, Katakana, notation and the
Japanese Kanji font. It is named by Shift_JIS, for put in full font, to avoid put in the 0xA1~0xDF of
the Half-width Katakana.
The Figure 6-43 is the flow chart for the S-JIS code transfers to JIS code and JIS code transfers to
RA8806-J, furthermore the attachment is the program for the user to refer. i.e. the S-JIS code of
character ”粟” is “88BE”, transfers to JIS code is “3040”, as the description above, JIS transfers new
code to “B060”, then send “B0” and “60” in proper order to RA8806-J, it will display the Japanese
Kanji font of ”粟”. i.e. the character ” 甌” of J-JIS code is “E14D”, transfers to JIS code is “612E”, as
the mention above, the JIS transfer new code to “E14E”, then send “E1” and “4E” in proper order to
RA8806-J, in the meantime display the Japanese Kanji font of ” 甌”.
RAiO TECHNOLOGY INC.
72/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
SJIS-Low Byte
SJIS-High Byte
81h ~ 9Fh
-81h
E0h ~ FFh
40h ~ 7Eh
80h ~ 9Eh
-C1h
9Fh ~ FCh
-01h
00h ~ 2Eh
40h ~ 9Dh
左移1 bit + N
-7Eh
-1Fh
00 h ~ 5Dh
+21h
N=0
21h ~ 7Eh
(JIS-High Byte)
N=1
21h ~ 7Eh
(JIS-Low Byte )
+80h
If >=0x60
+40h
A1h ~ FEh
(RA8806 ROM Code -High Byte )
If < 0x60
+20h
A0h ~ BEh / 41h ~ 7Fh
(RA8806 ROM Code-Low Byte)
Figure 6-43 : The flow chart of the S-JIS code transfer to RA8806-J
//===================================================
// Main Program
//===================================================
void main(void)
{
LCD_Reset();
LCD_Initial();
LCD_ON();
LCD_Clear();
LCD_Text();
// Turn on the screen
// Clear display memory all
// Switch display mode to “Text mode”
LCD_GotoXY(0, 0);
LCD_Print_J_Str(SJIS_string, 20);
}
// SJIS_string is a string include Shifit - JIS Code
//===================================================
// Subroutine : Transform SJIS to JIS
//===================================================
void LCD_Print_JIS_Str(uchar *ptr, int char_num) // string pointer , char numbers
{
int temp = 0;
unsigned char SJIS_HB, SJIS_LB, JIS_HB, JIS_LB, LSB;
RAiO TECHNOLOGY INC.
73/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
while(temp < char_num)
{
if(ptr[temp] <= 0x7F)
// ASCII Code : 0x00 ~ 0x7F
{
LCD_DataWrite(ptr[temp]);
temp++;
}
else // Full Size font display
{
SJIS_HB = ptr[temp];
temp++;
SJIS_LB = ptr[temp];
temp++;
//========================================
// Transform SJIS Low Byte
//========================================
if(SJIS_LB >= 0x9F)
{
JIS_LB = SJIS_LB - 0x7E;
LSB = 0x01;
}
else if(SJIS_LB <= 0x7E)
{
JIS_LB = SJIS_LB - 0x1F;
LSB = 0x00;
}
else
{
JIS_LB = SJIS_LB - 0x20;
LSB = 0x00;
}
//========================================
// Transform SJIS High Byte
//========================================
if(SJIS_HB >= 0xE0)
{
SJIS_HB = SJIS_HB - 0xC1;
}
else if(SJIS_HB <= 0x9F)
{
SJIS_HB = SJIS_HB - 0x81;
}
JIS_HB = (((SJIS_HB << 1) & 0xFE) | LSB) + 0x21;
//========================================
// Write JIS Code
//========================================
JIS_HB = JIS_HB + 0x80;
if(JIS_LB >= 0x60)
JIS_LB = JIS_LB + 0x40;
else
JIS_LB = JIS_LB + 0x20;
RAiO TECHNOLOGY INC.
74/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
LCD_DataWrite(JIS_HB);
LCD_DataWrite(JIS_LB);
}
}
}
6-10-1-4 Bold and Inverse
The RA8806 supports the bold and inverse font. The user only needs to set up the related register
bit that before send the character code to RA8806. Figure 6-44 shows the examples.
16X16 inverse font
8X16 inverse font
16X16 bold font
8X16 bold font
Figure 6-44 : Inverse and Bold Font Example.
Table 6-24
Reg.
WLCR
WCCR
RAiO TECHNOLOGY INC.
Bit_Num
Description
Bit 3
Text Mode Selection
Bit 2
Set Display On/Off Selection
Bit 1
Blink Mode Selection
Bit 0
Inverse Mode Selection
Bit 4
Bold Font (Character Mode Only)
75/184
Reference
REG[00h]
REG[10h]
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-10-1-5 Two Layer Display
The RA8806 embedded two DDRAM for two layers display. The register MAMR is used to show the
visible display for DDRAM1 and DDRAM2. It provides six display modes:
Display DDRAM1
Display DDRAM2
Display DDRAM1 OR DDRAM2
Display DDRAM1 XOR DDRAM2
Display DDRAM1 NOR DDRAM2
Display DDRAM1 AND DDRAM2
Please refer Figure 6-45 and Register description of MAMR Bit[6:4] and Bit[3:2].
DDRAM1
Visible Display
DDRAM2
1
Controller
2
Controller
3
Controller
4
Controller
OR
Controller
NOR
Controller
XOR
Controller
AND
roller
Figure 6-45 : Two Layers Display
Table 6-25
Reg.
MAMR
RAiO TECHNOLOGY INC.
Bit_Num
Description
Bit [6:4]
Display Layer Selection
Bit [3:2]
Two Layer Mode Selection
76/184
Reference
REG[12h]
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-10-1-6 Line Gap
The RA8806 provide Line Gap feature. Especially in Chinese display, if add some space in each line
will look better. The range of line gap is 1 ~ 16 pixel. Once the line gap is setup, the cursor will
automatically move to property position for each line.
Setting the low nibble of the register CHWI, user can adjust the line gap. To deserve to be
mentioned, when RA8806 operating in 90 degree mode, the line gap is either 0 pixel or 8 pixels, no
matter what the font size. The selection of two conditions is according to Bit-3 of the register CHWI.
Table 6-26
Reg.
Bit_Num
CHWI
Description
Bit [7:4]
Set Cursor Height
Bit [3:2]
Set Line Gap
Reference
REG[11h]
6-10-2 Gray Scale Display
The RA8806 also provide 4-gray-scale display implemented by FRC method. In gray level display
mode, RA8806 combines the data of DDRAM1 and DDRAM2 as a gray picture. Each gray pixel
occupies 2 bits of DDRAM data for display. Data [00b] indicate an empty pixel display and [11b] is
solid display. [01b] & [10b] will be time sharing as 1/3 and 2/3 lightness. Please refer to Figure 6-46.
7 6 5 4 3 2 1 0
3a 3b 2a 2b 1a 1b 0a 0b
7 6 5 4 3 2 1 0
3a 3b 2a 2b 1a 1b 0a 0b
7a 7b 6a 6b 5a 5b 4a 4b
DDRAM2
DDRAM1
7a 7b 6a 6b 5a 5b 4a 4b
Gray-Scale Display
Bit-a
Bit-b
Gray-Level
0
0
1
0
1
2
1
0
3
1
1
4
DDRAM1: Display Data RAM #1
DDRAM2: Display Data RAM #2
In Gray-Scale mode, both DDRAM are used.
Figure 6-46 : Mapping Rule of 4-Gray-Scale Display
According to the data write order, RA8806 support 2 data input methodology for Gray-Scale display.
User can write the data as the same way of mono graphic display.
1. Horizontal moving first then Vertical, refer Figure 6-47.
2. Vertical moving first then Horizontal, refer Figure 6-48.
RAiO TECHNOLOGY INC.
77/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Horizontal-Write (Panel Resolution: 320 x 240)
1st byte
2nd byte
3rd byte
40th byte
41th byte
42th byte
43th byte
80th byte
81th byte
82th byte
83th byte
120th byte
N+1th byte
N+2th byte
N+3th byte
N+40th byte
Figure 6-47 : Horizontal Write
Vertical-Write (Panel Resolution: 320 x 240)
1st byte
241nd byte
Nth byte
2th byte
242th byte
N+1th byte
3rd byte
243th byte
N+2th byte
240th byte
480th byte
N+240th byte
Figure 6-48 : Vertical Write
About the register setting, please refer to following register:
Table 6-27
Reg.
MAMR
Bit_Num
Bit 7
Bit [6:4]
RAiO TECHNOLOGY INC.
Description
Cursor Auto Shifting Direction
Gray Mode selection
78/184
Reference
REG[12h]
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
The picture below is an example of 4-gray-level picture, the program example are attached below it:
Figure 6-49 : 4-Gray-Scale Example
Program Example:
LCD_Graphic();
Gray_Mode();
Scan_Diret_H_V();
LCD_GotoXY( 0 , 0 );
LCD_CmdWrite( 0xB0 );
for ( i = 0 ; I < 4800 ; i++ )
{
LCD_DataWrite( 0x00 ) ;
}
for ( i = 0 ; I < 4800 ; i++ )
{
LCD_DataWrite( 0x55 ) ;
}
for ( i = 0 ; I < 4800 ; i++ )
{
LCD_DataWrite( 0xAA ) ;
}
for ( i = 0 ; I < 4800 ; i++ )
{
LCD_DataWrite( 0xFF ) ;
}
RAiO TECHNOLOGY INC.
// Set graphic mode
// Set REG[12h] Bit[6:4] to 000b, as gray level display
// Set REG[12h] Bit-7 to 0, Cursor moves from left to right
// Write memory command
// Write data
// Gray Level 1 ( 00 )
// Gray Level 2 ( 01 )
// Gray Level 3 ( 10 )
// Gray Level 4 ( 11 )
79/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-10-3 Font Size Adjustment and Font Write-Time
RA8806 supports Font size adjustment. There are two types of characters stored in RA8806 font
ROM - Half size (8x16 pixels) and full size (16x16 pixels) characters. The“ Font size adjustment”
function supports the font enlargement from 1 to 4 times bigger in vertical and horizontal respective
directions. Programmer can adjust the character size from setting FVHT[7:4] :
Table 6-28
Reg.
FVHT
Bit_Num
Description
Reference
Bit [7:6]
Horizontal width adjustment for character
Bit [5:4]
Vertical width adjustment for character
REG[F1h]
Figure 6-50 shows the example of character enlargement:
2x1 enlarged 8x16 font
1x2 enlarged 16x16 font
Figure 6-50 : Font Size Adjustment
Additionally, the Font Sized Adjustment is not only available for the character display mode, but also
for the following display modes:
‹ For displaying the user created fonts
‹ 90° font and display rotation
RAiO TECHNOLOGY INC.
80/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
After writing completed font code(One byte for half size font and two bytes for full-size font), it will
takes an enough time for data to be written into the DDRAM. In the mean while no data can be read
or wrote into DDRAM. (Please refer to Section 6-8 “Interrupt and Busy”, the description of “Memory
Write Busy”). The writing time is differing from the enlargement multiplier of font size. Its calculation
formula is as follows :
Tfw = ( 16*tc + 32*tc x ( HW x VH ) ) x ( 1 + 10% )
Tfw : Font Write time
tc
: System clock period
HW : Horizontal enlargement multiplier.
VH : Vertical enlargement multiplier.
Here 10% is for the flexible error consideration. Please refer to the following examples: (Estimate
the system clock is 4MHz and the tc is 250ns)
Table 6-29 : Delay Time for Font Enlargement
Font enlargement multiplier Standard delay time(μS) Suggested delay time(μS)
1x1
12
13.2
2x2
36
39.6
3x3
76
83.6
4x4
132
145.2
In addition to calculate writing time and delay, programmer can also check the “Busy” status to know
if font characters were written into the DDRAM. Please refer to the “ Status Register” for the
description of “Busy”.
RAiO TECHNOLOGY INC.
81/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-10-4 Font Vertical Display
RA8806 features of its “Font Vertical Display” function. This function enables the normal display
change to vertical display. This means the original 320x240 panel can be used as a 240x320 panel
to display embedded character font or data in vertical way, and no need to change scan direction or
the LCD driver layout. The LCD panel could display from both vertical and horizontal ways. This
function is option on setting the Bit-3 of register WCCR. When WCCR Bit-3 =1 (Font Rotation Mode),
the font character will be written in vertical display. Figure 6-51 shows the example of font vertical
display.
0
7
0
0
15
0
7
15
Vertical Display
Normal Display
Figure 6-51: Font Vertical Display Function
Under the vertical display mode, the cursor moves from the direction of up to down. And the cursor
display is also differing to normal display mode. (Please refer to Section 6-13-4 “Cursor Width and
Height” for detail descriptions).
Due to the advance rotate function, if user chose a 240x160 module, then it will be very easy to use
same module but as an 160x240 module. The following Figure 6-52 shows the example of 320x240
panel rotate to as 240X320 application. In normal mode, if write text font “RAIO” then the screen
show as (1) of Figure 6-52. If set the T90DEG(Bit-3 of REG[10h]) = 1 and CDIR(Bit-0 of REG[01h])
= 1 first, then write text font “RAIO”, the screen will show as (2) of Figure 6-52.
COM239
SEG0
SEG0
COM0
COM0
RAiO
SEG319
RAiO
COM239
(1) 320x240 for Normal use
SEG319
(2) As a 240x320 Application
T90DEG = 1 , CDIR = 1
Figure 6-52 : Font Display in Rotate Mode
RAiO TECHNOLOGY INC.
82/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
The relative register list about font rotation function is:
Table 6-30
Reg.
Bit_Num
Description
Reference
WCCR
Bit 3
Font rotation mode enable
REG[10h]
MISC
Bit 0
COM direction selection
REG[01h]
Besides the cursor display function, the other functions in the font rotation mode work as the same
behavior as normal mode, including:
1) Font enlargement function
2) Full alignment function
3) Line Gap adjustment function
4) Scroll function
RAiO TECHNOLOGY INC.
83/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-11 User-Defined Font
The RA8806 embedded a 512Byte CGRAM for user to create new character. The user could create
font, special symbol or pattern in this memory. If user only uses one DDRAM, then the other one could
also use as CGRAM.
Therefore, the RA8806 provides 3 regions for user to create new character(symbol or pattern) as
following:
1. 512 Bytes CGRAM
2. 9.6K Bytes DDRAM1 (When user only shows DDRAM2 data on screen)
3. 9.6K Bytes DDRAM2 (When user only shows DDRAM1 data on screen)
Table 6-31 : Font Code for User-Created
Region
Size
CGRAM
512 bytes
DDRAM1
9.6 Kbytes
DDRAM2
9.6 Kbytes
Code and Range
Capacity
Half-Size : 8F00h ~ 8F1Fh
Full-Size : 9F00h ~ 9F0Fh
Half-Size : 8000h ~ 8E27h
Full-Size : 9000h ~ 9E13h
Half-Size : 8000h ~ 8E27h
Full-Size : 9000h ~ 9E13h
32 Half-Size chars
16 Full-Size chars
600 Half-Size chars
300 Full-Size chars
600 Half-Size chars
300 Full-Size chars
6-11-1 Create Font in CGRAM
The CGRAM is a 512Byte RAM, so it could create 32 Half-Size or 16 Full-Size characters. The
Table 6-32 is the font code mapping table in CGRAM. Note the font codes were fix in RA8806. And
the Font# was defined in Bit[3:0] of REG[CURY].
Table 6-32 : CGRAM Font Code Mapping Table
Font#
Code
0
1
2
3
4
5
6
7
Half-Size 8F00 8F01 8F02 8F03 8F04 8F05 8F06 8F07 8F08 8F09 8F0A 8F0B 8F0C 8F0D 8F0E 8F0F
Full-Size
9F00
9F01
9F02
9F03
9F04
9F05
9F06
9F07
Font#
Code
8
9
10
11
12
13
14
15
Half-Size 8F10 8F11 8F12 8F13 8F14 8F15 8F16 8F17 8F18 8F19 8F1A 8F1B 8F1C 8F1D 8F1E 8F1F
Full-Size
9F08
RAiO TECHNOLOGY INC.
9F09
9F0A
9F0B
84/184
9F0C
9F0D
9F0E
9F0F
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
0000
0000
0001
0001
0010
0010
0011
0011
0100
0100
0101
0101
0110
0110
0111
0111
1000
1000
1001
1001
1010
1010
1011
1011
1100
1100
1101
1101
1110
1110
1111
1111
(1) Full-size Font
(2) Half-size Font
Figure 6-53 : Example of Created Font Bit-map Data
According to the user-created font register setting in CGRAM, please refer to the below table.
Table 6-33 : Register Definition for Created-font in CGRAM
Reg.
Bit_Num
Bit 7
MAMR
Display mode
Bit [1:0]
Select memory for write cycle
Bit [4:0]
CURY
Bit [3:0]
Reference
Cursor Increase enable
Bit [6:4]
CURX
RAiO TECHNOLOGY INC.
Description
The Bit[4:0] is the address for writing
bit-map data of create font. When
create a full-size font, normally set to
0. When create an odd half-size font,
normally set to 0, and set 10h for
even font.
Indicate which font code data will be
created.
85/184
REG[12h]
REG[60h]
REG[70h]
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
CGRAM
Create Font
Set the CURX to 0(First
byte in font)
Set MAMR to access
CGRAM
Write memory write command
(B0h) and write the font data
sequentially. (*2)
Set display data is
DDRAM1 or DDRAM2
Write the corresponding code
to show the font on active
display layer (*3)
Set CURY
(It indicates which font will
be created) (*1)
Figure 6-54 : The Flow-chart of User-created Font on CGRAM
Note:
1. CGRAM contains 512 bytes and can contain 16 16x16 full-size or 32 8x16 half-size usercreated font. Each full-size font contains 32bytes.
2. For created full-size font, after CURY is assign(0~15) and CURX is set to 0, a created-font
bit-map can be filled by the 32 continuous memory writes cycle. And then CURY will be
increased by 1. Please refer the following Program Example(1). The result is show (1) of
Figure 6-53 on screen.
3. For created half-size font, after CURY is assign(0~15) and CURX is set to 0(odd font) or
10h(even font), a created-font bit-map can be filled by the 16 continuous memory writes cycle.
Please refer the following Program Example(2). The result is show (2) of Figure 6-53 on
screen.
4. The CGRAM font code is 8F00~8F1F for Half-size font, and 9F00~9F0Fh for full-size font.
Refer to Table 6-31.
Program Example(1):
// Create a full-size font in CGRAM and show on the screen.
// font_data[] = {00, 00, 07, 1F, 20, 67, 68, 09, 1A, 15, 16, 15, 12, 1F, 00, 00,
// 00, 00, E0, F8, 04, E6, 16, 90, 58, A8, 68, A8, 48, F8, 00, 00}
Access_CGRAM();
Only_Show_DDRAM1();
LCD_CmdWrite( CURY );
LCD_DataWrite( 0x05 );
LCD_CmdWrite( CURX );
LCD_DataWrite( 0x00 );
LCD_CmdWrite( MWCR);
for( i = 0; i < 32; i++ )
{ LCD_DataWrite( font_data[i] );
Delay2us(50);
}
Access_DDRAM1();
LCD_Text();
LCD_GotoXY( 5 , 5 );
LCD_CmdWrite( MWCR);
LCD_DataWrite( 0x9F );
RAiO TECHNOLOGY INC.
// MAMR[1:0] = 00b
// MAMR[6:4] = 001b
th
// Create 6 full-size character
// Write font-data from 1st byte
// B0h, Memory write command
// 32 continuous write for font bit-map
// Set Cursor position ( 5 , 5 )
// Corresponding font code( 9F05h )
86/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
LCD_DataWrite( 0x05 );
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
// Show as (1) of Figure 6-53
87/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Program Example(2):
// Create a half-size font in CGRAM and show on the screen.
// font_data[] = {00, 82, 44, 28, FE, 10, 10, 10, FE, 10, 10, 38, 54, 92, 10, 00}
Access_CGRAM();
// MAMR[1:0] = 00b
Only_Show_DDRAM1();
// MAMR[6:4] = 001b
LCD_CmdWrite( CURY );
// Create 6th half-size char
LCD_DataWrite( 0x02 );
LCD_CmdWrite( CURX );
// Write font-data from 1st byte
LCD_DataWrite( 0x10 );
LCD_CmdWrite( MWCR);
// B0h, Memory write command
for( i = 0; i < 16; i++ )
// 16 continuous write for font bit-map
{
LCD_DataWrite( font_data[i] );
Delay2us(50);
}
Access_DDRAM1();
LCD_Text();
LCD_GotoXY( 5 , 5 );
// Set Cursor position ( 5 , 5 )
LCD_CmdWrite( MWCR);
// Corresponding font code( 8F05h )
LCD_DataWrite( 0x8F );
LCD_DataWrite( 0x05 );
// Show as (2) of Figure 6-53
6-11-2 Create Font in DDRAM
The DDRAM are 9.6KByte RAM, so it could create 600 Half-Size or 300 Full-Size characters. Table
6-35 is the font code mapping table in DDRAM for Half-Size characters. Table 6-36 is the font code
mapping table in DDRAM for Full –Size characters. These font codes were also fix in RA8806. The
register CURX and CURY are used to point the address that bit-map data to create font.
According to the register setting of user-created font in DDRAM, please refer to the below table.
Table 6-34 : Register Definition for Created-font in DDRAM
Reg.
Bit_Num
Bit 7
MAMR
Display mode
Bit [1:0]
Select memory for write cycle
Bit [5:0]
CURY
Bit [7:0]
Reference
Cursor Increase enable
Bit [6:4]
CURX
RAiO TECHNOLOGY INC.
Description
Both registers are Indicate which font
code data will be created.
88/184
REG[12h]
REG[60h]
REG[70h]
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Table 6-35 : DDRAM1 and DDRAM2 Half-size Font Code Mapping
CURX
CURY
0
1
2
........................................
26
27
0
1
2
........................................
26
27
0
00
8000 8001 8002 ........................................
8026 8027
1
10
8100 8101 8102 ........................................
8126 8127
2
20
8200 8201 8202 ........................................
8226 8227
3
30
8300 8301 8302 ........................................
8326 8327
4
40
8400 8401 8402 ........................................
8426 8427
5
50
8500 8501 8502 ........................................
8526 8527
6
60
8600 8601 8602 ........................................
8626 8627
7
70
8700 8701 8702 ........................................
8726 8727
8
80
8800 8801 8802 ........................................
8826 8827
9
90
8900 8901 8902 ........................................
8926 8927
10
A0
8A00 8A01 8A02 ........................................
8A26 8A27
11
B0
8B00 8B01 8B02 ........................................
8B26 8B27
12
C0
8C00 8C01 8C02 ........................................
8C26 8C27
13
D0
8D00 8D01 8D02 ........................................
8D26 8D27
14
E0
8E00 8E01 8E02 ........................................
8E26 8E27
Table 6-36 : DDRAM1 and DDRAM2 Full-size Font Code Mapping Table
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CURX
0 1 2 3 4 5 6 7 8 9 A B C D E F 10 11 12 13 1415 16 17 18 19 1A1B 1C1D1E 1F 20 21 22 23 24 25 26 27
CURY
0
00
9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 900A 900B 900C 900D 900E 900F 9010 9011 9012 9013
1
10
9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 910A 910B 910C 910D 910E 910F 9110 9111 9112 9113
2
20
9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 920A 920B 920C 920D 920E 920F 9210 9211 9212 9213
3
30
9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 930A 930B 930C 930D 930E 930F 9310 9311 9312 9313
4
40
9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 940A 940B 940C 940D 940E 940F 9410 9411 9412 9413
5
50
9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 950A 950B 950C 950D 950E 950F 9510 9511 9512 9513
6
60
9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 960A 960B 960C 960D 960E 960F 9610 9611 9612 9613
7
70
9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 970A 970B 970C 970D 970E 970F 9710 9711 9712 9713
8
80
9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 980A 980B 980C 980D 980E 980F 9810 9811 9812 9813
9
90
9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 990A 990B 990C 990D 990E 990F 9910 9911 9912 9913
10
A0
9A00 9A01 9A02 9A03 9A04 9A05 9A06 9A07 9A08 9A09 9A0A 9A0B 9A0C 9A0D 9A0E 9A0F 9A10 9A11 9A12 9A13
11
B0
9B00 9B01 9B02 9B03 9B04 9B05 9B06 9B07 9B08 9B09 9B0A 9B0B 9B0C 9B0D 9B0E 9B0F 9B10 9B11 9B12 9B13
12
C0
9C00 9C01 9C02 9C03 9C04 9C05 9C06 9C07 9C08 9C09 9C0A 9C0B 9C0C 9C0D 9C0E 9C0F 9C10 9C11 9C12 9C13
13
D0
9D00 9D01 9D02 9D03 9D04 9D05 9D06 9D07 9D08 9D09 9D0A 9D0B 9D0C 9D0D 9D0E 9D0F 9D10 9D11 9D12 9D13
14
E0
9E00 9E01 9E02 9E03 9E04 9E05 9E06 9E07 9E08 9E09 9E0A 9E0B 9E0C 9E0D 9E0E 9E0F 9E10 9E11 9E12 9E13
RAiO TECHNOLOGY INC.
89/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Start
Access DDRAM1
( REG[12h] [1:0] = 0 1 )
N0
Access Page2
Write 16 bytes data ?
( REG[12h] [1:0] = 1 0 )
Show DDRAM2
( REG[12h] [6:4] = 010 )
Set Graphic Mode
Yes
X add 1
Set Text Mode
(Set REG[60h])
( REG[00h] B3 = 1 )
( REG[00h] B3 = 0 )
Set Cursor shifting
Direction, vertical
first then horizontal
( REG[12h] B7 = 1 )
Set Cursor shifting
Direction, horizontal
first then vertical
( REG[12h] B7 = 0 )
Set XY -axis ( X, Y )
( Set REG[60h],[70h] )
Write Right-half font
data to DDRAM1
Set XY -axis ( X, Y )
and execute Memory
Write CMD
Set XY -axis ( X, Y )
( Set REG[60h],[70h] )
Y add 1
(Set REG[70h])
Write Left-half font
data to DDRAM1
Write 16 bytes data ?
N0
Write font data that
already defined at
DDRAM1 to DDRAM2
Y add 1
(Set REG[70h])
Yes
Figure 6-55 : Flowchart of User-created font in DDRAM1
The above flow-chart is an example to create a Full-size in DDRAM1 and show the new font on
screen(DDRAM2). At first, user have to set up the CURX and CURY to define which code data will
be created, and then write 32Bytes bit-map data to DDRAM1. The CURX need to set twice for each
16Bytes data – the left and right of full-size font. Please refer the following Program Example(3). If
we want to create a full-size font as (1) of Figure 6-53 to mapping code – 9205h in Table 6-36. The
result is show (1) of Figure 6-53 on screen.
RAiO TECHNOLOGY INC.
90/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Program Example(3):
// Create a full-size font in DDRAM1 and show on the screen.
// font_data[] = {00, 00, 07, 1F, 20, 67, 68, 09, 1A, 15, 16, 15, 12, 1F, 00, 00,
// 00, 00, E0, F8, 04, E6, 16, 90, 58, A8, 68, A8, 48, F8, 00, 00}
Access_DDRAM1();
Only_Show_DDRAM2();
// MAMR[1:0] = 01
// MAMR[6:4] = 010
LCD_Graphic();
Cursor_Shift_Direct_VH();
// WLCR. Bit-3 = 0
// MAMR. Bit-7 = 1
// Set the cursor moving in vertical
// Write the left part of full-size font
// Memory write command
LCD_GotoXY(0x0A, 0x20);
LCD_CmdWrite( MWCR);
for(i=0;i<16;i++)
{
LCD_DataWrite(font_data_L[i]);
Delay2us(50);
}
LCD_GotoXY(0x0B, 0x20);
// Write the right part of full-size font
LCD_CmdWrite( MWCR);
// Memory write command
for(i=16;i<32;i++)
{
LCD_DataWrite(font_data_R[i]);
Delay2us(50);
}
Access_DDRAM2();
LCD_Text();
Cursor_Shift_Direct_HV();
// MAMR[1:0] = 10
// WLCR.Bit-3 = 1
// MAMR. Bit-7 = 0
LCD_GotoXY( 3 , 3 );
LCD_CmdWrite( MWCR);
LCD_DataWrite(0x92);
LCD_DataWrite(0x05);
Delay2us(50);
// set coordinate to ( 3 , 3 )
// Memory write command
// Write the code(9205h) of user-defined font
// Show as (1) of Figure 6-53
RAiO TECHNOLOGY INC.
91/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-11-3 Create Symbol
RA8806 provides font creator function that allows user to design and create new fonts, special
symbols or logos and store into its embedded CGRAM or DDRAM. The user-created characters
each defined as a full-size (16x16) or half-size (8x16) character bitmap font formats, thus 24x16,
40x16, 16x32 or bigger sized fonts are also possible to create accordingly. The following Figure
6-56 represents a user created symbol with size 24x16.
Figure 6-56 : A 24x16 Symbol Example
For creating a new symbol, in addition to write command to CGRAM or DDRAM, note the setting of
the font codes before trying to write characters to be displayed. See the following 2 examples of
creating this 24x16 symbol in DDRAM:
When the first address - (CURX, CURY) of data write to DDRAM is (0, 0), the font code of this symbol are
0x8000, 0x8001 and 0x8002, as Figure 6-57 below:
When the first address of date write to DDRAM is (2, 10h), the font code of this symbol are 0x8105,
0x8106,0x8107 and so on. Please refer the following Program Example(4). The result is show Figure 6-56 on
screen.
Font Code: 0x8105
Font Code: 0x8106
Font Code:0x8107
Figure 6-57 : Font Code of User’s Created Symbol for Program Example(4)
RAiO TECHNOLOGY INC.
92/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Program Example(4):
// Create a 24x16 symbol in DDRAM1 and show on the screen.
// font_data[] = {00, 02, 06, 0A, 12, 23, 40, 80, 40, 23, 12, 0A, 06, 02, 00, 00,
// 00, 00, 00, 00, 00, FF, 00, 00, 00, FF, 00, 00, 00, 00, 00, 00,
// 00, 80, C0, A0, 90, 88, 04, 02, 04, 88, 90, A0, C0, 80, 00, 00}
Access_DDRAM1();
Only_Show_DDRAM2();
// MAMR[1:0] = 01
// MAMR[6:4] = 010
LCD_Graphic();
Cursor_Shift_Direct_VH();
// WLCR. Bit-3 = 0
// MAMR. Bit-7 = 1
// Set the cursor moving in vertical
// Write the left part of symbol
// Memory write command
LCD_GotoXY(0x02, 0x10);
LCD_CmdWrite( MWCR);
for(i=0;i<16;i++)
{
LCD_DataWrite(font_data_L[i]);
Delay2us(50);
}
LCD_GotoXY(0x03, 0x10);
// Write the middle part of symbol
LCD_CmdWrite( MWCR);
// Memory write command
for(i=16;i<32;i++)
{
LCD_DataWrite(font_data_R[i]);
Delay2us(50);
}
LCD_GotoXY(0x04, 0x10);
// Write the right part of symbol
LCD_CmdWrite( MWCR);
// Memory write command
for(i=32;i<48;i++)
{
LCD_DataWrite(font_data_R[i]);
Delay2us(50);
}
Access_DDRAM2();
LCD_Text();
Cursor_Shift_Direct_HV();
// MAMR[1:0] = 10
// WLCR.Bit-3 = 1
// MAMR. Bit-7 = 0
LCD_GotoXY( 3 , 3 );
LCD_CmdWrite( MWCR);
LCD_DataWrite(0x81);
LCD_DataWrite(0x02);
Delay2us(10);
LCD_DataWrite(0x81);
LCD_DataWrite(0x03);
Delay2us(10);
LCD_DataWrite(0x81);
LCD_DataWrite(0x04);
Delay2us(10);
// set coordinate to ( 3 , 3 )
// Memory write command
// Write the code(8102, 8103, 8104) of symbol
// Show as Figure 6-57
Besides, note the display address for each of the font code to be display on the LCD screen,
RAiO TECHNOLOGY INC.
93/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
especially under Rotate 90 degree and Font Enlargement mode.
6-12 Scroll Function
6-12-1 Horizontal Scrolling
The RA8806 provide Horizontal Scrolling function. You can assign an area by Register BGSG and
EDSG. Once start the horizontal scrolling, the assigned area will shift step by step and each step is
8 pixels width.
About Horizontal Scrolling register setting, please refer to the list below.
Table 6-37
Reg.
ADSR
Bit_Num
Description
Bit 2
SCR_DIR(Scroll direction)
Bit 1
SCR_HV(Scroll Horizontal/Vertical)
Bit 0
SCR_EN(Scroll Enable)
Reference
REG[03h]
BGSG
Bit [5:0]
The SEG start address in scroll mode
REG[61h]
EDSG
Bit [5:0]
The SEG end address in scroll mode
REG[62h]
BGCM
Bit [7:0]
The COM start address in scroll mode
REG[71h]
EDCM
Bit [7:0]
The COM end address in scroll mode
REG[72h]
(1)Flowchart: The flow-chart of horizontal scrolling is as following:
Start
Set Scrolling Window Boundary
( Set REG[61h],[62h],[71h],[72h])
Write Chinese font filled
with the screen
Set Scrolling Direction,
Left to Right
( Set REG[03h][2:1] = 0 0 )
Enable Scrolling Function
( REG[03h]B0 = 1 )
Figure 6-58 : Horizontal Scrolling
RAiO TECHNOLOGY INC.
94/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
(2)Program Example:
LCD_Text();
// Text Mode
//================================================
// Set Scrolling Window
//================================================
LCD_CmdWrite(0x61);
// SEG Start Position of Scrolling Mode
LCD_DataWrite(0x05);
LCD_CmdWrite(0x62);
// SEG End Position of Scrolling Mode
LCD_DataWrite(0x22);
LCD_CmdWrite(0x71);
LCD_DataWrite(0x20);
LCD_CmdWrite(0x72);
LCD_DataWrite(0xd0);
// COM Start Position of Scrolling Mode
// COM End Position of Scrolling Mode
for( i = 0 ; i < 300 ; i++ )
// Write the font to fill the screen
{
LCD_DataWrite( RAiO [ i ] );
Delay2us(50);
}
//================================================
// Set Scrolling Direction and Enable scroll function
//================================================
LCD_CmdWrite(0x03);
LCD_DataWrite(0x01);
// L Æ R
// LCD_DataWrite(0x05);
// R Æ L
RAiO TECHNOLOGY INC.
95/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-12-2 Vertical Scrolling
The RA8806 also provide Vertical Scrolling function. You can start the scrolling by control Register
ADSR Bit-2. Once start the vertical scrolling, the whole screen will shift step by step and each step
is 1 pixel height.
(1)Flowchart: The flow-chart of vertical scrolling is as following:
Start
Set Scrolling Window Boundary
( Set REG[61h],[62h],[71h],[72h])
Write Chinese font filled
with the screen
Set Scrolling Direction,
Top to Bottom
( Set REG[03h][2:1] = 0 1 )
Enable Scrolling Function
( REG[03h]B0 = 1 )
Figure 6-59 : Vertical Scrolling
(2)Program Example:
LCD_Text();
// Text Mode
LCD_CmdWrite(0x61);
LCD_DataWrite(0x05);
LCD_CmdWrite(0x62);
LCD_DataWrite(0x22);
// SEG Start Position of Scrolling Mode
LCD_CmdWrite(0x71);
LCD_DataWrite(0x20);
LCD_CmdWrite(0x72);
LCD_DataWrite(0xd0);
// COM Start Position of Scrolling Mode
// SEG End Position of Scrolling Mode
// COM End Position of Scrolling Mode
for( i = 0 ; i < 300 ; i++ )
// Fill Chinese font on the screen
{
LCD_DataWrite( RAiO [ i ] );
Delay2us(50);
}
LCD_CmdWrite(0x03);
LCD_DataWrite(0x03);
// LCD_DataWrite(0x07);
RAiO TECHNOLOGY INC.
// Scrolling Enable
// T Æ B
// B Æ T
96/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-13 Cursor
6-13-1 Cursor Position and Shift
The cursor-moving unit of segment is one byte(or eight pixels). But the moving unit of common is
one pixel. The cursor position is controlled by Register CURX and CURY for both text and graphics
mode. You can also setup the Auto-Increase mode for write to DDRAM or read data from DDRAM.
The cursor-moving boundary depends on the active window.
6-13-2 Full Alignment
The “Full alignment function” provides the “Auto-Align” feature when full-size and half-size
characters combined display. Programmer can adjust it from the settings of Bit-6 of WCCR. (Refer
to register WCCR for detail description.)
Appendix A When Bit-6 is 1, the auto-align feature is enabled.
Appendix B When Bit-6 is 0, the auto-align feature is not being used.
The Figure 6-60 and Figure 6-61 shows the above settings.
With full alignment function
瑞 佑科技
有限公司
Figure 6-60 : Font Write with Full Alignment
RAiO TECHNOLOGY INC.
97/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Without full alignment function
瑞 佑科技
有限公司
Figure 6-61 : Font Write without Full Alignment
When the ”Full-alignment” feature is used, the display shows all the full-size characters start from
the set start address. And there will be an even bytes alignment space between these fonts. For
half-size character, the function doesn’t restrict the position of it.
3. Line changing
and alignment
setting is reset
1. Cursor set at 5’th
bytes
2. write characters
瑞 佑科技股
份有限公司
CASE 1
cursor
Figure 6-62 : Full-alignment Example(1)
The full-alignment display rule is base on cursor position be set at 1st row. After changing row, the
alignment base is reset. That is, the start segment address of active window. There are serial
conditions for the changing line with the full alignment feature. Please refer to below figures for the
condition.
RAiO TECHNOLOGY INC.
98/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
3. Line changing
and alignment
setting is reset
Two Layers Character/Graphic LCD Controller
1. Cursor set
2. Write to the end of the
line
瑞佑科技股
份有限公司
CASE 2
cursor
Figure 6-63 : Full-alignment Example(2)
3. Line changing
and alignment
setting is reset
2. No enough space for
writing a full-size
character after consider
full-alignment
1. Cursor set
瑞 佑科技股
份有限公司
CASE 3
cursor
Figure 6-64 : Full-alignment Example(3)
RAiO TECHNOLOGY INC.
99/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-13-3 Cursor Blinking
The user could control cursor On/Off or Blinking. The register [80h] BTMR is used to set up the
blinking time.
‹
Blinking Time = BTMR[80h] Bit[7:0] x (1/Frame_Rate)
6-13-4 Cursor Width and Height
The cursor height is controlled by register CHWI Bit[7:4], and the height is setting from 1 ~ 16 pixel.
It does depend on user’s requirement.
In normal font, the cursor width fixed to one byte(8 pixels). And cursor’s height is from 1~16pixels
that depends on CHWI Bit[7:4]. In vertical font, the cursor height fixed to 16 pixels, and width is
from 1~8 pixels that depends on CHWI Bit[6:4]. See Figure 6-65 and Figure 6-66 as following.
瑞佑科技
Cursor movement for Normal-Font
Cursor movement for Vertical-Font
Figure 6-65 : Cursor Movement
Cursor Size(Height) for Normal-Font
1 pixel
2 pixel
3 pixel
16 pixel
Cursor Size(Width) for Vertical-Font
1 pixel
2 pixel
3 pixel
8 pixel
Figure 6-66 : Cursor Size
RAiO TECHNOLOGY INC.
100/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-14 Extension Mode for Display
Normally the maximum support resolution of RA8806 is 320x240 dots. But RA8806 support a special
display mode – Extension mode. And the maximum support resolution is 640x240 or 320x480 dots. In
Extension mode, the dual DDRAM data can be show on the bigger panel. This mode is set by the Bit[6:4]
of register MAMR. Please refer to Figure 6-68 of the example by using 640x240 panel, and Figure 6-69
by using 320x480 panel.
Com/Seg Signals
RA8806
LCD Panel
LCD Driver
Max. 320x240
Normal Mode
Com/Seg Signals
RA8806
LCD Driver
LCD Panel
Max. 640x240
or
Max. 320x480
Extension Mod
Figure 6-67 : Maximum Resolution for RA8806
240
320
320
DDRAM1
Data
DDRAM2
Data
Figure 6-68 : Extension Mode(1) Register MAMR Bit[6:4] = 110h
If MAMR Bit[6:4] = 110b, then RA8806 supports maximum resolution is 640x240 pixels. The left side of
screen shows the DDRAM1 data, the right side shows the DDRAM2 data. Please refer to Figure 6-68.
If MAMR Bit[6:4] = 111b, then RA8806 supports maximum resolution is 320x480 pixels. The up side of
screen shows the DDRAM1 data, the down side shows the DDRAM2 data. Please refer to Figure 6-69.
RAiO TECHNOLOGY INC.
101/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
320
240
DDRAM1
Data
240
DDRAM2
Data
Figure 6-69 : Extension Mode(2) Register MAMR Bit[6:4] = 111h
Note that the extension mode is only display the combination of the DDRAM1 and DDRAM2 data. The
cursor movement or characters display is not continuous across them. So user must set two pages
separately on the screen. The RA8806 will combine the DDRAM1 and DDRAM2 data as a single display
in extension mode. So, there is some limitation on Extension Mode. For example, if RA8806 set to
Extension Mode(1) as Figure 6-68 for 640x240 dots panel. The data have to write into DDRAM1 and
DDRAM2. But the cursor moving of Common is not from 0 to 639. The users have to separate the
screen into 2 blocks and write data into DDRAM1 and DDRAM2 to create a complete 640x240 dots
picture. The Figure 6-70 shows the description.
:
:
:
:
:
:
:
:
:
:
DDRAM1
DDRAM2
Figure 6-70:Extension Mode(1) Cursor Moving
Of course, if use Horizontal Scrolling, then the screen is like the following Figure 6-71.
RAiO TECHNOLOGY INC.
102/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
DDRAM1
DDRAM2
Figure 6-71:Extension Mode(1) Horizontal Scrolling
But if RA8806 use Extension mode(2) like Figure 6-69 for 320x480 dots panel, then the cursor moving is
same as normal mode – the Common is from 0 to 319. The data scan of DDRAM is as Figure 6-72. The
effect of Horizontal Scrolling is show as Figure 6-73.
DDRAM1
DDRAM2
:
:
:
:
:
:
:
:
:
:
Figure 6-72:Extension Mode(2) Cursor Moving
DDRAM1
DDRAM2
Figure 6-73:Extension Mode(2) Horizontal Scrolling
RAiO TECHNOLOGY INC.
103/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
6-15 Eliminating Flicker Mode
RA8806 also provides “Eliminating Flicker Mode” in order to eliminate display errors at scan/MPU
confliction. When the scan logic is processing scan task and at the same time the DDRAM is accessed
by the MPU, the scan data will force to get a wrong one and may experience side effects such as
“flicker”. When the flicker is too much, it will infect the display effect.
Therefore, RA8806 is designed to disable scan logic when MPU is accessing the DDRAM. And after it is
completed, the scan logic active again. The “Eliminating Flicker Mode” separate Write and Read
operating therefore no confliction will happen between scan logic and MPU cycle. That is, no data will
lose. Ideally, it will have great improvement at display effect.
In real application, sometimes the cycle time that MPU writes data will be different(font write and
memory clear), although it accesses the RA8806 periodly. On the other hand, the display performance
is still limited when operating under the eliminating-flicker mode in some conditions. The limits are :
(1) The eliminating-flicker mode is suggested to operate under the graphic mode(bit-7 of register[01h]
is setting 1).
(2) Please disable eliminating-flicker function before the memory clear mode. After the memory clear
function is finished, then the eliminating-flicker function could be enable again.
Figure 6-74 : Eliminating Flicker Mode
Table 6-38
Reg.
Bit_Num
Description
Reference
MISC
Bit 7
The LCD Driver-Scan will auto-pending
when busy.
REG[01h]
Additionly, RA8806 also supply a method to eliminate flicker by check status. By check the status bit6(SCAN BUSY), user can know whether can access memory that doesn’t conflict the scan data period.
The application figure is below :
RAiO TECHNOLOGY INC.
104/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Start
LP
high
Check status bit-6
(SCAN BUSY)
XCLK
SCAN_BUSY
MPU cycle
low
ITCR
Memory access cycle
: Check status bit-6 = 0
: Check status bit-6 = 1
: Memory access cycle
Figure 6-75 : Eliminate Flicker (1) Ideal
LP
XCLK
SCAN_BUSY
Confliction!
MPU cycle
: Check status bit-6 = 0
: Check status bit-6 = 1
: Memory access cycle
Figure 6-76 : Eliminate Flicker (1) Confliction
The ideal condition just likes the Figure 6-75. But if the condition likes Figure 6-76, the little part of confliction
that we can not avoid. So if user wants to eliminate the flicker completely by checking SCAN_BUSY, user can
use the method just like the Figure 6-77.
RAiO TECHNOLOGY INC.
105/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Start
low
Check status bit-6
LP
(SCAN BUSY)
XCLK
SCAN_BUSY
high
high
Check status bit-6
MPU cycle
(SCAN BUSY)
ITCR
low
: Check status bit-6 = 0
: Check status bit-6 = 1
: Memory access cycle
Memory access cycle
Figure 6-77 : Eliminate Flicker (2) Ideal
In order to improve the effect of eliminating flicker by check busy, we have two suggestions in real
application :
MPU speed cannot be too slow(The MPU cycle period cannot be too long, just like Figure 6-78),
otherwise the effect of eliminating flicker will be not eminent.
The ITCR value cannot be set too small.(just like Figure 6-79), otherwise the effect of eliminating
flicker will be not eminent.
So if you want to eliminate flicker by check busy of this way, we support a suggestion ITCR setting value
just like Figure 6-80 and Figure 6-81.
LP
XCLK
SCAN_BUSY
Confliction!
MPU cycle
ITCR
MPU cycle too long!
: Check status bit-6 = 0
: Check status bit-6 = 1
: Memory access cycle
Figure 6-78 : Eliminate Flicker (2) MPU Cycle Too Long
RAiO TECHNOLOGY INC.
106/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
LP
XCLK
SCAN_BUSY
Confliction!
MPU cycle
ITCR
: Check status bit-6 = 0
: Check status bit-6 = 1
ITCR period too short
: Memory access cycle
Figure 6-79 : Eliminate Flicker (2) ITCR Cycle Too Short
ITCR duration
SCAN_BUSY
Read Status cycle
RD
Read Status cycle
MEM write cycle
ZWR
Tcyc
Tcyc
MPU 8080 The Worst case!!
tsys = 1/CLK CLK : system clock
M : REG[01h] = 00h Î M=8
REG[01h] = 01h Î M=4
REG[01h] = 10h Î M=2
REG[01h] = 11h Î M=1
So ITCR suggestion value is :
ITCR duration=ITCR x tc x M > 2.5 x Tcyc
Figure 6-80 : The Suggestion ITCR value for MPU 8080 Interface to Eliminate Flicker
ITCR duration
SCAN_BUSY
Read Status cycle
RD
Read Status cycle
MEM write cycle
ZWR
Tcyc
Tcyc
MPU 6800 The Worst case!!
tc = 1/CLK CLK : system clock
M : REG[01h] = 00h Î M=8
REG[01h] = 01h Î M=4
REG[01h] = 10h Î M=2
REG[01h] = 11h Î M=1
So ITCR suggestion value is :
ITCR duration=ITCR x tc x M > 2.5 x Tcyc
Figure 6-81 : The Suggestion ITCR value for MPU 6800 Interface to Eliminate Flicker
RAiO TECHNOLOGY INC.
107/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
7. Package Information
Bonding Pad
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
CLK_OUT
TESTMD
TESTI
ZRST
XG
XD
DATA7
DATA6
DATA5
DATA4
DATA3
DATA2
DATA1
DATA0
ZRD
ZWR
VDDP
GNDP
RS
CS2
7-1
RA8806 Logo
RA8806
28
27
26
25
24
23
22
21
20
ZCS1
PWM_OUT
PWM_OUT
X1
Y1
X2
Y2
AVDD
AGND
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
INT
BUSY
VDDH
VDD
GND
FR
LP
YD
XCK
ZDOFF
LD7
LD6
LD5
LD4
LD3
LD2
LD1
LD0
GNDP
KIN0
KIN1
KIN2
KIN3
KIN4
KIN5
KIN6
KIN7
KOUT0
KOUT1
KOUT2
KOUT3
KOUT4
KOUT5
KOUT6
KOUT7
DB
MI
DW
VDDP
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
3
2
1
Figure 7-1 : RA8806 Bonding Pad
RAiO TECHNOLOGY INC.
108/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
7-2
Two Layers Character/Graphic LCD Controller
Pad X/Y Coordinate
Table 7-1 : RA8806 Pad Coordinate
Pad No.
Pad Name
X
Y
Pad No.
Pad Name
X
1
GNDP
2301.05
-1649.70
35
DATA0
1429.80
1833.05
2
LD0
2301.05
-1536.80
36
DATA1
1314.80
1833.05
3
LD1
2301.05
-1421.80
37
DATA2
1199.80
1833.05
4
LD2
2301.05
-1306.80
38
DATA3
1084.80
1833.05
5
LD3
2301.05
-1191.80
39
DATA4
969.80
1833.05
6
LD4
2301.05
-1076.80
40
DATA5
854.80
1833.05
7
LD5
2301.05
-961.80
41
DATA6
739.80
1833.05
8
LD6
2301.05
-846.80
42
DATA7
624.80
1833.05
9
LD7
2301.05
-731.80
43
XD
509.80
1833.05
10
ZDOFF
2301.05
-616.80
44
XG
394.80
1833.05
11
XCK
2301.05
-501.80
45
ZRST
279.80
1833.05
12
YD
2301.05
-386.80
46
TESTI
164.80
1833.05
13
LP
2301.05
-271.80
47
TESTMD
49.80
1833.05
14
FR
2301.05
-156.80
48
CLK_OUT
-65.20
1833.05
15
GND
2301.05
-39.70
49
KIN0
-65.20
-1833.05
16
VDD
2301.05
75.30
50
KIN1
49.80
-1833.05
17
VDDH
2301.05
186.10
51
KIN2
164.80
-1833.05
18
BUSY
2301.05
303.20
52
KIN3
279.80
-1833.05
19
INT
2301.05
418.20
53
KIN4
394.80
-1833.05
20
AGND
2301.05
702.20
54
KIN5
509.80
-1833.05
21
AVDD
2301.05
817.20
55
KIN6
624.80
-1833.05
22
Y2
2301.05
934.30
56
KIN7
739.80
-1833.05
23
X2
2301.05
1049.30
57
KOUT0
854.80
-1833.05
24
Y1
2301.05
1164.30
58
KOUT1
969.80
-1833.05
25
X1
2301.05
1279.30
59
KOUT2
1084.80
-1833.05
26
PWM_OUT
2301.05
1394.30
60
KOUT3
1199.80
-1833.05
27
PWM_OUT
2301.05
1509.30
61
KOUT4
1314.80
-1833.05
28
ZCS1
2301.05
1624.30
62
KOUT5
1429.80
-1833.05
29
CS2
2119.80
1833.05
63
KOUT6
1544.80
-1833.05
30
RS
2004.80
1833.05
64
KOUT7
1659.80
-1833.05
31
GNDP
1887.70
1833.05
65
DB
1774.80
-1833.05
32
VDDP
1772.70
1833.05
66
MI
1889.80
-1833.05
33
ZWR
1659.80
1833.05
67
DW
2004.80
-1833.05
34
ZRD
1544.80
1833.05
68
VDDP
2121.90
-1833.05
RAiO TECHNOLOGY INC.
109/184
Y
www.raio.com.tw
RA8806
Preliminary Version 1.2
60
NC
55
CLK_OUT
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
65
50
TM
RAiO
RA8806L2N-T
85
90
45
40
08XX-N
95
35
Date Code (Year 2008)
TESTMD
TESTI
ZRST
XG
XD
NC
DATA7
DATA6
DATA5
DATA4
DATA3
DATA2
DATA1
DATA0
ZRD
ZWR
VDDP
GNDP
RS
CS2
ZCS1
PWM_OUT
X1
X2
30
Y1
Y2
AVDD
AGND
INT
25
BUSY
VDDH
VDD
GND
20
LP
FR
YD
XCK
LD7
ZDOFF
15
LD6
LD4
LD3
10
LD2
5
LD5
100
LD1
Pin #1
70
75
LD0
KOUT0
KOUT1
KOUT2
KOUT3
KOUT4
KOUT5
KOUT6
KOUT7
DB
MI
DW
80
VDDP
NC
KIN0
KIN1
KIN2
KIN3
KIN4
KIN5
KIN6
KIN7
NC
NC
Pin Assignment
GNDP
NC
NC
7-3
Two Layers Character/Graphic LCD Controller
45
40
TM
35
RA8806T1N-S
70
30
08XX-N
75
CLK_OUT
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
RAiO
65
25
Date Code(Year 2008)
TESTMD
TESTI
ZRST
XG
XD
DATA7
DATA6
DATA5
DATA4
DATA3
DATA2
DATA1
DATA0
ZRD
ZWR
VDDP
GNDP
RS
CS2
ZCS1
PWM_OUT
X1
X2
Y1
20
Y2
AVDD
AGND
INT
BUSY
15
VDDH
GND
LP
FR
10
YD
XCK
ZDOFF
5
VDD
80
LD3
Pin #1
50
55
LD2
KOUT0
KOUT1
KOUT2
KOUT3
KOUT4
KOUT5
KOUT6
KOUT7
DB
MI
VDDP
GNDP
LD0
60
LD1
KIN1
KIN2
KIN3
KIN4
KIN5
KIN6
KIN7
NC
KIN0
Figure 7-2 : LQFP-100Pin Pin Assignment
Figure 7-3 : TQFP-80Pin Pin Assignment
RAiO TECHNOLOGY INC.
110/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
7-4
Two Layers Character/Graphic LCD Controller
Package Dimension
Pin-1 Index
b
D1
D
TM
RAiO
08xx-N
RA8806L2N-S/T
e
E1
E
Seating Plane
0.10mm
Detail A
θ2
θ1
A
0.25mm
A2
C
R2
R1
Gauge Plane
θ
θ3
A1
L
L1
Detail A
Figure 7-4 : LQFP-100Pin Mechanical
RAiO TECHNOLOGY INC.
111/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Table 7-2 : LQFP-100 Package Dimension
Symbols
Dimensions in Millimeters
Dimensions in Inches
Min.
Typ.
Max.
Min.
Typ.
Max.
A
--
--
1.60
--
--
0.063
A1
0.05
--
0.15
0.002
--
0.006
A2
1.35
1.40
1.45
0.053
0.055
0.057
b
0.22
0.3
0.33
0.009
0.012
0.013
c
0.09
--
0.16
0.004
--
0.006
e
0.65 BSC.
0.026 BSC.
D
22.00 BSC.
0.866 BSC.
D1
20.00 BSC.
0.787 BSC.
E
16.00 BSC.
0.630 BSC.
E1
14.00 BSC.
0.551 BSC.
L
0.45
0.60
0.75
0.018
1.00 Ref.
L1
0.024
0.030
0.039 Ref.
R1
0.08
--
--
0.003
--
--
R2
0.08
--
0.20
0.003
--
0.008
θ
0
3.5°
7°
0
3.5°
7°
θ1
0
--
--
0
--
--
θ2
11°
12°
13°
11°
12°
13°
θ3
11°
12°
13°
11°
12°
13°
Note:
Dimension “D1” and “E1” do not include mold protrusion. Allowable protrusion is 0.25mm per side.
“D1” and “E1” are maximum plastic body size dimensions including mold mismatch.
RAiO TECHNOLOGY INC.
112/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Figure 7-5 : TQFP-80Pin Mechanical
RAiO TECHNOLOGY INC.
113/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Table 7-3 : TQFP-80 Package Dimension
Symbols
Dimensions in Millimeters
Dimensions in Inches
Min.
Typ.
Max.
Min.
Typ.
Max.
A
--
--
1.20
--
--
0.047
A1
0.05
0.10
0.15
0.002
0.004
0.006
A2
0.95
1.00
1.05
0.037
0.039
0.041
b
0.13
0.18
0.23
0.005
0.007
0.009
b1
0.13
0.16
0.19
0.005
0.006
0.007
c
0.09
--
0.20
0.004
--
0.008
c1
0.09
0.127
0.16
0.004
0.005
0.006
0.40 BSC.
e
0.016 BSC.
D
11.90
12.00
12.10
0.469
0.472
0.476
D1
9.90
10.00
10.10
0.390
0.394
0.398
E
11.90
12.00
12.10
0.469
0.472
0.476
E1
9.90
10.00
10.10
0.390
0.394
0.398
L
0.45
0.60
0.75
0.018
0.024
0.030
1.00 Ref.
L1
0.040 Ref.
R1
0.08
--
--
0.003
--
--
R2
0.08
--
0.20
0.003
--
0.008
θ
0
3°
7°
0
3°
7°
RAiO TECHNOLOGY INC.
114/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
7-5
Two Layers Character/Graphic LCD Controller
Part Number
Table 7-4 : Part Number
Product Name
(Full Name)
Resolution
Package
(Max)
RA8806L2N-T
LQFP-100
RA8806L2N-S
(20x14)
RA8806L2N-J
RA8806T1N-T
RA8806T1N-S
320x240
(Note 1)
TQFP-80
(10x10)
RA8806T1N-J
RA8806-T
Die
RA8806-S
ASCII ROM
RoHs
Compliance
ISO-8859-1 ~ 4
Yes
ISO-8859-1 ~ 4
Yes
ISO-8859-1 ~ 4
Yes
ISO-8859-1 ~ 4
Yes
ISO-8859-1 ~ 4
Yes
Japanese Kanji
(Note 3)
ISO-8859-1 ~ 4
Yes
Traditional Chinese
ISO-8859-1 ~ 4
Yes
Simple Chinese
ISO-8859-1 ~ 4
Yes
Font ROM
Traditional Chinese
(Note 2)
Simple Chinese
(Note 2)
Japanese Kanji
Traditional Chinese
(Note 2, 3)
Simple Chinese
(Note 2, 3)
Notes:
1. In Extension Mode, the maximum resolution is 640x240 or 320x480. See Section 6-14 “Extension
Mode and Display”.
2. In both Traditional and Simple Chinese font, it built-in 52 basic Japanese font.
3. LCD driver data bus of RA8806T1N is 4-bits.
4. All of the parts of RA008 are RoHS compliance and pass the detection of free PFOS and PFOA.
Table 7-5 : RA8806L2N vs. RA8806T1N
Difference
Package
LCD Data Bus
RAiO TECHNOLOGY INC.
RA8806L2N
RA8806T1N
LQFP-100Pins
TQFP-80Pins
20mm x 14mm
10mm x 10mm
4-bits or 8-bits
4-bits
115/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
8. Electrical Characteristic
8-1
Absolute Maximum Ratings
Table 8-1 : Absolute Maximum Ratings
Parameter
Symbol
Rating
Unit
Supply Voltage Range
VDD
-0.3 to 6.5
V
Input Voltage Range
VIN
-0.3 to VDD+0.3
V
Power Dissipation (VDD = 5V)
PD
≦30
Operation Temperature Range
TOPR
-30 to +85
℃
Storage Temperature
TST
-45 to +125
℃
260
℃
Soldering temperature (10
seconds). See Note 1.
TSOLDER
mW
Notes:
1. The humidity resistance of the flat package may be reduced if the package is immersed in
solder. Use a soldering technique that does not heat stress the package.
2. If the power supply has a high impedance, a large voltage differential can occur between the
input and supply voltages. Take appropriate care with the power supply and the layout of the
supply lines.
3. All supply voltages are referenced to Gnd = 0V.
RAiO TECHNOLOGY INC.
116/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
8-2
Two Layers Character/Graphic LCD Controller
DC Characteristic
Table 8-2 : DC Characteristic
Parameter
Symbol
Min.
Typ.
Max.
Unit
Condition
VDDP = VDDH
(Refer to
Figure 6-31)
VDDP = VDD
VDDH Open
(Refer to
Figure 6-30)
Operating Voltage(1)
VDDP / VDDH
4.5
5.0
5.5
V
Operating Voltage(2)
VDDP / VDD
2.4
3.3
3.6
V
Oscillator frequency
FOSC
4
8
12
MHz
VDD = 5V
External clock frequency
FCLK
4
8
12
MHz
VDD = 5V
DC to DC Output Voltage
VDD
2.8V
3.0
3.3
V
Add external
1uF Capacitor
VIH
VIL
0.8xVDD
Gnd
---
VDD
0.2xVDD
V
V
See Note 1, 3
VOH
VOL
VDD-0.4
Gnd
---
VDD
VDD+0.4
V
V
See Note 2, 3
VOH
VOL
IIH
IIL
IOPR
0.5xVDD
0.7xVDD
0.8xVDD
0.3xVDD
0.5xVDD
--1
--
--5
1.5
1.8
120
140
0.5
20
+1
-1
10
1.8
2.1
140
160
1
25
V
V
μA
μA
mA
mA
mA
μA
μA
μA
μA
See Note 4
0.2xVDD
Input
Input High Voltage
Input Low Voltage
Output
Output High Voltage
Output Low Voltage
Schmitt-trigger
Output High Voltage
Output Low Voltage
Input Leakage Current 1
Input Leakage Current 2
Operation Current
Standby Mode Current
(Normal Mode Current)
Display Off Current
Sleep Mode
ISB
IDISPLAY
ISLP
----
See Note 1, 3
See Note 2, 3
See Note 4
Case1
Case2
Case1
Case2
Case1
Case2
Notes:
1. ZCS1, CS2, ZWR, ZRD, RS, MI, DW, DB, KIN[7:0], TESTMD and TESTI are inputs. KIN[7:0]
built-in pull up resistors. The TESTMD and TESTI built-in pull down resistors.
2. INT, BUSY, CLK_OUT, PWM_OUT, KOUT[7:0], LP, FR, YD, ZDOFF, XCK and LD[7:0] are
outputs.
3. DATA[7:0] are Bi-direction.
4. The ZRST are Schmitt-trigger with pull-up input. The pulse width on ZRST must be at least
1024*tc. Note that pulses of more than a few seconds will cause DC voltages to be applied to
the LCD panel.
Case1: VDDP = VDD = AVDD = 3.3V, VDDH = NC, LCD Driver VDD = 5V, CLK = 4MHz, CLK_OUT:
Off, Segment=160, Common=160, FRM = 78Hz, TA=25℃.
Case2: VDDP = VDDH = 5V, VDD = AVDD = 3V, LCD Driver VDD = 3.3V, CLK = 4MHz, CLK_OUT:
Off, Segment=160, Common=160, FRM = 78Hz, TA=25℃.
RAiO TECHNOLOGY INC.
117/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
8-3
Two Layers Character/Graphic LCD Controller
Timing Characteristic Wavaform
Figure 8-1 is timing characteristic waveform and parameters for RA8806 driver interface signal.
tWLPH
tLH
LP
tSL
tLS
tWCKH
tWCKH
XCK
tWCK
tLD
XD[7:0]
tWCKL
LAST DATA
TOP DATA
tDS
tDH
ITCR
Figure 8-1 : Timing Characteristic Waveform
Table 8-3: Parameters
Parameter
Symbol
condition
Min.
Typ.
Max.
Shift Clock period
tWCK
Shift Clock “H” Pulse Width
tWCKH
tWCK/2 -10
tWCK/2 +10
ns
Shift Clock “L” Pulse Width
tWCKL
tWCK/2 -10
tWCK/2 +10
ns
Data Setup Time
tDS
tWCK/2 -30
tWCK/2
ns
Data Hold Time
tDH
tWCK/2
tWCK/2 +30
ns
Latch Pulse “H” Pulse Width
tWLPH
tWCK-10
tWCK+10
ns
Shift Clock Rise to Latch
Pulse Rise Time
tLD
0
Shift Clock Fall to Latch
Pulse Fall Time
tSL
tWCK/2 -10
Latch Clock Rise to Shift
Pulse Rise Time
tLS
tWCK/2 -10
ns
*2
Latch Clock Rise to Shift
Pulse Rise Time
tLH
tWCK/2 -10
ns
*2
Tsys/D
Unit
Note
ns
*1
ns
tWCK/2 +10
ns
Note :
1. Tsys : system clock period(i.e. System clock = 12MHz, Tsys = 83.3ns)
D : Driver clock selection(REG[01h] B3-2)
0 0 : XCK = CLK/8
0 1 : XCK = CLK/4(initial value)
1 0 : XCK = CLK/2
1 1 : XCK = CLK
2.The period also depends on the setting of register ITCR.
RAiO TECHNOLOGY INC.
118/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Appendix A . Application Circuit
Figure A-1 : Application Circuit for 3V or 5V
RAiO TECHNOLOGY INC.
119/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Appendix B . Frame Rate Table
Table B-1 : Frame Rate Table(1)
Seg
Com
CLK
(MHz)
320
320
320
320
320
320
320
320
320
320
320
320
320
320
320
320
320
320
320
320
320
320
320
320
320
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
4
4
4
4
4
6
6
6
6
6
8
8
8
8
8
10
10
10
10
10
12
12
12
12
12
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
4
4
4
4
4
6
6
6
6
6
8
8
8
8
8
10
10
10
10
10
12
12
12
12
12
XCK=CLK/2
REG[01h] Bit[3:2] = 10
Frame Rate
REG[90h]
(Hz)
ITCR
55
72
60
59
65
48
70
39
75
31
55
147
60
128
65
112
70
99
75
87
55
223
60
198
65
176
70
158
75
142
55
-60
-65
241
70
218
75
198
55
-60
-65
-70
-75
253
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
167
148
132
119
107
--228
208
190
----------------
XCK=CLK/4
REG[01h] Bit[3:2] = 01
Frame Rate
REG[90h]
(Hz)
ITCR
55
-60
-65
-70
-75
-55
34
60
24
65
16
70
9
75
3
55
72
60
59
65
48
70
39
75
31
55
109
60
94
65
80
70
69
75
59
55
147
60
128
65
112
70
99
75
87
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
54
44
36
29
23
110
96
84
74
65
167
148
132
119
107
224
200
180
163
148
-253
228
208
190
XCK=CLK/8
REG[01h] Bit[3:2] = 00
Frame Rate
REG[90h]
(Hz)
ITCR
55
-60
-65
-70
-75
-55
-60
-65
-70
-75
-55
-60
-65
-70
-75
-55
15
60
7
65
-70
-75
-55
34
60
24
65
16
70
9
75
3
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
-----25
18
12
7
3
54
44
36
29
23
82
70
60
52
44
110
96
84
74
65
Table B-2 : Frame Rate Table(2)
RAiO TECHNOLOGY INC.
120/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Seg
Com
CLK
(MHz)
Two Layers Character/Graphic LCD Controller
XCK=CLK/2
REG[01h] Bit[3:2] = 10
XCK=CLK/4
REG[01h] Bit[3:2] = 01
XCK=CLK/8
REG[01h] Bit[3:2] = 00
Frame Rate
(Hz)
REG[90h]
ITCR
Frame Rate
(Hz)
ITCR
Frame Rate
(Hz)
REG[90h]
ITCR
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
4
4
4
4
4
6
6
6
6
6
8
8
8
8
8
10
10
10
10
10
12
12
12
12
12
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
187
168
152
139
127
--248
228
210
----------------
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
74
64
56
49
43
130
116
104
94
85
187
168
152
139
127
244
220
200
183
168
--248
228
210
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
17
12
8
5
2
45
38
32
27
23
74
64
56
49
43
102
90
80
72
64
130
116
104
94
85
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
160
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
4
4
4
4
4
6
6
6
6
6
8
8
8
8
8
10
10
10
10
10
12
12
12
12
12
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
244
220
200
183
168
---------------------
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
102
90
80
72
64
173
155
140
127
116
244
220
200
183
168
---239
220
------
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
31
25
20
16
12
67
58
50
44
38
102
90
80
72
64
138
123
110
100
90
173
155
140
127
116
RAiO TECHNOLOGY INC.
121/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Table B-3 : Frame Rate Table(3)
Seg
Com
CLK
(MHz)
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
240
64
64
64
64
64
64
64
64
64
64
64
64
64
64
64
64
64
64
64
64
64
64
64
64
64
XCK=CLK/2
REG[01h] Bit[3:2] = 10
XCK=CLK/4
REG[01h] Bit[3:2] = 01
XCK=CLK/8
REG[01h] Bit[3:2] = 00
Frame Rate
(Hz)
REG[90h]
ITCR
Frame Rate
(Hz)
REG[90h]
ITCR
Frame Rate
(Hz)
REG[90h]
ITCR
4
4
4
4
4
6
6
6
6
6
8
8
8
8
8
10
10
10
10
10
12
12
12
12
12
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
224
200
180
163
148
----253
----------------
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
82
70
60
52
44
153
135
120
107
96
224
200
180
163
148
--240
219
200
----253
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
11
5
---47
38
30
24
18
82
70
60
52
44
118
103
90
80
70
153
135
120
107
96
4
4
4
4
4
6
6
6
6
6
8
8
8
8
8
10
10
10
10
10
12
12
12
12
12
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
--------------------------
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
224
200
180
163
148
----253
----------------
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
55
60
65
70
75
82
70
60
52
44
153
135
120
107
96
224
200
180
163
148
--240
219
200
----253
Note: The value of ITCR is in decimal.
RAiO TECHNOLOGY INC.
122/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Appendix C . Font Table - ASCII
When Bit-7 of register “FNCR” is “0”, the contents of ASCII Block Tables 1-4 are show as following Table C1~ Table C-3.
Table C-1 : ASCII Block 1
H
L
0
1 2 3
4 5
6 7
8 9 A B C D E F
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
RAiO TECHNOLOGY INC.
123/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Table C-2 : ASCII Block 2
H
L
0
1 2
3
4 5
6 7
8 9 A B C D E F
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
RAiO TECHNOLOGY INC.
124/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Table C-3 : ASCII Block 3
H
L
0
1
2 3
4 5
6 7
8 9 A B C D E F
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
RAiO TECHNOLOGY INC.
125/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Table C-4 : ASCII Block 4
H
L
0
1 2 3 4
5 6 7
8 9 A B C D E F
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
RAiO TECHNOLOGY INC.
126/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
When Bit-7 of register “FNCR” is “1”, the contents of ASCII Block Tables 1-4 are show as following Table C5 ~ Table C-8.
Table C-5 shows the standard character encoding of ISO/IEC 8859-1. ISO means International
Organization for Standardization. The ISO 8859-1 also less formally called “Latin-1” is he first eight-bits
coded character sets that developed by the ISO. It refers to ASCII that consisting of 192 characters from the
Latin script in range 0xA0-0xFF. This character encoding is used throughout Western Europe, includes
Albanian, Afrikaans, Breton, Danish, Faroese, Frisian, Galician, German, Greenlandic, Icelandic, Irish,
Italian, Latin, Luxembourgish, Norwegian, Portuguese, Rhaeto-Romanic, Scottish Gaelic, Spanish, Swedish.
English letters with no accent marks also can use ISO 8859-1.
In addition, it also commonly used in many languages outside Europe, such as Swahili, Indonesian,
Malaysian and Tagalog.
Table C-5 : ASCII Block 1(ISO 8859-1)
RAiO TECHNOLOGY INC.
127/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Table C-6 shows the standard characters of ISO/IEC 8859-2. ISO 8859-2 also cited as Latin-2 is the part 2
of the eight-bits coded character sets developed by ISO/IEC 8859. These code values can be used in
almost any data interchange system to communicate in the following European languages : Croatian, Czech,
Hungarian, Polish, Slovak, Slovenian, and Upper Sorbian. The Serbian, English, German, Latin can use
ISO 8859-2 as well. Furthermore it is suitable to represent some western European languages like Finnish
(with the exception of å used in Swedish and Finnish)
Table C-6 : ASCII Block 2(ISO 8859-2)
RAiO TECHNOLOGY INC.
128/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Table C-7 shows the standard characters of ISO/IEC 8859-3. ISO 8859-3 also known as Latin-3 or “South
European” is an eight-bits character encoding, third part of the ISO 8859 standard. It was designed
originally to cover Turkish, Maltese and Esperanto, though the introduction of ISO 8859-9 superseded it for
Turkish. The encoding remains popular with users of Esperanto and Maltese, though it also supports
English, German, Italian, Latin and Portuguese.
Table C-7 : ASCII Block 3(ISO 8859-3)
RAiO TECHNOLOGY INC.
129/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Table C-8 shows the standard characters of ISO/IEC 8859-4. ISO 8859-4 is known as Latin-4 or “ North
European”,is the forth part of the ISO 8859 eight-bits character encoding. It was designed originally to
cover Estonian, Greenlandic, Latvian, Lithuanian, and Sami. This character set also supports Danish,
English, Finnish, German, Latin, Norwegian, Slovenian, and Swedish.
Table C-8 : ASCII Block 4(ISO 8859-4)
RAiO TECHNOLOGY INC.
130/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Appendix D . Font Table - GB Code
RAiO TECHNOLOGY INC.
131/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
132/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
133/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
134/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
135/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
136/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
137/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
138/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
139/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
140/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
141/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
142/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
143/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
144/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
145/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
146/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
147/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
148/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
149/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
150/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
151/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
RAiO TECHNOLOGY INC.
Two Layers Character/Graphic LCD Controller
152/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Appendix E . Font Table - BIG-5 Code
A1
4
5
6
7
A
B
C
D
E
F
0
·
︶
︾
※
㊣
-
﹤
♀
1
,
﹔
{
〈
﹛
§
℅
×
﹥
♂
2
、
﹕
}
〉
﹜
〃
¯
÷
﹦
♁
3
。
﹖
︷
^
﹝
○
 ̄
±
~
☉
4
.
﹗
︸
﹀
﹞
●
_
√
∩
↑
5
‧
|
[
「
‘
△
ˍ
<
∪
↓
6
;
–
]
」
’
▲
﹉
>
⊥
←
7
:
︱
︹
﹁
“
◎
﹊
=
∠
→
8
?
—
︺
﹂
”
☆
﹍
≦
∟
↖
9
!
︳
【
『
〝
★
﹎
≧
⊿
↗
A
︰
╴
】
』
〞
◇
﹋
≠
㏒
↙
B
…
︴
︻
﹃
‵
◆
﹌
∞
㏑
↘
C
‥
﹏
︼
﹄
′
□
﹟
≒
∫
∥
D
﹐
(
《
﹙
#
■
﹠
≡
∮
∣
E
、
)
》
﹚
&
▽
﹡
﹢
∵
/
F
﹒
︵
︽
2
﹨
㎞
▁
┴
╰
3
Ⅹ
D
T
j
3
$
㏎
▂
┬
╯
4
〡
E
U
k
4
¥
㎡
▃
┤
═
5
〢
F
V
l
5
〒
㎎
▄
├
╞
6
〣
G
W
m
6
¢
㎏
▅
▔
╪
7
〤
H
X
n
7
£
㏄
▆
─
╡
8
〥
I
Y
o
8
%
°
▇
│
◢
9
〦
J
Z
p
9
@
兙
█
▕
◣
Ⅰ
〧
K
a
q
A
℃
兛
▏
┌
◥
Ⅱ
〨
L
b
r
B
℉
兞
▎
┐
◤
Ⅲ
〩
M
c
s
C
﹩
兝
▍
└
╱
Ⅳ
十
N
d
t
D
﹪
兡
▌
┘
╲
Ⅴ
卄
O
e
u
E
﹫
兣
▋
╭
╳
Ⅵ
卅
P
f
v
F
㏕
嗧
▊
4
Α
Ρ
ι
ㄅ
ㄓ
ㄣ
5
Β
Σ
κ
ㄆ
ㄔ
ㄤ
6
Γ
Τ
λ
ㄇ
ㄕ
ㄥ
7
Δ
Υ
μ
ㄈ
ㄖ
ㄦ
8
Ε
Φ
ν
ㄉ
ㄗ
ㄧ
9
Ζ
Χ
ξ
ㄊ
ㄘ
ㄨ
A
B
C
D
E
F
Η
Ψ
ο
ㄋ
ㄙ
ㄩ
Θ
Ω
π
ㄌ
ㄚ
․
Ι
α
ρ
ㄍ
ㄛ
Κ
β
σ
ㄎ
ㄜ
ˊ
Λ
γ
τ
ㄏ
ㄝ
ˇ
Μ
δ
υ
A2
4
5
6
7
A
B
C
D
E
F
0
\
㎜
瓩
▉
1
Ⅷ
B
R
h
1
⁄
㎝
糎
┼
╮
2
Ⅸ
C
S
i
A3
4
5
6
7
A
B
C
D
E
F
0
w
1
x
2
y
3
z
Ν
ε
φ
Ξ
ζ
χ
ㄐ
ㄠ
Ο
η
ψ
ㄑ
ㄡ
Π
θ
ω
ㄒ
ㄢ
ㄟ
*
▼
+
﹣
∴
0
Ⅶ
A
Q
g
ㄞ
ˋ
€
RAiO TECHNOLOGY INC.
153/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
A4
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
4
一
乙
丁
七
乃
九
了
二
人
儿
入
八
几
刀
刁
力
5
匕
十
卜
又
三
下
丈
上
丫
丸
凡
久
么
也
乞
于
6
亡
兀
刃
勺
千
叉
口
土
士
夕
大
女
子
孑
孓
寸
7
小
尢
尸
山
川
工
己
已
巳
巾
干
廾
弋
弓
才
丑
丐
不
中
丰
丹
之
尹
予
云
井
互
五
亢
仁
A
B
什
仃
仆
仇
仍
今
介
仄
元
允
內
六
兮
公
冗
凶
C
分
切
刈
勻
勾
勿
化
匹
午
升
卅
卞
厄
友
及
反
D
壬
天
夫
太
夭
孔
少
尤
尺
屯
巴
幻
廿
弔
引
心
E
戈
戶
手
扎
支
文
斗
斤
方
日
曰
月
木
欠
止
歹
F
毋
比
毛
氏
水
火
爪
父
爻
片
牙
牛
犬
王
丙
A5
1
丕
2
且
3
丘
4
主
5
乍
6
乏
7
乎
8
以
9
付
A
B
C
D
E
F
4
0
世
仔
仕
他
仗
代
令
5
仙
仞
充
兄
冉
冊
冬
凹
出
凸
刊
加
功
包
匆
北
6
匝
仟
半
卉
卡
占
卯
卮
去
可
古
右
召
叮
叩
叨
7
A
叼
司
叵
叫
另
只
史
叱
台
句
叭
叻
四
囚
外
央
失
奴
奶
孕
它
尼
巨
巧
左
市
布
平
幼
弁
B
弘
弗
必
戊
打
扔
扒
扑
斥
旦
朮
本
未
末
札
正
C
母
民
氐
永
汁
汀
氾
犯
玄
玉
瓜
瓦
甘
生
用
甩
D
田
由
甲
申
疋
白
皮
皿
目
矛
矢
石
示
禾
穴
立
E
丞
丟
乒
乓
乩
亙
交
亦
亥
仿
伉
伙
伊
伕
伍
伐
F
休
伏
仲
件
任
仰
仳
份
企
伋
光
兇
兆
先
全
A6
1
再
2
冰
3
列
4
刑
5
划
6
刎
7
刖
8
劣
9
匈
A
B
C
D
E
F
4
0
共
匡
匠
印
危
吉
吏
5
同
吊
吐
吁
吋
各
向
名
合
吃
后
吆
吒
因
回
囝
6
圳
地
在
圭
圬
圯
圩
夙
多
夷
夸
妄
奸
妃
好
她
7
A
如
妁
字
存
宇
守
宅
安
寺
尖
屹
州
帆
并
年
式
弛
忙
忖
戎
戌
戍
成
扣
扛
托
收
早
旨
旬
B
旭
曲
曳
有
朽
朴
朱
朵
次
此
死
氖
汝
汗
汙
江
C
池
汐
汕
污
汛
汍
汎
灰
牟
牝
百
竹
米
糸
缶
羊
D
羽
老
考
而
耒
耳
聿
肉
肋
肌
臣
自
至
臼
舌
舛
E
舟
艮
色
艾
虫
血
行
衣
西
阡
串
亨
位
住
佇
佗
F
佞
伴
佛
何
估
佐
佑
伽
伺
伸
佃
佔
似
但
佣
Example: The BIG-5 code of “中” is A4, A4, and BIG-5 code of “世” is A5, 40.
RAiO TECHNOLOGY INC.
154/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
A7
Two Layers Character/Graphic LCD Controller
1
你
2
伯
3
低
4
伶
5
余
6
佝
7
佈
8
佚
9
兌
A
B
C
D
E
F
4
0
作
克
免
兵
冶
冷
別
5
判
利
刪
刨
劫
助
努
劬
匣
即
卵
吝
吭
吞
吾
否
6
呎
吧
呆
呃
吳
呈
呂
君
吩
告
吹
吻
吸
吮
吵
吶
7
A
吠
吼
呀
吱
含
吟
听
囪
困
囤
囫
坊
坑
址
坍
均
坎
圾
坐
坏
圻
壯
夾
妝
妒
妨
妞
妣
妙
妖
B
妍
妤
妓
妊
妥
孝
孜
孚
孛
完
宋
宏
尬
局
屁
尿
C
尾
岐
岑
岔
岌
巫
希
序
庇
床
廷
弄
弟
彤
形
彷
D
役
忘
忌
志
忍
忱
快
忸
忪
戒
我
抄
抗
抖
技
扶
E
抉
扭
把
扼
找
批
扳
抒
扯
折
扮
投
抓
抑
抆
改
F
攻
攸
旱
更
束
李
杏
材
村
杜
杖
杞
杉
杆
杠
A8
1
杗
2
步
3
每
4
求
5
汞
6
沙
7
沁
8
沈
9
沉
A
B
C
D
E
F
4
0
杓
沅
沛
汪
決
沐
汰
5
沌
汨
沖
沒
汽
沃
汲
汾
汴
沆
汶
沍
沔
沘
沂
灶
6
灼
災
灸
牢
牡
牠
狄
狂
玖
甬
甫
男
甸
皂
盯
矣
7
A
私
秀
禿
究
系
罕
肖
肓
肝
肘
肛
肚
育
良
芒
芋
芍
見
角
言
谷
豆
豕
貝
赤
走
足
身
車
辛
B
辰
迂
迆
迅
迄
巡
邑
邢
邪
邦
那
酉
釆
里
防
阮
C
阱
阪
阬
並
乖
乳
事
些
亞
享
京
佯
依
侍
佳
使
D
佬
供
例
來
侃
佰
併
侈
佩
佻
侖
佾
侏
侑
佺
兔
E
兒
兕
兩
具
其
典
冽
函
刻
券
刷
刺
到
刮
制
剁
F
劾
劻
卒
協
卓
卑
卦
卷
卸
卹
取
叔
受
味
呵
A9
1
呸
2
咕
3
咀
4
呻
5
呷
6
咄
7
咒
8
咆
9
呼
A
B
C
D
E
F
4
0
咖
咐
呱
呶
和
咚
呢
5
周
咋
命
咎
固
垃
坷
坪
坩
坡
坦
坤
坼
夜
奉
奇
6
奈
奄
奔
妾
妻
委
妹
妮
姑
姆
姐
姍
始
姓
姊
妯
7
A
妳
姒
姅
孟
孤
季
宗
定
官
宜
宙
宛
尚
屈
居
屆
岷
岡
岸
岩
岫
岱
岳
帘
帚
帖
帕
帛
帑
幸
B
庚
店
府
底
庖
延
弦
弧
弩
往
征
彿
彼
忝
忠
忽
C
念
忿
怏
怔
怯
怵
怖
怪
怕
怡
性
怩
怫
怛
或
戕
D
房
戾
所
承
拉
拌
拄
抿
拂
抹
拒
招
披
拓
拔
拋
E
拈
抨
抽
押
拐
拙
拇
拍
抵
拚
抱
拘
拖
拗
拆
抬
F
拎
放
斧
於
旺
昔
易
昌
昆
昂
明
昀
昏
昕
昊
RAiO TECHNOLOGY INC.
155/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
AA
Two Layers Character/Graphic LCD Controller
1
服
2
朋
3
杭
4
枋
5
枕
6
東
7
果
8
杳
9
杷
A
B
C
D
E
F
4
0
昇
枇
枝
林
杯
杰
板
5
枉
松
析
杵
枚
枓
杼
杪
杲
欣
武
歧
歿
氓
氛
泣
6
注
泳
沱
泌
泥
河
沽
沾
沼
波
沫
法
泓
沸
泄
油
7
A
況
沮
泗
泅
泱
沿
治
泡
泛
泊
沬
泯
泜
泖
泠
炕
炎
炒
炊
炙
爬
爭
爸
版
牧
物
狀
狎
狙
狗
B
狐
玩
玨
玟
玫
玥
甽
疝
疙
疚
的
盂
盲
直
知
矽
C
社
祀
祁
秉
秈
空
穹
竺
糾
罔
羌
羋
者
肺
肥
肢
D
肱
股
肫
肩
肴
肪
肯
臥
臾
舍
芳
芝
芙
芭
芽
芟
E
芹
花
芬
芥
芯
芸
芣
芰
芾
芷
虎
虱
初
表
軋
迎
F
返
近
邵
邸
邱
邶
采
金
長
門
阜
陀
阿
阻
附
AB
1
隹
2
雨
3
青
4
非
5
亟
6
亭
7
亮
8
信
9
侵
A
B
C
D
E
F
4
0
陂
侯
便
俠
俑
俏
保
5
促
侶
俘
俟
俊
俗
侮
俐
俄
係
俚
俎
俞
侷
兗
冒
6
冑
冠
剎
剃
削
前
剌
剋
則
勇
勉
勃
勁
匍
南
卻
7
A
厚
叛
咬
哀
咨
哎
哉
咸
咦
咳
哇
哂
咽
咪
品
哄
哈
咯
咫
咱
咻
咩
咧
咿
囿
垂
型
垠
垣
垢
B
城
垮
垓
奕
契
奏
奎
奐
姜
姘
姿
姣
姨
娃
姥
姪
C
姚
姦
威
姻
孩
宣
宦
室
客
宥
封
屎
屏
屍
屋
峙
D
峒
巷
帝
帥
帟
幽
庠
度
建
弈
弭
彥
很
待
徊
律
E
徇
後
徉
怒
思
怠
急
怎
怨
恍
恰
恨
恢
恆
恃
恬
F
恫
恪
恤
扁
拜
挖
按
拼
拭
持
拮
拽
指
拱
拷
AC
1
括
2
拾
3
拴
4
挑
5
挂
6
政
7
故
8
斫
9
施
A
B
C
D
E
F
4
0
拯
既
春
昭
映
昧
是
5
星
昨
昱
昤
曷
柿
染
柱
柔
某
柬
架
枯
柵
柩
柯
6
柄
柑
枴
柚
查
枸
柏
柞
柳
枰
柙
柢
柝
柒
歪
殃
7
A
殆
段
毒
毗
氟
泉
洋
洲
洪
流
津
洌
洱
洞
洗
活
洽
派
洶
洛
泵
洹
洧
洸
洩
洮
洵
洎
洫
炫
B
為
炳
炬
炯
炭
炸
炮
炤
爰
牲
牯
牴
狩
狠
狡
玷
C
珊
玻
玲
珍
珀
玳
甚
甭
畏
界
畎
畋
疫
疤
疥
疢
D
疣
癸
皆
皇
皈
盈
盆
盃
盅
省
盹
相
眉
看
盾
盼
E
眇
矜
砂
研
砌
砍
祆
祉
祈
祇
禹
禺
科
秒
秋
穿
F
突
竿
竽
籽
紂
紅
紀
紉
紇
約
紆
缸
美
羿
耄
RAiO TECHNOLOGY INC.
156/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
AD
Two Layers Character/Graphic LCD Controller
1
耍
2
耑
3
耶
4
胖
5
胥
6
胚
7
胃
8
胄
9
背
A
B
C
D
E
F
4
0
耐
胡
胛
胎
胞
胤
胝
5
致
舢
苧
范
茅
苣
苛
苦
茄
若
茂
茉
苒
苗
英
茁
6
苜
苔
苑
苞
苓
苟
苯
茆
虐
虹
虻
虺
衍
衫
要
觔
7
A
計
訂
訃
貞
負
赴
赳
趴
軍
軌
述
迦
迢
迪
迥
迭
迫
迤
迨
郊
郎
郁
郃
酋
酊
重
閂
限
陋
陌
B
降
面
革
韋
韭
音
頁
風
飛
食
首
香
乘
亳
倌
倍
C
倣
俯
倦
倥
俸
倩
倖
倆
值
借
倚
倒
們
俺
倀
倔
D
倨
俱
倡
個
候
倘
俳
修
倭
倪
俾
倫
倉
兼
冤
冥
E
冢
凍
凌
准
凋
剖
剜
剔
剛
剝
匪
卿
原
厝
叟
哨
F
唐
唁
唷
哼
哥
哲
唆
哺
唔
哩
哭
員
唉
哮
哪
AE
1
唧
2
唇
3
哽
4
唏
5
圃
6
圄
7
埂
8
埔
9
埋
A
B
C
D
E
F
4
0
哦
埃
堉
夏
套
奘
奚
5
娑
娘
娜
娟
娛
娓
姬
娠
娣
娩
娥
娌
娉
孫
屘
宰
6
害
家
宴
宮
宵
容
宸
射
屑
展
屐
峭
峽
峻
峪
峨
7
A
峰
島
崁
峴
差
席
師
庫
庭
座
弱
徒
徑
徐
恙
恣
恥
恐
恕
恭
恩
息
悄
悟
悚
悍
悔
悌
悅
悖
B
扇
拳
挈
拿
捎
挾
振
捕
捂
捆
捏
捉
挺
捐
挽
挪
C
挫
挨
捍
捌
效
敉
料
旁
旅
時
晉
晏
晃
晒
晌
晅
D
晁
書
朔
朕
朗
校
核
案
框
桓
根
桂
桔
栩
梳
栗
E
桌
桑
栽
柴
桐
桀
格
桃
株
桅
栓
栘
桁
殊
殉
殷
F
氣
氧
氨
氦
氤
泰
浪
涕
消
涇
浦
浸
海
浙
涓
AF
1
涉
2
浮
3
浚
4
浴
5
浩
6
涌
7
涊
8
浹
9
涅
A
B
C
D
E
F
4
0
浬
浥
涔
烊
烘
烤
烙
5
烈
烏
爹
特
狼
狹
狽
狸
狷
玆
班
琉
珮
珠
珪
珞
6
畔
畝
畜
畚
留
疾
病
症
疲
疳
疽
疼
疹
痂
疸
皋
7
A
皰
益
盍
盎
眩
真
眠
眨
矩
砰
砧
砸
砝
破
砷
砥
砭
砠
砟
砲
祕
祐
祠
祟
祖
神
祝
祗
祚
秤
B
秣
秧
租
秦
秩
秘
窄
窈
站
笆
笑
粉
紡
紗
紋
紊
C
素
索
純
紐
紕
級
紜
納
紙
紛
缺
罟
羔
翅
翁
耆
D
耘
耕
耙
耗
耽
耿
胱
脂
胰
脅
胭
胴
脆
胸
胳
脈
E
能
脊
胼
胯
臭
臬
舀
舐
航
舫
舨
般
芻
茫
荒
荔
F
荊
茸
荐
草
茵
茴
荏
茲
茹
茶
茗
荀
茱
茨
荃
RAiO TECHNOLOGY INC.
157/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
B0
Two Layers Character/Graphic LCD Controller
1
蚊
2
蚪
3
蚓
4
蚤
5
蚩
6
蚌
7
蚣
8
蚜
9
衰
A
B
C
D
E
F
4
0
虔
衷
袁
袂
衽
衹
記
5
訐
討
訌
訕
訊
託
訓
訖
訏
訑
豈
豺
豹
財
貢
起
6
躬
軒
軔
軏
辱
送
逆
迷
退
迺
迴
逃
追
逅
迸
邕
7
A
郡
郝
郢
酒
配
酌
釘
針
釗
釜
釙
閃
院
陣
陡
陛
陝
除
陘
陞
隻
飢
馬
骨
高
鬥
鬲
鬼
乾
偺
B
偽
停
假
偃
偌
做
偉
健
偶
偎
偕
偵
側
偷
偏
倏
C
偯
偭
兜
冕
凰
剪
副
勒
務
勘
動
匐
匏
匙
匿
區
D
匾
參
曼
商
啪
啦
啄
啞
啡
啃
啊
唱
啖
問
啕
唯
E
啤
唸
售
啜
唬
啣
唳
啁
啗
圈
國
圉
域
堅
堊
堆
F
埠
埤
基
堂
堵
執
培
夠
奢
娶
婁
婉
婦
婪
婀
B1
1
婢
2
婚
3
婆
4
婊
5
孰
6
寇
7
寅
8
寄
9
寂
A
B
C
D
E
F
4
0
娼
宿
密
尉
專
將
屠
5
屜
屝
崇
崆
崎
崛
崖
崢
崑
崩
崔
崙
崤
崧
崗
巢
6
常
帶
帳
帷
康
庸
庶
庵
庾
張
強
彗
彬
彩
彫
得
7
A
徙
從
徘
御
徠
徜
恿
患
悉
悠
您
惋
悴
惦
悽
情
悻
悵
惜
悼
惘
惕
惆
惟
悸
惚
惇
戚
戛
扈
B
掠
控
捲
掖
探
接
捷
捧
掘
措
捱
掩
掉
掃
掛
捫
C
推
掄
授
掙
採
掬
排
掏
掀
捻
捩
捨
捺
敝
敖
救
D
教
敗
啟
敏
敘
敕
敔
斜
斛
斬
族
旋
旌
旎
晝
晚
E
晤
晨
晦
晞
曹
勗
望
梁
梯
梢
梓
梵
桿
桶
梱
梧
F
梗
械
梃
棄
梭
梆
梅
梔
條
梨
梟
梡
梂
欲
殺
B2
1
毬
2
氫
3
涎
4
涼
5
淳
6
淙
7
液
8
淡
9
淌
A
B
C
D
E
F
4
0
毫
淤
添
淺
清
淇
淋
5
涯
淑
涮
淞
淹
涸
混
淵
淅
淒
渚
涵
淚
淫
淘
淪
6
深
淮
淨
淆
淄
涪
淬
涿
淦
烹
焉
焊
烽
烯
爽
牽
7
A
犁
猜
猛
猖
猓
猙
率
琅
琊
球
理
現
琍
瓠
瓶
瓷
甜
產
略
畦
畢
異
疏
痔
痕
疵
痊
痍
皎
盔
B
盒
盛
眷
眾
眼
眶
眸
眺
硫
硃
硎
祥
票
祭
移
窒
C
窕
笠
笨
笛
第
符
笙
笞
笮
粒
粗
粕
絆
絃
統
紮
D
紹
紼
絀
細
紳
組
累
終
紲
紱
缽
羞
羚
翌
翎
習
E
耜
聊
聆
脯
脖
脣
脫
脩
脰
脤
舂
舵
舷
舶
船
莎
F
莞
莘
荸
莢
莖
莽
莫
莒
莊
莓
莉
莠
荷
荻
荼
RAiO TECHNOLOGY INC.
158/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
B3
Two Layers Character/Graphic LCD Controller
1
莧
2
處
3
彪
4
蛇
5
蛀
6
蚶
7
蛄
8
蚵
9
蛆
A
B
C
D
E
F
4
0
莆
蛋
蚱
蚯
蛉
術
袞
5
袈
被
袒
袖
袍
袋
覓
規
訪
訝
訣
訥
許
設
訟
訛
6
訢
豉
豚
販
責
貫
貨
貪
貧
赧
赦
趾
趺
軛
軟
這
7
A
逍
通
逗
連
速
逝
逐
逕
逞
造
透
逢
逖
逛
途
部
郭
都
酗
野
釵
釦
釣
釧
釭
釩
閉
陪
陵
陳
B
陸
陰
陴
陶
陷
陬
雀
雪
雩
章
竟
頂
頃
魚
鳥
鹵
C
鹿
麥
麻
傢
傍
傅
備
傑
傀
傖
傘
傚
最
凱
割
剴
D
創
剩
勞
勝
勛
博
厥
啻
喀
喧
啼
喊
喝
喘
喂
喜
E
喪
喔
喇
喋
喃
喳
單
喟
唾
喲
喚
喻
喬
喱
啾
喉
F
喫
喙
圍
堯
堪
場
堤
堰
報
堡
堝
堠
壹
壺
奠
B4
1
媚
2
婿
3
媒
4
媛
5
媧
6
孳
7
孱
8
寒
9
富
A
B
C
D
E
F
4
0
婷
寓
寐
尊
尋
就
嵌
5
嵐
崴
嵇
巽
幅
帽
幀
幃
幾
廊
廁
廂
廄
弼
彭
復
6
循
徨
惑
惡
悲
悶
惠
愜
愣
惺
愕
惰
惻
惴
慨
惱
7
A
愎
惶
愉
愀
愒
戟
扉
掣
掌
描
揀
揩
揉
揆
揍
插
揣
提
握
揖
揭
揮
捶
援
揪
換
摒
揚
揹
敞
B
敦
敢
散
斑
斐
斯
普
晰
晴
晶
景
暑
智
晾
晷
曾
C
替
期
朝
棺
棕
棠
棘
棗
椅
棟
棵
森
棧
棹
棒
棲
D
棣
棋
棍
植
椒
椎
棉
棚
楮
棻
款
欺
欽
殘
殖
殼
E
毯
氮
氯
氬
港
游
湔
渡
渲
湧
湊
渠
渥
渣
減
湛
F
湘
渤
湖
湮
渭
渦
湯
渴
湍
渺
測
湃
渝
渾
滋
B5
1
渙
2
湎
3
湣
4
湄
5
湲
6
湩
7
湟
8
焙
9
焚
A
B
C
D
E
F
4
0
溉
焦
焰
無
然
煮
焜
5
牌
犄
犀
猶
猥
猴
猩
琺
琪
琳
琢
琥
琵
琶
琴
琯
6
琛
琦
琨
甥
甦
畫
番
痢
痛
痣
痙
痘
痞
痠
登
發
7
A
皖
皓
皴
盜
睏
短
硝
硬
硯
稍
稈
程
稅
稀
窘
窗
窖
童
竣
等
策
筆
筐
筒
答
筍
筋
筏
筑
粟
B
粥
絞
結
絨
絕
紫
絮
絲
絡
給
絢
絰
絳
善
翔
翕
C
耋
聒
肅
腕
腔
腋
腑
腎
脹
腆
脾
腌
腓
腴
舒
舜
D
菩
萃
菸
萍
菠
菅
萋
菁
華
菱
菴
著
萊
菰
萌
菌
E
菽
菲
菊
萸
萎
萄
菜
萇
菔
菟
虛
蛟
蛙
蛭
蛔
蛛
F
蛤
蛐
蛞
街
裁
裂
袱
覃
視
註
詠
評
詞
証
詁
RAiO TECHNOLOGY INC.
159/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
B6
Two Layers Character/Graphic LCD Controller
1
詛
2
詐
3
詆
4
訴
5
診
6
訶
7
詖
8
象
9
貂
A
B
C
D
E
F
4
0
詔
貯
貼
貳
貽
賁
費
5
賀
貴
買
貶
貿
貸
越
超
趁
跎
距
跋
跚
跑
跌
跛
6
跆
軻
軸
軼
辜
逮
逵
週
逸
進
逶
鄂
郵
鄉
郾
酣
7
A
酥
量
鈔
鈕
鈣
鈉
鈞
鈍
鈐
鈇
鈑
閔
閏
開
閑
間
閒
閎
隊
階
隋
陽
隅
隆
隍
陲
隄
雁
雅
雄
B
集
雇
雯
雲
韌
項
順
須
飧
飪
飯
飩
飲
飭
馮
馭
C
黃
黍
黑
亂
傭
債
傲
傳
僅
傾
催
傷
傻
傯
僇
剿
D
剷
剽
募
勦
勤
勢
勣
匯
嗟
嗨
嗓
嗦
嗎
嗜
嗇
嗑
E
嗣
嗤
嗯
嗚
嗡
嗅
嗆
嗥
嗉
園
圓
塞
塑
塘
塗
塚
F
塔
填
塌
塭
塊
塢
塒
塋
奧
嫁
嫉
嫌
媾
媽
媼
B7
1
嫂
2
媲
3
嵩
4
嵯
5
幌
6
幹
7
廉
8
廈
9
弒
A
B
C
D
E
F
4
0
媳
彙
徬
微
愚
意
慈
5
感
想
愛
惹
愁
愈
慎
慌
慄
慍
愾
愴
愧
愍
愆
愷
6
戡
戢
搓
搾
搞
搪
搭
搽
搬
搏
搜
搔
損
搶
搖
搗
7
A
搆
敬
斟
新
暗
暉
暇
暈
暖
暄
暘
暍
會
榔
業
楚
楷
楠
楔
極
椰
概
楊
楨
楫
楞
楓
楹
榆
楝
B
楣
楛
歇
歲
毀
殿
毓
毽
溢
溯
滓
溶
滂
源
溝
滇
C
滅
溥
溘
溼
溺
溫
滑
準
溜
滄
滔
溪
溧
溴
煎
煙
D
煩
煤
煉
照
煜
煬
煦
煌
煥
煞
煆
煨
煖
爺
牒
猷
E
獅
猿
猾
瑯
瑚
瑕
瑟
瑞
瑁
琿
瑙
瑛
瑜
當
畸
瘀
F
痰
瘁
痲
痱
痺
痿
痴
痳
盞
盟
睛
睫
睦
睞
督
B8
1
睪
2
睬
3
睜
4
睥
5
睨
6
睢
7
矮
8
碎
9
碰
A
B
C
D
E
F
4
0
睹
碗
碘
碌
碉
硼
碑
5
碓
硿
祺
祿
禁
萬
禽
稜
稚
稠
稔
稟
稞
窟
窠
筷
6
節
筠
筮
筧
粱
粳
粵
經
絹
綑
綁
綏
絛
置
罩
罪
7
A
署
義
羨
群
聖
聘
肆
肄
腱
腰
腸
腥
腮
腳
腫
腹
腺
腦
舅
艇
蒂
葷
落
萱
葵
葦
葫
葉
葬
葛
B
萼
萵
葡
董
葩
葭
葆
虞
虜
號
蛹
蜓
蜈
蜇
蜀
蛾
C
蛻
蜂
蜃
蜆
蜊
衙
裟
裔
裙
補
裘
裝
裡
裊
裕
裒
D
覜
解
詫
該
詳
試
詩
詰
誇
詼
詣
誠
話
誅
詭
詢
E
詮
詬
詹
詻
訾
詨
豢
貊
貉
賊
資
賈
賄
貲
賃
賂
F
賅
跡
跟
跨
路
跳
跺
跪
跤
跦
躲
較
載
軾
輊
RAiO TECHNOLOGY INC.
160/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
B9
Two Layers Character/Graphic LCD Controller
1
農
2
運
3
遊
4
道
5
遂
6
達
7
逼
8
違
9
遐
A
B
C
D
E
F
4
0
辟
遇
遏
過
遍
遑
逾
5
遁
鄒
鄗
酬
酪
酩
釉
鈷
鉗
鈸
鈽
鉀
鈾
鉛
鉋
鉤
6
鉑
鈴
鉉
鉍
鉅
鈹
鈿
鉚
閘
隘
隔
隕
雍
雋
雉
雊
7
A
雷
電
雹
零
靖
靴
靶
預
頑
頓
頊
頒
頌
飼
飴
飽
飾
馳
馱
馴
髡
鳩
麂
鼎
鼓
鼠
僧
僮
僥
僖
B
僭
僚
僕
像
僑
僱
僎
僩
兢
凳
劃
劂
匱
厭
嗾
嘀
C
嘛
嘗
嗽
嘔
嘆
嘉
嘍
嘎
嗷
嘖
嘟
嘈
嘐
嗶
團
圖
D
塵
塾
境
墓
墊
塹
墅
塽
壽
夥
夢
夤
奪
奩
嫡
嫦
E
嫩
嫗
嫖
嫘
嫣
孵
寞
寧
寡
寥
實
寨
寢
寤
察
對
F
屢
嶄
嶇
幛
幣
幕
幗
幔
廓
廖
弊
彆
彰
徹
慇
BA
1
態
2
慷
3
慢
4
慣
5
慟
6
慚
7
慘
8
慵
9
截
A
B
C
D
E
F
4
0
愿
撇
摘
摔
撤
摸
摟
5
摺
摑
摧
搴
摭
摻
敲
斡
旗
旖
暢
暨
暝
榜
榨
榕
6
槁
榮
槓
構
榛
榷
榻
榫
榴
槐
槍
榭
槌
榦
槃
榣
7
A
歉
歌
氳
漳
演
滾
漓
滴
漩
漾
漠
漬
漏
漂
漢
滿
滯
漆
漱
漸
漲
漣
漕
漫
漯
澈
漪
滬
漁
滲
B
滌
滷
熔
熙
煽
熊
熄
熒
爾
犒
犖
獄
獐
瑤
瑣
瑪
C
瑰
瑭
甄
疑
瘧
瘍
瘋
瘉
瘓
盡
監
瞄
睽
睿
睡
磁
D
碟
碧
碳
碩
碣
禎
福
禍
種
稱
窪
窩
竭
端
管
箕
E
箋
筵
算
箝
箔
箏
箸
箇
箄
粹
粽
精
綻
綰
綜
綽
F
綾
綠
緊
綴
網
綱
綺
綢
綿
綵
綸
維
緒
緇
綬
BB
1
翠
2
翡
3
翟
4
聞
5
聚
6
肇
7
腐
8
膀
9
膏
A
B
C
D
E
F
4
0
罰
膈
膊
腿
膂
臧
臺
5
與
舔
舞
艋
蓉
蒿
蓆
蓄
蒙
蒞
蒲
蒜
蓋
蒸
蓀
蓓
6
蒐
蒼
蓑
蓊
蜿
蜜
蜻
蜢
蜥
蜴
蜘
蝕
蜷
蜩
裳
褂
7
A
裴
裹
裸
製
裨
褚
裯
誦
誌
語
誣
認
誡
誓
誤
說
誥
誨
誘
誑
誚
誧
豪
貍
貌
賓
賑
賒
赫
趙
B
趕
跼
輔
輒
輕
輓
辣
遠
遘
遜
遣
遙
遞
遢
遝
遛
C
鄙
鄘
鄞
酵
酸
酷
酴
鉸
銀
銅
銘
銖
鉻
銓
銜
銨
D
鉼
銑
閡
閨
閩
閣
閥
閤
隙
障
際
雌
雒
需
靼
鞅
E
韶
頗
領
颯
颱
餃
餅
餌
餉
駁
骯
骰
髦
魁
魂
鳴
F
鳶
鳳
麼
鼻
齊
億
儀
僻
僵
價
儂
儈
儉
儅
凜
RAiO TECHNOLOGY INC.
161/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
BC
Two Layers Character/Graphic LCD Controller
1
劈
2
劉
3
劍
4
劊
5
勰
6
厲
7
嘮
8
嘻
9
嘹
A
B
C
D
E
F
4
0
劇
嘲
嘿
嘴
嘩
噓
噎
5
噗
噴
嘶
嘯
嘰
墀
墟
增
墳
墜
墮
墩
墦
奭
嬉
嫻
6
嬋
嫵
嬌
嬈
寮
寬
審
寫
層
履
嶝
嶔
幢
幟
幡
廢
7
A
廚
廟
廝
廣
廠
彈
影
德
徵
慶
慧
慮
慝
慕
憂
慼
慰
慫
慾
憧
憐
憫
憎
憬
憚
憤
憔
憮
戮
摩
B
摯
摹
撞
撲
撈
撐
撰
撥
撓
撕
撩
撒
撮
播
撫
撚
C
撬
撙
撢
撳
敵
敷
數
暮
暫
暴
暱
樣
樟
槨
樁
樞
D
標
槽
模
樓
樊
槳
樂
樅
槭
樑
歐
歎
殤
毅
毆
漿
E
潼
澄
潑
潦
潔
澆
潭
潛
潸
潮
澎
潺
潰
潤
澗
潘
F
滕
潯
潠
潟
熟
熬
熱
熨
牖
犛
獎
獗
瑩
璋
璃
BD
1
璀
2
畿
3
瘠
4
瘩
5
瘟
6
瘤
7
瘦
8
瘡
9
瘢
A
B
C
D
E
F
4
0
瑾
皚
皺
盤
瞎
瞇
瞌
5
瞑
瞋
磋
磅
確
磊
碾
磕
碼
磐
稿
稼
穀
稽
稷
稻
6
窯
窮
箭
箱
範
箴
篆
篇
篁
箠
篌
糊
締
練
緯
緻
7
A
緘
緬
緝
編
緣
線
緞
緩
綞
緙
緲
緹
罵
罷
羯
翩
耦
膛
膜
膝
膠
膚
膘
蔗
蔽
蔚
蓮
蔬
蔭
蔓
B
蔑
蔣
蔡
蔔
蓬
蔥
蓿
蔆
螂
蝴
蝶
蝠
蝦
蝸
蝨
蝙
C
蝗
蝌
蝓
衛
衝
褐
複
褒
褓
褕
褊
誼
諒
談
諄
誕
D
請
諸
課
諉
諂
調
誰
論
諍
誶
誹
諛
豌
豎
豬
賠
E
賞
賦
賤
賬
賭
賢
賣
賜
質
賡
赭
趟
趣
踫
踐
踝
F
踢
踏
踩
踟
踡
踞
躺
輝
輛
輟
輩
輦
輪
輜
輞
BE
1
適
2
遮
3
遨
4
遭
5
遷
6
鄰
7
鄭
8
鄧
9
鄱
A
B
C
D
E
F
4
0
輥
醇
醉
醋
醃
鋅
銻
5
銷
鋪
銬
鋤
鋁
銳
銼
鋒
鋇
鋰
銲
閭
閱
霄
霆
震
6
霉
靠
鞍
鞋
鞏
頡
頫
頜
颳
養
餓
餒
餘
駝
駐
駟
7
A
駛
駑
駕
駒
駙
骷
髮
髯
鬧
魅
魄
魷
魯
鴆
鴉
鴃
麩
麾
黎
墨
齒
儒
儘
儔
儐
儕
冀
冪
凝
劑
B
劓
勳
噙
噫
噹
噩
噤
噸
噪
器
噥
噱
噯
噬
噢
噶
C
壁
墾
壇
壅
奮
嬝
嬴
學
寰
導
彊
憲
憑
憩
憊
懍
D
憶
憾
懊
懈
戰
擅
擁
擋
撻
撼
據
擄
擇
擂
操
撿
E
擒
擔
撾
整
曆
曉
暹
曄
曇
暸
樽
樸
樺
橙
橫
橘
F
樹
橄
橢
橡
橋
橇
樵
機
橈
歙
歷
氅
濂
澱
澡
RAiO TECHNOLOGY INC.
162/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
BF
Two Layers Character/Graphic LCD Controller
1
澤
2
濁
3
澧
4
澳
5
激
6
澹
7
澶
8
澦
9
澠
A
B
C
D
E
F
4
0
濃
澴
熾
燉
燐
燒
燈
5
燕
熹
燎
燙
燜
燃
燄
獨
璜
璣
璘
璟
璞
瓢
甌
甍
6
瘴
瘸
瘺
盧
盥
瞠
瞞
瞟
瞥
磨
磚
磬
磧
禦
積
穎
7
A
穆
穌
穋
窺
篙
簑
築
篤
篛
篡
篩
篦
糕
糖
縊
縑
縈
縛
縣
縞
縝
縉
縐
罹
羲
翰
翱
翮
耨
膳
B
膩
膨
臻
興
艘
艙
蕊
蕙
蕈
蕨
蕩
蕃
蕉
蕭
蕪
蕞
C
螃
螟
螞
螢
融
衡
褪
褲
褥
褫
褡
親
覦
諦
諺
諫
D
諱
謀
諜
諧
諮
諾
謁
謂
諷
諭
諳
諶
諼
豫
豭
貓
E
賴
蹄
踱
踴
蹂
踹
踵
輻
輯
輸
輳
辨
辦
遵
遴
選
F
遲
遼
遺
鄴
醒
錠
錶
鋸
錳
錯
錢
鋼
錫
錄
錚
C0
1
錦
2
錡
3
錕
4
錮
5
錙
6
閻
7
隧
8
隨
9
險
A
B
C
D
E
F
4
0
錐
雕
霎
霑
霖
霍
霓
5
霏
靛
靜
靦
鞘
頰
頸
頻
頷
頭
頹
頤
餐
館
餞
餛
6
餡
餚
駭
駢
駱
骸
骼
髻
髭
鬨
鮑
鴕
鴣
鴦
鴨
鴒
7
A
鴛
默
黔
龍
龜
優
償
儡
儲
勵
嚎
嚀
嚐
嚅
嚇
嚏
壕
壓
壑
壎
嬰
嬪
嬤
孺
尷
屨
嶼
嶺
嶽
嶸
B
幫
彌
徽
應
懂
懇
懦
懋
戲
戴
擎
擊
擘
擠
擰
擦
C
擬
擱
擢
擭
斂
斃
曙
曖
檀
檔
檄
檢
檜
櫛
檣
橾
D
檗
檐
檠
歜
殮
毚
氈
濘
濱
濟
濠
濛
濤
濫
濯
澀
E
濬
濡
濩
濕
濮
濰
燧
營
燮
燦
燥
燭
燬
燴
燠
爵
F
牆
獰
獲
璩
環
璦
璨
癆
療
癌
盪
瞳
瞪
瞰
瞬
C1
1
瞭
2
矯
3
磷
4
磺
5
磴
6
磯
7
礁
8
禧
9
禪
A
B
C
D
E
F
4
0
瞧
穗
窿
簇
簍
篾
篷
5
簌
篠
糠
糜
糞
糢
糟
糙
糝
縮
績
繆
縷
縲
繃
縫
6
總
縱
繅
繁
縴
縹
繈
縵
縿
縯
罄
翳
翼
聱
聲
聰
7
A
聯
聳
臆
臃
膺
臂
臀
膿
膽
臉
膾
臨
舉
艱
薪
薄
蕾
薜
薑
薔
薯
薛
薇
薨
薊
虧
蟀
蟑
螳
蟒
B
蟆
螫
螻
螺
蟈
蟋
褻
褶
襄
褸
褽
覬
謎
謗
謙
講
C
謊
謠
謝
謄
謐
豁
谿
豳
賺
賽
購
賸
賻
趨
蹉
蹋
D
蹈
蹊
轄
輾
轂
轅
輿
避
遽
還
邁
邂
邀
鄹
醣
醞
E
醜
鍍
鎂
錨
鍵
鍊
鍥
鍋
錘
鍾
鍬
鍛
鍰
鍚
鍔
闊
F
闋
闌
闈
闆
隱
隸
雖
霜
霞
鞠
韓
顆
颶
餵
騁
RAiO TECHNOLOGY INC.
163/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
C2
Two Layers Character/Graphic LCD Controller
1
鮮
2
鮫
3
鮪
4
鮭
5
鴻
6
鴿
7
麋
8
黏
9
點
A
B
C
D
E
F
4
0
駿
黜
黝
黛
鼾
齋
叢
5
嚕
嚮
壙
壘
嬸
彝
懣
戳
擴
擲
擾
攆
擺
擻
擷
斷
6
曜
朦
檳
檬
櫃
檻
檸
櫂
檮
檯
歟
歸
殯
瀉
瀋
濾
7
A
瀆
濺
瀑
瀏
燻
燼
燾
燸
獷
獵
璧
璿
甕
癖
癘
癒
瞽
瞿
瞻
瞼
礎
禮
穡
穢
穠
竄
竅
簫
簧
簪
B
簞
簣
簡
糧
織
繕
繞
繚
繡
繒
繙
罈
翹
翻
職
聶
C
臍
臏
舊
藏
薩
藍
藐
藉
薰
薺
薹
薦
蟯
蟬
蟲
蟠
D
覆
覲
觴
謨
謹
謬
謫
豐
贅
蹙
蹣
蹦
蹤
蹟
蹕
軀
E
轉
轍
邇
邃
邈
醫
醬
釐
鎔
鎊
鎖
鎢
鎳
鎮
鎬
鎰
F
鎘
鎚
鎗
闔
闖
闐
闕
離
雜
雙
雛
雞
霤
鞣
鞦
C3
1
韹
2
額
3
顏
4
題
5
顎
6
顓
7
颺
8
餾
9
餿
A
B
C
D
E
F
4
0
鞭
餽
餮
馥
騎
髁
鬃
5
鬆
魏
魎
魍
鯊
鯉
鯽
鯈
鯀
鵑
鵝
鵠
黠
鼕
鼬
儳
6
嚥
壞
壟
壢
寵
龐
廬
懲
懷
懶
懵
攀
攏
曠
曝
櫥
7
A
櫝
櫚
櫓
瀛
瀟
瀨
瀚
瀝
瀕
瀘
爆
爍
牘
犢
獸
獺
璽
瓊
瓣
疇
疆
癟
癡
矇
礙
禱
穫
穩
簾
簿
B
簸
簽
簷
籀
繫
繭
繹
繩
繪
羅
繳
羶
羹
羸
臘
藩
C
藝
藪
藕
藤
藥
藷
蟻
蠅
蠍
蟹
蟾
襠
襟
襖
襞
譁
D
譜
識
證
譚
譎
譏
譆
譙
贈
贊
蹼
蹲
躇
蹶
蹬
蹺
E
蹴
轔
轎
辭
邊
邋
醱
醮
鏡
鏑
鏟
鏃
鏈
鏜
鏝
鏖
F
鏢
鏍
鏘
鏤
鏗
鏨
關
隴
難
霪
霧
靡
韜
韻
類
C4
1
顛
2
颼
3
饅
4
饉
5
騖
6
騙
7
鬍
8
鯨
9
鯧
A
B
C
D
E
F
4
0
願
鯖
鯛
鶉
鵡
鵲
鵪
5
鵬
麒
麗
麓
麴
勸
嚨
嚷
嚶
嚴
嚼
壤
孀
孃
孽
寶
6
巉
懸
懺
攘
攔
攙
曦
朧
櫬
瀾
瀰
瀲
爐
獻
瓏
癢
7
A
癥
礦
礪
礬
礫
竇
競
籌
籃
籍
糯
糰
辮
繽
繼
纂
罌
耀
臚
艦
藻
藹
蘑
藺
蘆
蘋
蘇
蘊
蠔
蠕
B
襤
覺
觸
議
譬
警
譯
譟
譫
贏
贍
躉
躁
躅
躂
醴
C
釋
鐘
鐃
鏽
闡
霰
飄
饒
饑
馨
騫
騰
騷
騵
鰓
鰍
D
鹹
麵
黨
鼯
齟
齣
齡
儷
儸
囁
囀
囂
夔
屬
巍
懼
E
懾
攝
攜
斕
曩
櫻
欄
櫺
殲
灌
爛
犧
瓖
瓔
癩
矓
F
籐
纏
續
羼
蘗
蘭
蘚
蠣
蠢
蠡
蠟
襪
襬
覽
譴
RAiO TECHNOLOGY INC.
164/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
C5
Two Layers Character/Graphic LCD Controller
1
譽
2
贓
3
躊
4
躍
5
躋
6
轟
7
辯
8
醺
9
鐮
A
B
C
D
E
F
4
0
護
鐳
鐵
鐺
鐸
鐲
鐫
5
闢
霸
霹
露
響
顧
顥
饗
驅
驃
驀
騾
髏
魔
魑
鰭
6
鰥
鶯
鶴
鷂
鶸
麝
黯
鼙
齜
齦
齧
儼
儻
囈
囊
囉
7
A
孿
巔
巒
彎
懿
攤
權
歡
灑
灘
玀
瓤
疊
癮
癬
禳
籠
籟
聾
聽
臟
襲
襯
觼
讀
贖
贗
躑
躓
轡
B
酈
鑄
鑑
鑒
霽
霾
韃
韁
顫
饕
驕
驍
髒
鬚
鱉
鰱
C
鰾
鰻
鷓
鷗
鼴
齬
齪
龔
囌
巖
戀
攣
攫
攪
曬
欐
D
瓚
竊
籤
籣
籥
纓
纖
纔
臢
蘸
蘿
蠱
變
邐
邏
鑣
E
鑠
鑤
靨
顯
饜
驚
驛
驗
髓
體
髑
鱔
鱗
鱖
鷥
麟
F
黴
囑
壩
攬
灞
癱
癲
矗
罐
羈
蠶
蠹
衢
讓
讒
C6
1
艷
2
贛
3
釀
4
鑪
5
靂
6
靈
7
靄
8
韆
9
顰
A
B
C
D
E
F
4
0
讖
驟
鬢
魘
鱟
鷹
鷺
5
鹼
鹽
鼇
齷
齲
廳
欖
灣
籬
籮
蠻
觀
躡
釁
鑲
鑰
6
顱
饞
髖
鬣
黌
灤
矚
讚
鑷
韉
驢
驥
纜
讜
躪
釅
7
A
鑽
鑾
鑼
鱷
鱸
黷
豔
鑿
鸚
爨
驪
鬱
鸛
鸞
籲
ヽ
ヾ
ゝ
ゞ
〃
B
ヽ
C
D
E
々
〆
〇
ー
ぁ
あ
ぃ
い
ぅ
う
ぇ
え
F
お
か
が
き
ぎ
く
ぐ
け
げ
こ
ご
さ
ざ
し
じ
C7
1
ず
2
せ
3
ぜ
4
そ
5
ぞ
6
た
7
だ
8
ち
9
ぢ
A
B
C
D
E
F
4
0
す
っ
つ
づ
て
で
と
5
ど
な
に
ぬ
ね
の
は
ば
ぱ
ひ
び
ぴ
ふ
ぶ
ぷ
へ
6
べ
ぺ
ほ
ぼ
ぽ
ま
み
む
め
も
ゃ
や
ゅ
ゆ
ょ
よ
7
A
ら
り
る
れ
ろ
ゎ
わ
ゐ
ゑ
を
ん
ァ
ア
ィ
イ
ゥ
ウ
ェ
エ
ォ
オ
カ
ガ
キ
ギ
ク
グ
ケ
ゲ
コ
B
ゴ
サ
ザ
シ
ジ
ス
ズ
セ
ゼ
ソ
ゾ
タ
ダ
チ
ヂ
ッ
C
ツ
ヅ
テ
デ
ト
ド
ナ
ニ
ヌ
ネ
ノ
ハ
バ
パ
ヒ
ビ
D
ピ
フ
ブ
プ
ヘ
ベ
ペ
ホ
ボ
ポ
マ
ミ
ム
メ
モ
ャ
E
ヤ
ュ
ユ
ョ
ヨ
ラ
リ
ル
レ
ロ
ヮ
ワ
ヰ
ヱ
ヲ
ン
F
ヴ
ヵ
ヶ
RAiO TECHNOLOGY INC.
165/184
ぉ
www.raio.com.tw
RA8806
Preliminary Version 1.2
C8
0
Two Layers Character/Graphic LCD Controller
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
4
5
6
7
A
B
C
D
E
F
C9
1
乜
2
凵
3
匚
4
厂
5
万
6
丌
7
乇
8
亍
9
囗
A
B
C
D
E
F
4
0
乂
兀
屮
彳
丏
冇
与
5
丮
亓
仂
仉
仈
冘
勼
卬
厹
圠
夃
夬
尐
巿
旡
殳
6
毌
气
爿
丱
丼
仨
仜
仩
仡
仝
仚
刌
匜
卌
圢
圣
7
A
夗
夯
宁
宄
尒
尻
屴
屳
帄
庀
庂
忉
戉
扐
氕
氶
汃
氿
氻
犮
犰
玊
禸
肊
阞
伎
优
伬
仵
伔
B
仱
伀
价
伈
伝
伂
伅
伢
伓
伄
仴
伒
冱
刓
刉
刐
C
劦
匢
匟
卍
厊
吇
囡
囟
圮
圪
圴
夼
妀
奼
妅
奻
D
奾
奷
奿
孖
尕
尥
屼
屺
屻
屾
巟
幵
庄
异
弚
彴
E
忕
忔
忏
扜
扞
扤
扡
扦
扢
扙
扠
扚
扥
旯
旮
朾
F
朹
朸
朻
机
朿
朼
朳
氘
汆
汒
汜
汏
汊
汔
汋
CA
1
灱
2
牞
3
犴
4
犵
5
玎
6
甪
7
癿
8
穵
9
网
A
B
C
D
E
F
4
0
汌
艸
艼
芀
艽
艿
虍
5
襾
邙
邗
邘
邛
邔
阢
阤
阠
阣
佖
伻
佢
佉
体
佤
6
伾
佧
佒
佟
佁
佘
伭
伳
伿
佡
冏
冹
刜
刞
刡
劭
7
A
劮
匉
卣
卲
厎
厏
吰
吷
吪
呔
呅
吙
吜
吥
吘
吽
呏
呁
吨
吤
呇
囮
囧
囥
坁
坅
坌
坉
坋
坒
B
夆
奀
妦
妘
妠
妗
妎
妢
妐
妏
妧
妡
宎
宒
尨
尪
C
岍
岏
岈
岋
岉
岒
岊
岆
岓
岕
巠
帊
帎
庋
庉
庌
D
庈
庍
弅
弝
彸
彶
忒
忑
忐
忭
忨
忮
忳
忡
忤
忣
E
忺
忯
忷
忻
怀
忴
戺
抃
抌
抎
抏
抔
抇
扱
扻
扺
F
扰
抁
抈
扷
扽
扲
扴
攷
旰
旴
旳
旲
旵
杅
杇
RAiO TECHNOLOGY INC.
166/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
CB
Two Layers Character/Graphic LCD Controller
1
杕
2
杌
3
杈
4
杝
5
杍
6
杚
7
杋
8
毐
9
氙
A
B
C
D
E
F
4
0
杙
氚
汸
汧
汫
沄
沋
5
沏
汱
汯
汩
沚
汭
沇
沕
沜
汦
汳
汥
汻
沎
灴
灺
6
牣
犿
犽
狃
狆
狁
犺
狅
玕
玗
玓
玔
玒
町
甹
疔
7
A
疕
皁
礽
耴
肕
肙
肐
肒
肜
芐
芏
芅
芎
芑
芓
芊
芃
芄
豸
迉
辿
邟
邡
邥
邞
邧
邠
阰
阨
阯
B
阭
丳
侘
佼
侅
佽
侀
侇
佶
佴
侉
侄
佷
佌
侗
佪
C
侚
佹
侁
佸
侐
侜
侔
侞
侒
侂
侕
佫
佮
冞
冼
冾
D
刵
刲
刳
剆
刱
劼
匊
匋
匼
厒
厔
咇
呿
咁
咑
咂
E
咈
呫
呺
呾
呥
呬
呴
呦
咍
呯
呡
呠
咘
呣
呧
呤
F
囷
囹
坯
坲
坭
坫
坱
坰
坶
垀
坵
坻
坳
坴
坢
CC
1
坽
2
夌
3
奅
4
妵
5
妺
6
姏
7
姎
8
妲
9
姌
A
B
C
D
E
F
4
0
坨
姁
妶
妼
姃
姖
妱
5
妽
姀
姈
妴
姇
孢
孥
宓
宕
屄
屇
岮
岤
岠
岵
岯
6
岨
岬
岟
岣
岭
岢
岪
岧
岝
岥
岶
岰
岦
帗
帔
帙
7
A
弨
弢
弣
弤
彔
徂
彾
彽
忞
忥
怭
怦
怙
怲
怋
怴
怊
怗
怳
怚
怞
怬
怢
怍
怐
怮
怓
怑
怌
怉
B
怜
戔
戽
抭
抴
拑
抾
抪
抶
拊
抮
抳
抯
抻
抩
抰
C
抸
攽
斨
斻
昉
旼
昄
昒
昈
旻
昃
昋
昍
昅
旽
昑
D
昐
曶
朊
枅
杬
枎
枒
杶
杻
枘
枆
构
杴
枍
枌
杺
E
枟
枑
枙
枃
杽
极
杸
杹
枔
欥
殀
歾
毞
氝
沓
泬
F
泫
泮
泙
沶
泔
沭
泧
沷
泐
泂
沺
泃
泆
泭
泲
CD
1
泝
2
沴
3
沊
4
沝
5
沀
6
泞
7
泀
8
洰
9
泍
A
B
C
D
E
F
4
0
泒
泇
沰
泹
泏
泩
泑
5
炔
炘
炅
炓
炆
炄
炑
炖
炂
炚
炃
牪
狖
狋
狘
狉
6
狜
狒
狔
狚
狌
狑
玤
玡
玭
玦
玢
玠
玬
玝
瓝
瓨
7
A
甿
畀
甾
疌
疘
皯
盳
盱
盰
盵
矸
矼
矹
矻
矺
矷
祂
礿
秅
穸
穻
竻
籵
糽
耵
肏
肮
肣
肸
肵
B
肭
舠
芠
苀
芫
芚
芘
芛
芵
芧
芮
芼
芞
芺
芴
芨
C
芡
芩
苂
芤
苃
芶
芢
虰
虯
虭
虮
豖
迒
迋
迓
迍
D
迖
迕
迗
邲
邴
邯
邳
邰
阹
阽
阼
阺
陃
俍
俅
俓
E
侲
俉
俋
俁
俔
俜
俙
侻
侳
俛
俇
俖
侺
俀
侹
俬
F
剄
剉
勀
勂
匽
卼
厗
厖
厙
厘
咺
咡
咭
咥
哏
RAiO TECHNOLOGY INC.
167/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
CE
Two Layers Character/Graphic LCD Controller
1
茍
2
咷
3
咮
4
哖
5
咶
6
哅
7
哆
8
咠
9
呰
A
B
C
D
E
F
4
0
哃
咼
咢
咾
呲
哞
咰
5
垵
垞
垟
垤
垌
垗
垝
垛
垔
垘
垏
垙
垥
垚
垕
壴
6
复
奓
姡
姞
姮
娀
姱
姝
姺
姽
姼
姶
姤
姲
姷
姛
7
A
姩
姳
姵
姠
姾
姴
姭
宨
屌
峐
峘
峌
峗
峋
峛
峞
峚
峉
峇
峊
峖
峓
峔
峏
峈
峆
峎
峟
峸
巹
B
帡
帢
帣
帠
帤
庰
庤
庢
庛
庣
庥
弇
弮
彖
徆
怷
C
怹
恔
恲
恞
恅
恓
恇
恉
恛
恌
恀
恂
恟
怤
恄
恘
D
恦
恮
扂
扃
拏
挍
挋
拵
挎
挃
拫
拹
挏
挌
拸
拶
E
挀
挓
挔
拺
挕
拻
拰
敁
敃
斪
斿
昶
昡
昲
昵
昜
F
昦
昢
昳
昫
昺
昝
昴
昹
昮
朏
朐
柁
柲
柈
枺
CF
1
枻
2
柸
3
柘
4
柀
5
枷
6
柅
7
柫
8
柤
9
柟
A
B
C
D
E
F
4
0
柜
枵
柍
枳
柷
柶
柮
5
柣
柂
枹
柎
柧
柰
枲
柼
柆
柭
柌
枮
柦
柛
柺
柉
6
柊
柃
柪
柋
欨
殂
殄
殶
毖
毘
毠
氠
氡
洨
洴
洭
7
A
洟
洼
洿
洒
洊
泚
洳
洄
洙
洺
洚
洑
洀
洝
浂
洁
洘
洷
洃
洏
浀
洇
洠
洬
洈
洢
洉
洐
炷
炟
B
炾
炱
炰
炡
炴
炵
炩
牁
牉
牊
牬
牰
牳
牮
狊
狤
C
狨
狫
狟
狪
狦
狣
玅
珌
珂
珈
珅
玹
玶
玵
玴
珫
D
玿
珇
玾
珃
珆
玸
珋
瓬
瓮
甮
畇
畈
疧
疪
癹
盄
E
眈
眃
眄
眅
眊
盷
盻
盺
矧
矨
砆
砑
砒
砅
砐
砏
F
砎
砉
砃
砓
祊
祌
祋
祅
祄
秕
种
秏
秖
秎
窀
D0
1
竑
2
笀
3
笁
4
籺
5
籸
6
籹
7
籿
8
粀
9
粁
A
B
C
D
E
F
4
0
穾
紃
紈
紁
罘
羑
羍
5
羾
耇
耎
耏
耔
耷
胘
胇
胠
胑
胈
胂
胐
胅
胣
胙
6
胜
胊
胕
胉
胏
胗
胦
胍
臿
舡
芔
苙
苾
苹
茇
苨
7
A
茀
苕
茺
苫
苖
苴
苬
苡
苲
苵
茌
苻
苶
苰
苪
苤
苠
苺
苳
苭
虷
虴
虼
虳
衁
衎
衧
衪
衩
觓
B
訄
訇
赲
迣
迡
迮
迠
郱
邽
邿
郕
郅
邾
郇
郋
郈
C
釔
釓
陔
陏
陑
陓
陊
陎
倞
倅
倇
倓
倢
倰
倛
俵
D
俴
倳
倷
倬
俶
俷
倗
倜
倠
倧
倵
倯
倱
倎
党
冔
E
冓
凊
凄
凅
凈
凎
剡
剚
剒
剞
剟
剕
剢
勍
匎
厞
F
唦
哢
唗
唒
哧
哳
哤
唚
哿
唄
唈
哫
唑
唅
哱
RAiO TECHNOLOGY INC.
168/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
D1
Two Layers Character/Graphic LCD Controller
1
哻
2
哷
3
哸
4
哠
5
唎
6
唃
7
唋
8
圁
9
圂
A
B
C
D
E
F
4
0
唊
埌
堲
埕
埒
垺
埆
5
垽
垼
垸
垶
垿
埇
埐
垹
埁
夎
奊
娙
娖
娭
娮
娕
6
娏
娗
娊
娞
娳
孬
宧
宭
宬
尃
屖
屔
峬
峿
峮
峱
7
A
峷
崀
峹
帩
帨
庨
庮
庪
庬
弳
弰
彧
恝
恚
恧
恁
悢
悈
悀
悒
悁
悝
悃
悕
悛
悗
悇
悜
悎
戙
B
扆
拲
挐
捖
挬
捄
捅
挶
捃
揤
挹
捋
捊
挼
挩
捁
C
挴
捘
捔
捙
挭
捇
挳
捚
捑
挸
捗
捀
捈
敊
敆
旆
D
旃
旄
旂
晊
晟
晇
晑
朒
朓
栟
栚
桉
栲
栳
栻
桋
E
桏
栖
栱
栜
栵
栫
栭
栯
桎
桄
栴
栝
栒
栔
栦
栨
F
栮
桍
栺
栥
栠
欬
欯
欭
欱
欴
歭
肂
殈
毦
毤
D2
1
毣
2
毢
3
毧
4
氥
5
浺
6
浣
7
浤
8
浶
9
洍
A
B
C
D
E
F
4
0
毨
浡
涒
浘
浢
浭
浯
5
涑
涍
淯
浿
涆
浞
浧
浠
涗
浰
浼
浟
涂
涘
洯
浨
6
涋
浾
涀
涄
洖
涃
浻
浽
浵
涐
烜
烓
烑
烝
烋
缹
7
A
烢
烗
烒
烞
烠
烔
烍
烅
烆
烇
烚
烎
烡
牂
牸
牷
牶
猀
狺
狴
狾
狶
狳
狻
猁
珓
珙
珥
珖
玼
B
珧
珣
珩
珜
珒
珛
珔
珝
珚
珗
珘
珨
瓞
瓟
瓴
瓵
C
甡
畛
畟
疰
痁
疻
痄
痀
疿
疶
疺
皊
盉
眝
眛
眐
D
眓
眒
眣
眑
眕
眙
眚
眢
眧
砣
砬
砢
砵
砯
砨
砮
E
砫
砡
砩
砳
砪
砱
祔
祛
祏
祜
祓
祒
祑
秫
秬
秠
F
秮
秭
秪
秜
秞
秝
窆
窉
窅
窋
窌
窊
窇
竘
笐
D3
1
笓
2
笅
3
笏
4
笈
5
笊
6
笎
7
笉
8
笒
9
粄
A
B
C
D
E
F
4
0
笄
粑
粊
粌
粈
粍
粅
5
紞
紝
紑
紎
紘
紖
紓
紟
紒
紏
紌
罜
罡
罞
罠
罝
6
罛
羖
羒
翃
翂
翀
耖
耾
耹
胺
胲
胹
胵
脁
胻
脀
7
A
舁
舯
舥
茳
茭
荄
茙
荑
茥
荖
茿
荁
茦
茜
茢
荂
荎
茛
茪
茈
茼
荍
茖
茤
茠
茷
茯
茩
荇
荅
B
荌
荓
茞
茬
荋
茧
荈
虓
虒
蚢
蚨
蚖
蚍
蚑
蚞
蚇
C
蚗
蚆
蚋
蚚
蚅
蚥
蚙
蚡
蚧
蚕
蚘
蚎
蚝
蚐
蚔
衃
D
衄
衭
衵
衶
衲
袀
衱
衿
衯
袃
衾
衴
衼
訒
豇
豗
E
豻
貤
貣
赶
赸
趵
趷
趶
軑
軓
迾
迵
适
迿
迻
逄
F
迼
迶
郖
郠
郙
郚
郣
郟
郥
郘
郛
郗
郜
郤
酐
RAiO TECHNOLOGY INC.
169/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
D4
Two Layers Character/Graphic LCD Controller
1
酏
2
釕
3
釢
4
釚
5
陜
6
陟
7
隼
8
飣
9
髟
A
B
C
D
E
F
4
0
酎
鬯
乿
偰
偪
偡
偞
5
偠
偓
偋
偝
偲
偈
偍
偁
偛
偊
偢
倕
偅
偟
偩
偫
6
偣
偤
偆
偀
偮
偳
偗
偑
凐
剫
剭
剬
剮
勖
勓
匭
7
A
厜
啵
啶
唼
啍
啐
唴
唪
啑
啢
唶
唵
唰
啒
啅
唌
唲
啥
啎
唹
啈
唭
唻
啀
啋
圊
圇
埻
堔
埢
B
埶
埜
埴
堀
埭
埽
堈
埸
堋
埳
埏
堇
埮
埣
埲
埥
C
埬
埡
堎
埼
堐
埧
堁
堌
埱
埩
埰
堍
堄
奜
婠
婘
D
婕
婧
婞
娸
娵
婭
婐
婟
婥
婬
婓
婤
婗
婃
婝
婒
E
婄
婛
婈
媎
娾
婍
娹
婌
婰
婩
婇
婑
婖
婂
婜
孲
F
孮
寁
寀
屙
崞
崋
崝
崚
崠
崌
崨
崍
崦
崥
崏
D5
1
崒
2
崣
3
崟
4
崮
5
帾
6
帴
7
庱
8
庴
9
庹
A
B
C
D
E
F
4
0
崰
庲
庳
弶
弸
徛
徖
5
徟
悊
悐
悆
悾
悰
悺
惓
惔
惏
惤
惙
惝
惈
悱
惛
6
悷
惊
悿
惃
惍
惀
挲
捥
掊
掂
捽
掽
掞
掭
掝
掗
7
A
掫
掎
捯
掇
掐
据
掯
捵
掜
捭
掮
捼
掤
挻
掟
捸
掅
掁
掑
掍
捰
敓
旍
晥
晡
晛
晙
晜
晢
朘
B
桹
梇
梐
梜
桭
桮
梮
梫
楖
桯
梣
梬
梩
桵
桴
梲
C
梏
桷
梒
桼
桫
桲
梪
梀
桱
桾
梛
梖
梋
梠
梉
梤
D
桸
桻
梑
梌
梊
桽
欶
欳
欷
欸
殑
殏
殍
殎
殌
氪
E
淀
涫
涴
涳
湴
涬
淩
淢
涷
淶
淔
渀
淈
淠
淟
淖
F
涾
淥
淜
淝
淛
淴
淊
涽
淭
淰
涺
淕
淂
淏
淉
D6
1
淲
2
淓
3
淽
4
淗
5
淍
6
淣
7
涻
8
烺
9
焍
A
B
C
D
E
F
4
0
淐
烷
焗
烴
焌
烰
焄
5
烳
焐
烼
烿
焆
焓
焀
烸
烶
焋
焂
焎
牾
牻
牼
牿
6
猝
猗
猇
猑
猘
猊
猈
狿
猏
猞
玈
珶
珸
珵
琄
琁
7
A
珽
琇
琀
珺
珼
珿
琌
琋
珴
琈
畤
畣
痎
痒
痏
痋
痌
痑
痐
皏
皉
盓
眹
眯
眭
眱
眲
眴
眳
眽
B
眥
眻
眵
硈
硒
硉
硍
硊
硌
砦
硅
硐
祤
祧
祩
祪
C
祣
祫
祡
离
秺
秸
秶
秷
窏
窔
窐
笵
筇
笴
笥
笰
D
笢
笤
笳
笘
笪
笝
笱
笫
笭
笯
笲
笸
笚
笣
粔
粘
E
粖
粣
紵
紽
紸
紶
紺
絅
紬
紩
絁
絇
紾
紿
絊
紻
F
紨
罣
羕
羜
羝
羛
翊
翋
翍
翐
翑
翇
翏
翉
耟
RAiO TECHNOLOGY INC.
170/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
D7
Two Layers Character/Graphic LCD Controller
1
耛
2
聇
3
聃
4
聈
5
脘
6
脥
7
脙
8
脛
9
脭
A
B
C
D
E
F
4
0
耞
脟
脬
脞
脡
脕
脧
5
脝
脢
舑
舸
舳
舺
舴
舲
艴
莐
莣
莨
莍
荺
荳
莤
6
荴
莏
莁
莕
莙
荵
莔
莩
荽
莃
莌
莝
莛
莪
莋
荾
7
A
莥
莯
莈
莗
莰
荿
莦
莇
莮
荶
莚
虙
虖
蚿
蚷
蛂
蛁
蛅
蚺
蚰
蛈
蚹
蚳
蚸
蛌
蚴
蚻
蚼
蛃
蚽
B
蚾
衒
袉
袕
袨
袢
袪
袚
袑
袡
袟
袘
袧
袙
袛
袗
C
袤
袬
袌
袓
袎
覂
觖
觙
觕
訰
訧
訬
訞
谹
谻
豜
D
豝
豽
貥
赽
赻
赹
趼
跂
趹
趿
跁
軘
軞
軝
軜
軗
E
軠
軡
逤
逋
逑
逜
逌
逡
郯
郪
郰
郴
郲
郳
郔
郫
F
郬
郩
酖
酘
酚
酓
酕
釬
釴
釱
釳
釸
釤
釹
釪
D8
1
釷
2
釨
3
釮
4
镺
5
閆
6
閈
7
陼
8
陭
9
陫
A
B
C
D
E
F
4
0
釫
陱
陯
隿
靪
頄
飥
5
馗
傛
傕
傔
傞
傋
傣
傃
傌
傎
傝
偨
傜
傒
傂
傇
6
兟
凔
匒
匑
厤
厧
喑
喨
喥
喭
啷
噅
喢
喓
喈
喏
7
A
喵
喁
喣
喒
喤
啽
喌
喦
啿
喕
喡
喎
圌
堩
堷
堙
堞
堧
堣
堨
埵
塈
堥
堜
堛
堳
堿
堶
堮
堹
B
堸
堭
堬
堻
奡
媯
媔
媟
婺
媢
媞
婸
媦
婼
媥
媬
C
媕
媮
娷
媄
媊
媗
媃
媋
媩
婻
婽
媌
媜
媏
媓
媝
D
寪
寍
寋
寔
寑
寊
寎
尌
尰
崷
嵃
嵫
嵁
嵋
崿
崵
E
嵑
嵎
嵕
崳
崺
嵒
崽
崱
嵙
嵂
崹
嵉
崸
崼
崲
崶
F
嵀
嵅
幄
幁
彘
徦
徥
徫
惉
悹
惌
惢
惎
惄
愔
D9
1
愊
2
愖
3
愅
4
惵
5
愓
6
惸
7
惼
8
惾
9
惁
A
B
C
D
E
F
4
0
惲
愃
愘
愝
愐
惿
愄
5
愋
扊
掔
掱
掰
揎
揥
揨
揯
揃
撝
揳
揊
揠
揶
揕
6
揲
揵
摡
揟
掾
揝
揜
揄
揘
揓
揂
揇
揌
揋
揈
揰
7
A
揗
揙
攲
敧
敪
敤
敜
敨
敥
斌
斝
斞
斮
旐
旒
晼
晬
晻
暀
晱
晹
晪
晲
朁
椌
棓
椄
棜
椪
棬
B
棪
棱
椏
棖
棷
棫
棤
棶
椓
椐
棳
棡
椇
棌
椈
楰
C
梴
椑
棯
棆
椔
棸
棐
棽
棼
棨
椋
椊
椗
棎
棈
棝
D
棞
棦
棴
棑
椆
棔
棩
椕
椥
棇
欹
欻
欿
欼
殔
殗
E
殙
殕
殽
毰
毲
毳
氰
淼
湆
湇
渟
湉
溈
渼
渽
湅
F
湢
渫
渿
湁
湝
湳
渜
渳
湋
湀
湑
渻
渃
渮
湞
RAiO TECHNOLOGY INC.
171/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
DA
Two Layers Character/Graphic LCD Controller
1
湜
2
湡
3
渱
4
渨
5
湠
6
湱
7
湫
8
渹
9
渢
A
B
C
D
E
F
4
0
湨
渰
湓
湥
渧
湸
湤
5
湷
湕
湹
湒
湦
渵
渶
湚
焠
焞
焯
烻
焮
焱
焣
焥
6
焢
焲
焟
焨
焺
焛
牋
牚
犈
犉
犆
犅
犋
猒
猋
猰
7
A
猢
猱
猳
猧
猲
猭
猦
猣
猵
猌
琮
琬
琰
琫
琖
琚
琡
琭
琱
琤
琣
琝
琩
琠
琲
瓻
甯
畯
畬
痧
B
痚
痡
痦
痝
痟
痤
痗
皕
皒
盚
睆
睇
睄
睍
睅
睊
C
睎
睋
睌
矞
矬
硠
硤
硥
硜
硭
硱
硪
确
硰
硩
硨
D
硞
硢
祴
祳
祲
祰
稂
稊
稃
稌
稄
窙
竦
竤
筊
笻
E
筄
筈
筌
筎
筀
筘
筅
粢
粞
粨
粡
絘
絯
絣
絓
絖
F
絧
絪
絏
絭
絜
絫
絒
絔
絩
絑
絟
絎
缾
缿
罥
DB
1
羢
2
羠
3
羡
4
翗
5
聑
6
聏
7
聐
8
胾
9
胔
A
B
C
D
E
F
4
0
罦
腃
腊
腒
腏
腇
脽
5
腍
脺
臦
臮
臷
臸
臹
舄
舼
舽
舿
艵
茻
菏
菹
萣
6
菀
菨
萒
菧
菤
菼
菶
萐
菆
菈
菫
菣
莿
萁
菝
菥
7
A
菘
菿
菡
菋
菎
菖
菵
菉
萉
萏
菞
萑
萆
菂
菳
菕
菺
菇
菑
菪
萓
菃
菬
菮
菄
菻
菗
菢
萛
菛
B
菾
蛘
蛢
蛦
蛓
蛣
蛚
蛪
蛝
蛫
蛜
蛬
蛩
蛗
蛨
蛑
C
衈
衖
衕
袺
裗
袹
袸
裀
袾
袶
袼
袷
袽
袲
褁
裉
D
覕
覘
覗
觝
觚
觛
詎
詍
訹
詙
詀
詗
詘
詄
詅
詒
E
詈
詑
詊
詌
詏
豟
貁
貀
貺
貾
貰
貹
貵
趄
趀
趉
F
跘
跓
跍
跇
跖
跜
跏
跕
跙
跈
跗
跅
軯
軷
軺
DC
1
軦
2
軮
3
軥
4
軵
5
軧
6
軨
7
軶
8
軫
9
軱
A
B
C
D
E
F
4
0
軹
軬
軴
軩
逭
逴
逯
5
鄆
鄬
鄄
郿
郼
鄈
郹
郻
鄁
鄀
鄇
鄅
鄃
酡
酤
酟
6
酢
酠
鈁
鈊
鈥
鈃
鈚
鈦
鈏
鈌
鈀
鈒
釿
釽
鈆
鈄
7
A
鈧
鈂
鈜
鈤
鈙
鈗
鈅
鈖
镻
閍
閌
閐
隇
陾
隈
隉
隃
隀
雂
雈
雃
雱
雰
靬
靰
靮
頇
颩
飫
鳦
B
黹
亃
亄
亶
傽
傿
僆
傮
僄
僊
傴
僈
僂
傰
僁
傺
C
傱
僋
僉
傶
傸
凗
剺
剸
剻
剼
嗃
嗛
嗌
嗐
嗋
嗊
D
嗝
嗀
嗔
嗄
嗩
喿
嗒
喍
嗏
嗕
嗢
嗖
嗈
嗲
嗍
嗙
E
嗂
圔
塓
塨
塤
塏
塍
塉
塯
塕
塎
塝
塙
塥
塛
堽
F
塣
塱
壼
嫇
嫄
嫋
媺
媸
媱
媵
媰
媿
嫈
媻
嫆
RAiO TECHNOLOGY INC.
172/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
DD
Two Layers Character/Graphic LCD Controller
1
嫀
2
嫊
3
媴
4
媶
5
嫍
6
媹
7
媐
8
寖
9
寘
A
B
C
D
E
F
4
0
媷
寙
尟
尳
嵱
嵣
嵊
5
嵥
嵲
嵬
嵞
嵨
嵧
嵢
巰
幏
幎
幊
幍
幋
廅
廌
廆
6
廋
廇
彀
徯
徭
惷
慉
慊
愫
慅
愶
愲
愮
慆
愯
慏
7
A
愩
慀
戠
酨
戣
戥
戤
揅
揱
揫
搐
搒
搉
搠
搤
搳
摃
搟
搕
搘
搹
搷
搢
搣
搌
搦
搰
搨
摁
搵
B
搯
搊
搚
摀
搥
搧
搋
揧
搛
搮
搡
搎
敯
斒
旓
暆
C
暌
暕
暐
暋
暊
暙
暔
晸
朠
楦
楟
椸
楎
楢
楱
椿
D
楅
楪
椹
楂
楗
楙
楺
楈
楉
椵
楬
椳
椽
楥
棰
楸
E
椴
楩
楀
楯
楄
楶
楘
楁
楴
楌
椻
楋
椷
楜
楏
楑
F
椲
楒
椯
楻
椼
歆
歅
歃
歂
歈
歁
殛
嗀
毻
毼
DE
1
毷
2
毸
3
溛
4
滖
5
滈
6
溏
7
滀
8
溟
9
溓
A
B
C
D
E
F
4
0
毹
溔
溠
溱
溹
滆
滒
5
溽
滁
溞
滉
溷
溰
滍
溦
滏
溲
溾
滃
滜
滘
溙
溒
6
溎
溍
溤
溡
溿
溳
滐
滊
溗
溮
溣
煇
煔
煒
煣
煠
7
A
煁
煝
煢
煲
煸
煪
煡
煂
煘
煃
煋
煰
煟
煐
煓
煄
煍
煚
牏
犍
犌
犑
犐
犎
猼
獂
猻
猺
獀
獊
B
獉
瑄
瑊
瑋
瑒
瑑
瑗
瑀
瑏
瑐
瑎
瑂
瑆
瑍
瑔
瓡
C
瓿
瓾
瓽
甝
畹
畷
榃
痯
瘏
瘃
痷
痾
痼
痹
痸
瘐
D
痻
痶
痭
痵
痽
皙
皵
盝
睕
睟
睠
睒
睖
睚
睩
睧
E
睔
睙
睭
矠
碇
碚
碔
碏
碄
碕
碅
碆
碡
碃
硹
碙
F
碀
碖
硻
祼
禂
祽
祹
稑
稘
稙
稒
稗
稕
稢
稓
DF
1
稐
2
窣
3
窢
4
窞
5
竫
6
筦
7
筤
8
筭
9
筴
A
B
C
D
E
F
4
0
稛
筩
筲
筥
筳
筱
筰
5
筡
筸
筶
筣
粲
粴
粯
綈
綆
綀
綍
絿
綅
絺
綎
絻
6
綃
絼
綌
綔
綄
絽
綒
罭
罫
罧
罨
罬
羦
羥
羧
翛
7
A
翜
耡
腤
腠
腷
腜
腩
腛
腢
腲
朡
腞
腶
腧
腯
腄
腡
舝
艉
艄
艀
艂
艅
蓱
萿
葖
葶
葹
蒏
蒍
B
葥
葑
葀
蒆
葧
萰
葍
葽
葚
葙
葴
葳
葝
蔇
葞
萷
C
萺
萴
葺
葃
葸
萲
葅
萩
菙
葋
萯
葂
萭
葟
葰
萹
D
葎
葌
葒
葯
蓅
蒎
萻
葇
萶
萳
葨
葾
葄
萫
葠
葔
E
葮
葐
蜋
蜄
蛷
蜌
蛺
蛖
蛵
蝍
蛸
蜎
蜉
蜁
蛶
蜍
F
蜅
裖
裋
裍
裎
裞
裛
裚
裌
裐
覅
覛
觟
觥
觤
RAiO TECHNOLOGY INC.
173/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
E0
Two Layers Character/Graphic LCD Controller
1
觠
2
觢
3
觜
4
触
5
詶
6
誆
7
詿
8
詡
9
訿
A
B
C
D
E
F
4
0
觡
詷
誂
誄
詵
誃
誁
5
詴
詺
谼
豋
豊
豥
豤
豦
貆
貄
貅
賌
赨
赩
趑
趌
6
趎
趏
趍
趓
趔
趐
趒
跰
跠
跬
跱
跮
跐
跩
跣
跢
7
A
跧
跲
跫
跴
輆
軿
輁
輀
輅
輇
輈
輂
輋
遒
逿
遄
遉
逽
鄐
鄍
鄏
鄑
鄖
鄔
鄋
鄎
酮
酯
鉈
鉒
B
鈰
鈺
鉦
鈳
鉥
鉞
銃
鈮
鉊
鉆
鉭
鉬
鉏
鉠
鉧
鉯
C
鈶
鉡
鉰
鈱
鉔
鉣
鉐
鉲
鉎
鉓
鉌
鉖
鈲
閟
閜
閞
D
閛
隒
隓
隑
隗
雎
雺
雽
雸
雵
靳
靷
靸
靲
頏
頍
E
頎
颬
飶
飹
馯
馲
馰
馵
骭
骫
魛
鳪
鳭
鳧
麀
黽
F
僦
僔
僗
僨
僳
僛
僪
僝
僤
僓
僬
僰
僯
僣
僠
E1
1
劀
2
劁
3
勩
4
勫
5
匰
6
厬
7
嘧
8
嘕
9
嘌
A
B
C
D
E
F
4
0
凘
嘒
嗼
嘏
嘜
嘁
嘓
5
嘂
嗺
嘝
嘄
嗿
嗹
墉
塼
墐
墘
墆
墁
塿
塴
墋
塺
6
墇
墑
墎
塶
墂
墈
塻
墔
墏
壾
奫
嫜
嫮
嫥
嫕
嫪
7
A
嫚
嫭
嫫
嫳
嫢
嫠
嫛
嫬
嫞
嫝
嫙
嫨
嫟
孷
寠
寣
屣
嶂
嶀
嵽
嶆
嵺
嶁
嵷
嶊
嶉
嶈
嵾
嵼
嶍
B
嵹
嵿
幘
幙
幓
廘
廑
廗
廎
廜
廕
廙
廒
廔
彄
彃
C
彯
徶
愬
愨
慁
慞
慱
慳
慒
慓
慲
慬
憀
慴
慔
慺
D
慛
慥
愻
慪
慡
慖
戩
戧
戫
搫
摍
摛
摝
摴
摶
摲
E
摳
摽
摵
摦
撦
摎
撂
摞
摜
摋
摓
摠
摐
摿
搿
摬
F
摫
摙
摥
摷
敳
斠
暡
暠
暟
朅
朄
朢
榱
榶
槉
E2
1
槎
2
榖
3
榰
4
榬
5
榼
6
榑
7
榙
8
榎
9
榧
A
B
C
D
E
F
4
0
榠
榍
榩
榾
榯
榿
槄
5
榽
榤
槔
榹
槊
榚
槏
榳
榓
榪
榡
榞
槙
榗
榐
槂
6
榵
榥
槆
歊
歍
歋
殞
殟
殠
毃
毄
毾
滎
滵
滱
漃
7
A
漥
滸
漷
滻
漮
漉
潎
漙
漚
漧
漘
漻
漒
滭
漊
漶
潳
滹
滮
漭
潀
漰
漼
漵
滫
漇
漎
潃
漅
滽
B
滶
漹
漜
滼
漺
漟
漍
漞
漈
漡
熇
熐
熉
熀
熅
熂
C
熏
煻
熆
熁
熗
牄
牓
犗
犕
犓
獃
獍
獑
獌
瑢
瑳
D
瑱
瑵
瑲
瑧
瑮
甀
甂
甃
畽
疐
瘖
瘈
瘌
瘕
瘑
瘊
E
瘔
皸
瞁
睼
瞅
瞂
睮
瞀
睯
睾
瞃
碲
碪
碴
碭
碨
F
硾
碫
碞
碥
碠
碬
碢
碤
禘
禊
禋
禖
禕
禔
禓
RAiO TECHNOLOGY INC.
174/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
E3
Two Layers Character/Graphic LCD Controller
1
禈
2
禒
3
禐
4
稫
5
穊
6
稰
7
稯
8
稨
9
稦
A
B
C
D
E
F
4
0
禗
窨
窫
窬
竮
箈
箜
5
箊
箑
箐
箖
箍
箌
箛
箎
箅
箘
劄
箙
箤
箂
粻
粿
6
粼
粺
綧
綷
緂
綣
綪
緁
緀
緅
綝
緎
緄
緆
緋
緌
7
A
綯
綹
綖
綼
綟
綦
綮
綩
綡
緉
罳
翢
翣
翥
翞
耤
聝
聜
膉
膆
膃
膇
膍
膌
膋
舕
蒗
蒤
蒡
蒟
B
蒺
蓎
蓂
蒬
蒮
蒫
蒹
蒴
蓁
蓍
蒪
蒚
蒱
蓐
蒝
蒧
C
蒻
蒢
蒔
蓇
蓌
蒛
蒩
蒯
蒨
蓖
蒘
蒶
蓏
蒠
蓗
蓔
D
蓒
蓛
蒰
蒑
虡
蜳
蜣
蜨
蝫
蝀
蜮
蜞
蜡
蜙
蜛
蝃
E
蜬
蝁
蜾
蝆
蜠
蜲
蜪
蜭
蜼
蜒
蜺
蜱
蜵
蝂
蜦
蜧
F
蜸
蜤
蜚
蜰
蜑
裷
裧
裱
裲
裺
裾
裮
裼
裶
裻
E4
1
裬
2
裫
3
覝
4
覡
5
覟
6
覞
7
觩
8
觫
9
觨
A
B
C
D
E
F
4
0
裰
誫
誙
誋
誒
誏
誖
5
谽
豨
豩
賕
賏
賗
趖
踉
踂
跿
踍
跽
踊
踃
踇
踆
6
踅
跾
踀
踄
輐
輑
輎
輍
鄣
鄜
鄠
鄢
鄟
鄝
鄚
鄤
7
A
鄡
鄛
酺
酲
酹
酳
銥
銤
鉶
銛
鉺
銠
銔
銪
銍
銦
銚
銫
鉹
銗
鉿
銣
鋮
銎
銂
銕
銢
鉽
銈
銡
B
銊
銆
銌
銙
銧
鉾
銇
銩
銝
銋
鈭
隞
隡
雿
靘
靽
C
靺
靾
鞃
鞀
鞂
靻
鞄
鞁
靿
韎
韍
頖
颭
颮
餂
餀
D
餇
馝
馜
駃
馹
馻
馺
駂
馽
駇
骱
髣
髧
鬾
鬿
魠
E
魡
魟
鳱
鳲
鳵
麧
僿
儃
儰
僸
儆
儇
僶
僾
儋
儌
F
僽
儊
劋
劌
勱
勯
噈
噂
噌
嘵
噁
噊
噉
噆
噘
E5
1
噀
2
嘳
3
嘽
4
嘬
5
嘾
6
嘸
7
嘪
8
嘺
9
圚
A
B
C
D
E
F
4
0
噚
墫
墝
墱
墠
墣
墯
5
墬
墥
墡
壿
嫿
嫴
嫽
嫷
嫶
嬃
嫸
嬂
嫹
嬁
嬇
嬅
6
嬏
屧
嶙
嶗
嶟
嶒
嶢
嶓
嶕
嶠
嶜
嶡
嶚
嶞
幩
幝
7
A
幠
幜
緳
廛
廞
廡
彉
徲
憋
憃
慹
憱
憰
憢
憉
憛
憓
憯
憭
憟
憒
憪
憡
憍
慦
憳
戭
摮
摰
撖
B
撠
撅
撗
撜
撏
撋
撊
撌
撣
撟
摨
撱
撘
敶
敺
敹
C
敻
斲
斳
暵
暰
暩
暲
暷
暪
暯
樀
樆
樗
槥
槸
樕
D
槱
槤
樠
槿
槬
槢
樛
樝
槾
樧
槲
槮
樔
槷
槧
橀
E
樈
槦
槻
樍
槼
槫
樉
樄
樘
樥
樏
槶
樦
樇
槴
樖
F
歑
殥
殣
殢
殦
氁
氀
毿
氂
潁
漦
潾
澇
濆
澒
RAiO TECHNOLOGY INC.
175/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
E6
Two Layers Character/Graphic LCD Controller
1
澉
2
澌
3
潢
4
潏
5
澅
6
潚
7
澖
8
潶
9
潬
A
B
C
D
E
F
4
0
澍
澂
潕
潲
潒
潐
潗
5
澔
澓
潝
漀
潡
潫
潽
潧
澐
潓
澋
潩
潿
澕
潣
潷
6
潪
潻
熲
熯
熛
熰
熠
熚
熩
熵
熝
熥
熞
熤
熡
熪
7
A
熜
熧
熳
犘
犚
獘
獒
獞
獟
獠
獝
獛
獡
獚
獙
獢
璇
璉
璊
璆
璁
瑽
璅
璈
瑼
瑹
甈
甇
畾
瘥
B
瘞
瘙
瘝
瘜
瘣
瘚
瘨
瘛
皜
皝
皞
皛
瞍
瞏
瞉
瞈
C
磍
碻
磏
磌
磑
磎
磔
磈
磃
磄
磉
禚
禡
禠
禜
禢
D
禛
歶
稹
窲
窴
窳
箷
篋
箾
箬
篎
箯
箹
篊
箵
糅
E
糈
糌
糋
緷
緛
緪
緧
緗
緡
縃
緺
緦
緶
緱
緰
緮
F
緟
罶
羬
羰
羭
翭
翫
翪
翬
翦
翨
聤
聧
膣
膟
E7
1
膕
2
膢
3
膙
4
膗
5
舖
6
艏
7
艓
8
艒
9
艐
A
B
C
D
E
F
4
0
膞
艎
艑
蔤
蔻
蔏
蔀
5
蔩
蔎
蔉
蔍
蔟
蔊
蔧
蔜
蓻
蔫
蓺
蔈
蔌
蓴
蔪
蓲
6
蔕
蓷
蓫
蓳
蓼
蔒
蓪
蓩
蔖
蓾
蔨
蔝
蔮
蔂
蓽
蔞
7
A
蓶
蔱
蔦
蓧
蓨
蓰
蓯
蓹
蔘
蔠
蔰
蔋
蔙
蔯
虢
蝖
蝣
蝤
蝷
蟡
蝳
蝘
蝔
蝛
蝒
蝡
蝚
蝑
蝞
蝭
B
蝪
蝐
蝎
蝟
蝝
蝯
蝬
蝺
蝮
蝜
蝥
蝏
蝻
蝵
蝢
蝧
C
蝩
衚
褅
褌
褔
褋
褗
褘
褙
褆
褖
褑
褎
褉
覢
覤
D
覣
觭
觰
觬
諏
諆
誸
諓
諑
諔
諕
誻
諗
誾
諀
諅
E
諘
諃
誺
誽
諙
谾
豍
貏
賥
賟
賙
賨
賚
賝
賧
趠
F
趜
趡
趛
踠
踣
踥
踤
踮
踕
踛
踖
踑
踙
踦
踧
E8
1
踒
2
踘
3
踓
4
踜
5
踗
6
踚
7
輬
8
輤
9
輘
A
B
C
D
E
F
4
0
踔
輚
輠
輣
輖
輗
遳
5
遰
遯
遧
遫
鄯
鄫
鄩
鄪
鄲
鄦
鄮
醅
醆
醊
醁
醂
6
醄
醀
鋐
鋃
鋄
鋀
鋙
銶
鋏
鋱
鋟
鋘
鋩
鋗
鋝
鋌
7
A
鋯
鋂
鋨
鋊
鋈
鋎
鋦
鋍
鋕
鋉
鋠
鋞
鋧
鋑
鋓
銵
鋡
鋆
銴
镼
閬
閫
閮
閰
隤
隢
雓
霅
霈
霂
B
靚
鞊
鞎
鞈
韐
韏
頞
頝
頦
頩
頨
頠
頛
頧
颲
餈
C
飺
餑
餔
餖
餗
餕
駜
駍
駏
駓
駔
駎
駉
駖
駘
駋
D
駗
駌
骳
髬
髫
髳
髲
髱
魆
魃
魧
魴
魱
魦
魶
魵
E
魰
魨
魤
魬
鳼
鳺
鳽
鳿
鳷
鴇
鴀
鳹
鳻
鴈
鴅
鴄
F
麃
黓
鼏
鼐
儜
儓
儗
儚
儑
凞
匴
叡
噰
噠
噮
RAiO TECHNOLOGY INC.
176/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
E9
Two Layers Character/Graphic LCD Controller
1
噦
2
噣
3
噭
4
噲
5
噞
6
噷
7
圜
8
圛
9
壈
A
B
C
D
E
F
4
0
噳
墽
壉
墿
墺
壂
墼
5
壆
嬗
嬙
嬛
嬡
嬔
嬓
嬐
嬖
嬨
嬚
嬠
嬞
寯
嶬
嶱
6
嶩
嶧
嶵
嶰
嶮
嶪
嶨
嶲
嶭
嶯
嶴
幧
幨
幦
幯
廩
7
A
廧
廦
廨
廥
彋
徼
憝
憨
憖
懅
憴
懆
懁
懌
憺
憿
憸
憌
擗
擖
擐
擏
擉
撽
撉
擃
擛
擳
擙
攳
B
敿
敼
斢
曈
暾
曀
曊
曋
曏
暽
暻
暺
曌
朣
樴
橦
C
橉
橧
樲
橨
樾
橝
橭
橶
橛
橑
樨
橚
樻
樿
橁
橪
D
橤
橐
橏
橔
橯
橩
橠
樼
橞
橖
橕
橍
橎
橆
歕
歔
E
歖
殧
殪
殫
毈
毇
氄
氃
氆
澭
濋
澣
濇
澼
濎
濈
F
潞
濄
澽
澞
濊
澨
瀄
澥
澮
澺
澬
澪
濏
澿
澸
EA
1
濉
2
澫
3
濍
4
澯
5
澲
6
澰
7
燅
8
燂
9
熿
A
B
C
D
E
F
4
0
澢
熸
燖
燀
燁
燋
燔
5
燊
燇
燏
熽
燘
熼
燆
燚
燛
犝
犞
獩
獦
獧
獬
獥
6
獫
獪
瑿
璚
璠
璔
璒
璕
璡
甋
疀
瘯
瘭
瘱
瘽
瘳
7
A
瘼
瘵
瘲
瘰
皻
盦
瞚
瞝
瞡
瞜
瞛
瞢
瞣
瞕
瞙
瞗
磝
磩
磥
磪
磞
磣
磛
磡
磢
磭
磟
磠
禤
穄
B
穈
穇
窶
窸
窵
窱
窷
篞
篣
篧
篝
篕
篥
篚
篨
篹
C
篔
篪
篢
篜
篫
篘
篟
糒
糔
糗
糐
糑
縒
縡
縗
縌
D
縟
縠
縓
縎
縜
縕
縚
縢
縋
縏
縖
縍
縔
縥
縤
罃
E
罻
罼
罺
羱
翯
耪
耩
聬
膱
膦
膮
膹
膵
膫
膰
膬
F
膴
膲
膷
膧
臲
艕
艖
艗
蕖
蕅
蕫
蕍
蕓
蕡
蕘
EB
1
蕆
2
蕤
3
蕁
4
蕢
5
蕄
6
蕑
7
蕇
8
蕣
9
蔾
A
B
C
D
E
F
4
0
蕀
蕛
蕱
蕎
蕮
蕵
蕕
5
蕧
蕠
薌
蕦
蕝
蕔
蕥
蕬
虣
虥
虤
螛
螏
螗
螓
螒
6
螈
螁
螖
螘
蝹
螇
螣
螅
螐
螑
螝
螄
螔
螜
螚
螉
7
A
褞
褦
褰
褭
褮
褧
褱
褢
褩
褣
褯
褬
褟
觱
諠
諢
諲
諴
諵
諝
謔
諤
諟
諰
諈
諞
諡
諨
諿
諯
B
諻
貑
貒
貐
賵
賮
賱
賰
賳
赬
赮
趥
趧
踳
踾
踸
C
蹀
蹅
踶
踼
踽
蹁
踰
踿
躽
輶
輮
輵
輲
輹
輷
輴
D
遶
遹
遻
邆
郺
鄳
鄵
鄶
醓
醐
醑
醍
醏
錧
錞
錈
E
錟
錆
錏
鍺
錸
錼
錛
錣
錒
錁
鍆
錭
錎
錍
鋋
錝
F
鋺
錥
錓
鋹
鋷
錴
錂
錤
鋿
錩
錹
錵
錪
錔
錌
RAiO TECHNOLOGY INC.
177/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
EC
Two Layers Character/Graphic LCD Controller
1
鋾
2
錉
3
錀
4
鋻
5
錖
6
閼
7
闍
8
閾
9
閹
A
B
C
D
E
F
4
0
錋
閺
閶
閿
閵
閽
隩
5
雔
霋
霒
霐
鞙
鞗
鞔
韰
韸
頵
頯
頲
餤
餟
餧
餩
6
馞
駮
駬
駥
駤
駰
駣
駪
駩
駧
骹
骿
骴
骻
髶
髺
7
A
髹
髷
鬳
鮀
鮅
鮇
魼
魾
魻
鮂
鮓
鮒
鮐
魺
鮕
魽
鮈
鴥
鴗
鴠
鴞
鴔
鴩
鴝
鴘
鴢
鴐
鴙
鴟
麈
B
麆
麇
麮
麭
黕
黖
黺
鼒
鼽
儦
儥
儢
儤
儠
儩
勴
C
嚓
嚌
嚍
嚆
嚄
嚃
噾
嚂
噿
嚁
壖
壔
壏
壒
嬭
嬥
D
嬲
嬣
嬬
嬧
嬦
嬯
嬮
孻
寱
寲
嶷
幬
幪
徾
徻
懃
E
憵
憼
懧
懠
懥
懤
懨
懞
擯
擩
擣
擫
擤
擨
斁
斀
F
斶
旚
曒
檍
檖
檁
檥
檉
檟
檛
檡
檞
檇
檓
檎
ED
1
檃
2
檨
3
檤
4
檑
5
橿
6
檦
7
檚
8
檅
9
檌
A
B
C
D
E
F
4
0
檕
檒
歛
殭
氉
濌
澩
5
濴
濔
濣
濜
濭
濧
濦
濞
濲
濝
濢
濨
燡
燱
燨
燲
6
燤
燰
燢
獳
獮
獯
璗
璲
璫
璐
璪
璭
璱
璥
璯
甐
7
A
甑
甒
甏
疄
癃
癈
癉
癇
皤
盩
瞵
瞫
瞲
瞷
瞶
瞴
瞱
瞨
矰
磳
磽
礂
磻
磼
磲
礅
磹
磾
礄
禫
B
禨
穜
穛
穖
穘
穔
穚
窾
竀
竁
簅
簏
篲
簀
篿
篻
C
簎
篴
簋
篳
簂
簉
簃
簁
篸
篽
簆
篰
篱
簐
簊
糨
D
縭
縼
繂
縳
顈
縸
縪
繉
繀
繇
縩
繌
縰
縻
縶
繄
E
縺
罅
罿
罾
罽
翴
翲
耬
膻
臄
臌
臊
臅
臇
膼
臩
F
艛
艚
艜
薃
薀
薏
薧
薕
薠
薋
薣
蕻
薤
薚
薞
EE
1
蕼
2
薉
3
薡
4
蕺
5
蕸
6
蕗
7
薎
8
薖
9
薆
A
B
C
D
E
F
4
0
蕷
薍
薙
薝
薁
薢
薂
5
薈
薅
蕹
蕶
薘
薐
薟
虨
螾
螪
螭
蟅
螰
螬
螹
螵
6
螼
螮
蟉
蟃
蟂
蟌
螷
螯
蟄
蟊
螴
螶
螿
螸
螽
蟞
7
A
螲
褵
褳
褼
褾
襁
襒
褷
襂
覭
覯
覮
觲
觳
謞
謘
謖
謑
謅
謋
謢
謏
謒
謕
謇
謍
謈
謆
謜
謓
B
謚
豏
豰
豲
豱
豯
貕
貔
賹
赯
蹎
蹍
蹓
蹐
蹌
蹇
C
轃
轀
邅
遾
鄸
醚
醢
醛
醙
醟
醡
醝
醠
鎡
鎃
鎯
D
鍤
鍖
鍇
鍼
鍘
鍜
鍶
鍉
鍐
鍑
鍠
鍭
鎏
鍌
鍪
鍹
E
鍗
鍕
鍒
鍏
鍱
鍷
鍻
鍡
鍞
鍣
鍧
鎀
鍎
鍙
闇
闀
F
闉
闃
闅
閷
隮
隰
隬
霠
霟
霘
霝
霙
鞚
鞡
鞜
RAiO TECHNOLOGY INC.
178/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
EF
Two Layers Character/Graphic LCD Controller
1
鞝
2
韕
3
韔
4
韱
5
顁
6
顄
7
顊
8
顉
9
顅
A
B
C
D
E
F
4
0
鞞
顃
餥
餫
餬
餪
餳
5
餲
餯
餭
餱
餰
馘
馣
馡
騂
駺
駴
駷
駹
駸
駶
駻
6
駽
駾
駼
騃
骾
髾
髽
鬁
髼
魈
鮚
鮨
鮞
鮛
鮦
鮡
7
A
鮥
鮤
鮆
鮢
鮠
鮯
鴳
鵁
鵧
鴶
鴮
鴯
鴱
鴸
鴰
鵅
鵂
鵃
鴾
鴷
鵀
鴽
翵
鴭
麊
麉
麍
麰
黈
黚
B
黻
黿
鼤
鼣
鼢
齔
龠
儱
儭
儮
嚘
嚜
嚗
嚚
嚝
嚙
C
奰
嬼
屩
屪
巀
幭
幮
懘
懟
懭
懮
懱
懪
懰
懫
懖
D
懩
擿
攄
擽
擸
攁
攃
擼
斔
旛
曚
曛
曘
櫅
檹
檽
E
櫡
櫆
檺
檶
檷
櫇
檴
檭
歞
毉
氋
瀇
瀌
瀍
瀁
瀅
F
瀔
瀎
濿
瀀
濻
瀦
濼
濷
瀊
爁
燿
燹
爃
燽
獶
F0
1
瓀
2
璵
3
瓁
4
璾
5
璶
6
璻
7
瓂
8
甔
9
甓
A
B
C
D
E
F
4
0
璸
癜
癤
癙
癐
癓
癗
5
癚
皦
皽
盬
矂
瞺
磿
礌
礓
礔
礉
礐
礒
礑
禭
禬
6
穟
簜
簩
簙
簠
簟
簭
簝
簦
簨
簢
簥
簰
繜
繐
繖
7
A
繣
繘
繢
繟
繑
繠
繗
繓
羵
羳
翷
翸
聵
臑
臒
臐
艟
艞
薴
藆
藀
藃
藂
薳
薵
薽
藇
藄
薿
藋
B
藎
藈
藅
薱
薶
藒
蘤
薸
薷
薾
虩
蟧
蟦
蟢
蟛
蟫
C
蟪
蟥
蟟
蟳
蟤
蟔
蟜
蟓
蟭
蟘
蟣
螤
蟗
蟙
蠁
蟴
D
蟨
蟝
襓
襋
襏
襌
襆
襐
襑
襉
謪
謧
謣
謳
謰
謵
E
譇
謯
謼
謾
謱
謥
謷
謦
謶
謮
謤
謻
謽
謺
豂
豵
F
貙
貘
貗
賾
贄
贂
贀
蹜
蹢
蹠
蹗
蹖
蹞
蹥
蹧
F1
1
蹚
2
蹡
3
蹝
4
蹩
5
蹔
6
轆
7
轇
8
轈
9
轋
A
B
C
D
E
F
4
0
蹛
鄨
鄺
鄻
鄾
醨
醥
5
醧
醯
醪
鎵
鎌
鎒
鎷
鎛
鎝
鎉
鎧
鎎
鎪
鎞
鎦
鎕
6
鎈
鎙
鎟
鎍
鎱
鎑
鎲
鎤
鎨
鎴
鎣
鎥
闒
闓
闑
隳
7
A
雗
雚
巂
雟
雘
雝
霣
霢
霥
鞬
鞮
鞨
鞫
鞤
鞪
鞢
鞥
韗
韙
韖
韘
韺
顐
顑
顒
颸
饁
餼
餺
騏
B
騋
騉
騍
騄
騑
騊
騅
騇
騆
髀
髜
鬈
鬄
鬅
鬩
鬵
C
魊
魌
魋
鯇
鯆
鯃
鮿
鯁
鮵
鮸
鯓
鮶
鯄
鮹
鮽
鵜
D
鵓
鵏
鵊
鵛
鵋
鵙
鵖
鵌
鵗
鵒
鵔
鵟
鵘
鵚
麎
麌
E
黟
鼁
鼀
鼖
鼥
鼫
鼪
鼩
鼨
齌
齕
儴
儵
劖
勷
厴
F
嚫
嚭
嚦
嚧
嚪
嚬
壚
壝
壛
夒
嬽
嬾
嬿
巃
幰
RAiO TECHNOLOGY INC.
179/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
F2
Two Layers Character/Graphic LCD Controller
1
懻
2
攇
3
攐
4
攍
5
攉
6
攌
7
攎
8
斄
9
旞
A
B
C
D
E
F
4
0
徿
旝
曞
櫧
櫠
櫌
櫑
5
櫙
櫋
櫟
櫜
櫐
櫫
櫏
櫍
櫞
歠
殰
氌
瀙
瀧
瀠
瀖
6
瀫
瀡
瀢
瀣
瀩
瀗
瀤
瀜
瀪
爌
爊
爇
爂
爅
犥
犦
7
A
犤
犣
犡
瓋
瓅
璷
瓃
甖
癠
矉
矊
矄
矱
礝
礛
礡
礜
礗
礞
禰
穧
穨
簳
簼
簹
簬
簻
糬
糪
繶
B
繵
繸
繰
繷
繯
繺
繲
繴
繨
罋
罊
羃
羆
羷
翽
翾
C
聸
臗
臕
艤
艡
艣
藫
藱
藭
藙
藡
藨
藚
藗
藬
藲
D
藸
藘
藟
藣
藜
藑
藰
藦
藯
藞
藢
蠀
蟺
蠃
蟶
蟷
E
蠉
蠌
蠋
蠆
蟼
蠈
蟿
蠊
蠂
襢
襚
襛
襗
襡
襜
襘
F
襝
襙
覈
覷
覶
觶
譐
譈
譊
譀
譓
譖
譔
譋
譕
F3
1
譂
2
譒
3
譗
4
豃
5
豷
6
豶
7
貚
8
贆
9
贇
A
B
C
D
E
F
4
0
譑
贉
趬
趪
趭
趫
蹭
5
蹸
蹳
蹪
蹯
蹻
軂
轒
轑
轏
轐
轓
辴
酀
鄿
醰
醭
6
鏞
鏇
鏏
鏂
鏚
鏐
鏹
鏬
鏌
鏙
鎩
鏦
鏊
鏔
鏮
鏣
7
A
鏕
鏄
鏎
鏀
鏒
鏧
镽
闚
闛
雡
霩
霫
霬
霨
霦
鞳
鞷
鞶
韝
韞
韟
顜
顙
顝
顗
颿
颽
颻
颾
饈
B
饇
饃
馦
馧
騚
騕
騥
騝
騤
騛
騢
騠
騧
騣
騞
騜
C
騔
髂
鬋
鬊
鬎
鬌
鬷
鯪
鯫
鯠
鯞
鯤
鯦
鯢
鯰
鯔
D
鯗
鯬
鯜
鯙
鯥
鯕
鯡
鯚
鵷
鶁
鶊
鶄
鶈
鵱
鶀
鵸
E
鶆
鶋
鶌
鵽
鵫
鵴
鵵
鵰
鵩
鶅
鵳
鵻
鶂
鵯
鵹
鵿
F
鶇
鵨
麔
麑
黀
黼
鼭
齀
齁
齍
齖
齗
齘
匷
嚲
F4
1
嚳
2
壣
3
孅
4
巆
5
巇
6
廮
7
廯
8
忀
9
忁
A
B
C
D
E
F
4
0
嚵
懹
攗
攖
攕
攓
旟
5
曨
曣
曤
櫳
櫰
櫪
櫨
櫹
櫱
櫮
櫯
瀼
瀵
瀯
瀷
瀴
6
瀱
灂
瀸
瀿
瀺
瀹
灀
瀻
瀳
灁
爓
爔
犨
獽
獼
璺
7
A
皫
皪
皾
盭
矌
矎
矏
矍
矲
礥
礣
礧
礨
礤
礩
禲
穮
穬
穭
竷
籉
籈
籊
籇
籅
糮
繻
繾
纁
纀
B
羺
翿
聹
臛
臙
舋
艨
艩
蘢
藿
蘁
藾
蘛
蘀
藶
蘄
C
蘉
蘅
蘌
藽
蠙
蠐
蠑
蠗
蠓
蠖
襣
襦
覹
觷
譠
譪
D
譝
譨
譣
譥
譧
譭
趮
躆
躈
躄
轙
轖
轗
轕
轘
轚
E
邍
酃
酁
醷
醵
醲
醳
鐋
鐓
鏻
鐠
鐏
鐔
鏾
鐕
鐐
F
鐨
鐙
鐍
鏵
鐀
鏷
鐇
鐎
鐖
鐒
鏺
鐉
鏸
鐊
鏿
RAiO TECHNOLOGY INC.
180/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
F5
Two Layers Character/Graphic LCD Controller
1
鐌
2
鏶
3
鐑
4
鐆
5
闞
6
闠
7
闟
8
霮
9
霯
A
B
C
D
E
F
4
0
鏼
鞹
鞻
韽
韾
顠
顢
5
顣
顟
飁
飂
饐
饎
饙
饌
饋
饓
騲
騴
騱
騬
騪
騶
6
騩
騮
騸
騭
髇
髊
髆
鬐
鬒
鬑
鰋
鰈
鯷
鰅
鰒
鯸
7
A
鱀
鰇
鰎
鰆
鰗
鰔
鰉
鶟
鶙
鶤
鶝
鶒
鶘
鶐
鶛
鶠
鶔
鶜
鶪
鶗
鶡
鶚
鶢
鶨
鶞
鶣
鶿
鶩
鶖
鶦
B
鶧
麙
麛
麚
黥
黤
黧
黦
鼰
鼮
齛
齠
齞
齝
齙
龑
C
儺
儹
劘
劗
囃
嚽
嚾
孈
孇
巋
巏
廱
懽
攛
欂
櫼
D
欃
櫸
欀
灃
灄
灊
灈
灉
灅
灆
爝
爚
爙
獾
甗
癪
E
矐
礭
礱
礯
籔
籓
糲
纊
纇
纈
纋
纆
纍
罍
羻
耰
F
臝
蘘
蘪
蘦
蘟
蘣
蘜
蘙
蘧
蘮
蘡
蘠
蘩
蘞
蘥
F6
1
蠝
2
蠛
3
蠠
4
蠤
5
蠜
6
蠫
7
衊
8
襭
9
襩
A
B
C
D
E
F
4
0
蠩
襮
襫
觺
譹
譸
譅
5
譺
譻
贐
贔
趯
躎
躌
轞
轛
轝
酆
酄
酅
醹
鐿
鐻
6
鐶
鐩
鐽
鐼
鐰
鐹
鐪
鐷
鐬
鑀
鐱
闥
闤
闣
霵
霺
7
A
鞿
韡
顤
飉
飆
飀
饘
饖
騹
騽
驆
驄
驂
驁
騺
騿
髍
鬕
鬗
鬘
鬖
鬺
魒
鰫
鰝
鰜
鰬
鰣
鰨
鰩
B
鰤
鰡
鶷
鶶
鶼
鷁
鷇
鷊
鷏
鶾
鷅
鷃
鶻
鶵
鷎
鶹
C
鶺
鶬
鷈
鶱
鶭
鷌
鶳
鷍
鶲
鹺
麜
黫
黮
黭
鼛
鼘
D
鼚
鼱
齎
齥
齤
龒
亹
囆
囅
囋
奱
孋
孌
巕
巑
廲
E
攡
攠
攦
攢
欋
欈
欉
氍
灕
灖
灗
灒
爞
爟
犩
獿
F
瓘
瓕
瓙
瓗
癭
皭
礵
禴
穰
穱
籗
籜
籙
籛
籚
F7
1
糱
2
纑
3
罏
4
羇
5
臞
6
艫
7
蘴
8
蘵
9
蘳
A
B
C
D
E
F
4
0
糴
蘬
蘲
蘶
蠬
蠨
蠦
5
蠪
蠥
襱
覿
覾
觻
譾
讄
讂
讆
讅
譿
贕
躕
躔
躚
6
躒
躐
躖
躗
轠
轢
酇
鑌
鑐
鑊
鑋
鑏
鑇
鑅
鑈
鑉
7
A
鑆
霿
韣
顪
顩
飋
饔
饛
驎
驓
驔
驌
驏
驈
驊
驉
驒
驐
髐
鬙
鬫
鬻
魖
魕
鱆
鱈
鰿
鱄
鰹
鰳
B
鱁
鰼
鰷
鰴
鰲
鰽
鰶
鷛
鷒
鷞
鷚
鷋
鷐
鷜
鷑
鷟
C
鷩
鷙
鷘
鷖
鷵
鷕
鷝
麶
黰
鼵
鼳
鼲
齂
齫
龕
龢
D
儽
劙
壨
壧
奲
孍
巘
蠯
彏
戁
戃
戄
攩
攥
斖
曫
E
欑
欒
欏
毊
灛
灚
爢
玂
玁
玃
癰
矔
籧
籦
纕
艬
F
蘺
虀
蘹
蘼
蘱
蘻
蘾
蠰
蠲
蠮
蠳
襶
襴
襳
觾
RAiO TECHNOLOGY INC.
181/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
F8
Two Layers Character/Graphic LCD Controller
1
讎
2
讋
3
讈
4
豅
5
贙
6
躘
7
轤
8
轣
9
醼
A
B
C
D
E
F
4
0
讌
鑢
鑕
鑝
鑗
鑞
韄
5
韅
頀
驖
驙
鬞
鬟
鬠
鱒
鱘
鱐
鱊
鱍
鱋
鱕
鱙
鱌
6
鱎
鷻
鷷
鷯
鷣
鷫
鷸
鷤
鷶
鷡
鷮
鷦
鷲
鷰
鷢
鷬
7
A
鷴
鷳
鷨
鷭
黂
黐
黲
黳
鼆
鼜
鼸
鼷
鼶
齃
齏
齱
齰
齮
齯
囓
囍
孎
屭
攭
曭
曮
欓
灟
灡
灝
B
灠
爣
瓛
瓥
矕
礸
禷
禶
籪
纗
羉
艭
虃
蠸
蠷
蠵
C
衋
讔
讕
躞
躟
躠
躝
醾
醽
釂
鑫
鑨
鑩
雥
靆
靃
D
靇
韇
韥
驞
髕
魙
鱣
鱧
鱦
鱢
鱞
鱠
鸂
鷾
鸇
鸃
E
鸆
鸅
鸀
鸁
鸉
鷿
鷽
鸄
麠
鼞
齆
齴
齵
齶
囔
攮
F
斸
欘
欙
欗
欚
灢
爦
犪
矘
矙
礹
籩
籫
糶
纚
F9
1
纛
2
纙
3
臠
4
臡
5
虆
6
虇
7
虈
8
襹
9
襺
A
B
C
D
E
F
4
0
纘
襼
襻
觿
讘
讙
躥
5
躤
躣
鑮
鑭
鑯
鑱
鑳
靉
顲
饟
鱨
鱮
鱭
鸋
鸍
鸐
6
鸏
鸒
鸑
麡
黵
鼉
齇
齸
齻
齺
齹
圞
灦
籯
蠼
趲
7
A
躦
釃
鑴
鑸
鑶
鑵
驠
鱴
鱳
鱱
鱵
鸔
鸓
黶
鼊
龤
灨
灥
糷
虪
蠾
蠽
蠿
讞
貜
躩
軉
靋
顳
顴
B
飌
饡
馫
驤
驦
驧
鬤
鸕
鸗
齈
戇
欞
爧
虌
躨
钂
C
钀
钁
驩
驨
鬮
鸙
爩
虋
讟
钃
鱹
麷
癵
驫
鱺
鸝
D
灩
灪
麤
齾
齉
龘
碁
銹
裏
墻
恒
粧
嫺
╔
╦
╗
E
╠
╬
╣
╚
╩
╝
╒
╤
╕
╞
╪
╡
╘
╧
╛
╓
F
╥
╖
╟
╫
╢
╙
╨
╜
║
═
FA
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
4
5
6
7
A
B
C
D
E
F
RAiO TECHNOLOGY INC.
182/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
FB
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
4
5
6
7
A
B
C
D
E
F
FC
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
4
5
6
7
A
B
C
D
E
F
FD
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
4
5
6
7
A
B
C
D
E
F
RAiO TECHNOLOGY INC.
183/184
www.raio.com.tw
RA8806
Preliminary Version 1.2
Two Layers Character/Graphic LCD Controller
Appendix F . Font Table - JIS Code
Please refer to the Japanese Kanji font table(RA8806_DS_V12_Font_JIS.pdf).
RAiO TECHNOLOGY INC.
184/184
www.raio.com.tw