RAiO RA8816 - RAiO Technology Inc.

RAiO
RA8816
144x65 Character/Graphic
LCD Driver
Specification
Version 1.7
July 4, 2008
RAiO Technology Inc.
@Copyright RAiO Technology Inc. 2008
RAiO TECHNOLOGY INC.
1/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
Update History
Version
Date
1.0
September 5, 2005
First Release
1.1
December 19, 2005
Update Table 5-3
1.2
January 10, 2006
1.2B
March 9, 2006
1.3
May 8, 2006
1.4
July 12, 2006
1.5
January 23, 2007
1.6
December 20, 2007
1.7
July 4, 2008
RAiO TECHNOLOGY INC.
Description
1. Modify Table 5-15
2. Modify Figure 6-17 and 6-18 : Memory Write/Read on
6800(8-Bit) I/F
3. Update Section 6-4-2: Voltage Regulator
4. Modify Table 6-3: Select VREF
5. Modify the parameter of Table 9-2
1. Modify the description of TEST[2..0] of Table 4-4
2. Modify Figure A-2, A-3 and A-4
1. Update section 6-4-2: Voltage Regulator
2. Update Table 9-8
3. Add Figure 9-5B and Table 9-7B
1. Update Table 8-1: Bump Size and Pitch
2. Update Table 9-2: Oscillator Frequency
1. Update Section 5-2 Register Contents: The description of
Scroll Offset Register (SCOR)
2. Update Section 6-4-1 Booster Circuit: Figure 6-24:
Application circuit of Booste, and the Note: The capacitor
value of C1 is 1uF and C2 is 1uF.
3. Update Section 9-2 DC Characteristic: Table 9-2
4. Update Section 9-3-1 Parallel Interface: Table 9-4
1. Update Figure 3-2: Internal Block
2. Update Table 4-1: the name of Serial Clock
3. Update Table 5-9: the Key Scan Data
4. Update Table 6-3: Select VREF
5. Update Table 6-4: Keyboard Code of Auto-Mode
6. Update Figure 6-33, 6-34 and 6-35 ASCII Table
7. Update the Section 9-3-1, the parameter of Write Data
Setup Time
8. Update Table 9-5、9-6、9-7A: The unit of Access Time.
1. Update Table 4-1,4-4, 4-5: the discription of pin name
2. Update Table 9-2: DC Characteristic
2/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
Chapter
1.
2.
3.
4.
144x65 Character/Graphic LCD Driver
Contents
Page
General Description ............................................................................
Feature ...............................................................................................
Block Diagram .....................................................................................
Pin Definition ......................................................................................
5
5
5
7
4-1 MPU Interface ...............................................................................................................................................7
4-2 Clock and Power ..........................................................................................................................................8
4-3 LCD Panel Interface .....................................................................................................................................9
4-4 Misc. ..............................................................................................................................................................9
5. Registers Description ......................................................................... 11
5-1 Register Table ........................................................................................................................................... 11
5-2 Register Contents ..................................................................................................................................... 12
6. Function Description .......................................................................... 25
6-1 MPU Interface ............................................................................................................................................ 25
6-1-1 Parallel Interface.............................................................................................................................. 25
6-1-2 Serial Interface ................................................................................................................................ 26
6-1-3 Register Read/Write ........................................................................................................................ 28
6-1-4 Memory Read/Write......................................................................................................................... 31
6-2 Memory....................................................................................................................................................... 33
6-3 System Clock............................................................................................................................................. 33
6-4 LCD Driver and Power Circuit.................................................................................................................. 34
6-4-1 Booster Circuit ................................................................................................................................. 35
6-4-2 Voltage Regulator............................................................................................................................ 37
6-4-3 Voltage Follower.............................................................................................................................. 38
6-4-4 LCD Driver....................................................................................................................................... 39
6-5 Interrupt ..................................................................................................................................................... 39
6-6 Key-Scan .................................................................................................................................................... 40
6-7 I/O Port ....................................................................................................................................................... 40
6-8 EL Signals .................................................................................................................................................. 41
6-9 ASCII Block................................................................................................................................................ 42
6-10 Power Control ......................................................................................................................................... 43
7. Display Functions .............................................................................. 44
7-1 Text Mode .................................................................................................................................................. 44
7-2 Graphic Mode ............................................................................................................................................ 45
7-3 Cursor Setting ........................................................................................................................................... 46
7-3-1 Cursor Position and Shift................................................................................................................. 46
7-3-2 Cursor Display and Blink ................................................................................................................. 46
7-3-3 Cursor Height .................................................................................................................................. 46
7-4 Display Window......................................................................................................................................... 47
7-5 Horizontal Scroll........................................................................................................................................ 48
RAiO TECHNOLOGY INC.
3/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
7-6 Vertical Scroll ............................................................................................................................................ 50
8. Pin Diagram ....................................................................................... 51
8-1 COG Pad .................................................................................................................................................... 51
8-2 Pad X/Y Coordinate................................................................................................................................... 53
9. Electrical Characteristic ..................................................................... 58
9-1 Absolute Maximum Ratings..................................................................................................................... 58
9-2 DC Characteristic ...................................................................................................................................... 58
9-3 Timing Characteristic ............................................................................................................................... 59
9-3-1 Parallel Interface.............................................................................................................................. 59
9-3-2 Serial Interface ................................................................................................................................ 60
9-3-3 Reset Interface ................................................................................................................................ 63
Appendix A. ........................................................................................... 64
A-1 COG Application....................................................................................................................................... 64
A-1-1 Basic Connection of Serial I/F......................................................................................................... 64
A-1-2 Basic Connection of Parallel I/F...................................................................................................... 65
A-1-3 Other Application for FPC ............................................................................................................... 65
A-2 ITO.............................................................................................................................................................. 67
RAiO TECHNOLOGY INC.
4/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
1. General Description
The RA8816 is a Dot-Matrix LCD Driver that supports both character and graphic mode. It built-in a
256Kbyte character ROM that consists of Chinese, English and ASCII fonts. The embedded 1170Byte
display RAM supports up to 144x65 dots LCD panel. The RA8816 also provides a scrolling buffer memory
for scrolling functions. It supports up, down, left and right scrolling features, and all of the scrolling is execute
by hardware.
In character mode, the RA8816 supports Chinese BIG5 code or GB code. The system(MPU) does not need
take a lot of time to show the Chinese font in graphic mode. It also provides small ASCII(8x8) and big
ASCII(8x16) font for English character, Japanese, European and Latin. The RA8816 integrates much
powerful hardware that including Contrast adjustment, 4x5 Key-Scan, eight General Purpose I/O and EL
Backlight signals for EL driver.
The RA8816 is a high integration chip of LCD Controller. It reduce a lot of time for system develop, and save
much cost for hardware system that due to it provides many features for related LCD display application.
2. Feature
„ Support both Character and Graphic Mode
„ Support 8080/6800 8/4-bit Parallel Interface,
3-Wire/4-Wire Serial Interface, IIC interface
„ Built-in 256KB Font ROM: Chinese, English,
ASCII, Japanese, Latin, Latin-ext A, Latin-ext
B
„ Support ASCII 8x8/8x16 Half Size Font,
16x16 Full Size Chinese Font
„ Support Maximum 144Seg x 65Com LCD
Panel. 4 x 9 Chinese Fonts(16x16), or 8 x 18
English Fonts(8x8)
„ Built-in 1170 Bytes Display RAM and 450Byte
Scrolling Buffer
„ Support 1/65 Duty, 1/9~1/5 Bias Panel
„ Built-in 2X~4X(Voltage Booster), Voltage
Regulator, Voltage Follower
„ Eight General Purpose I/O
„ Built-in 4x5 Key-scan Circuit
„ Support Horizontal/Vertical Scrolling Functions
„ Built-in 256Byte SRAM for Create Font
„ Provide Signals for EL Driver
„ Provide 32-Steps Contrast Adjuster
„ Build-in RC Oscillator
„ Voltage Operation: VDD Æ 2.7~3.8V
„ Package: Gold Bump Die
3. Block Diagram
MPU
LC D Panel
R A8816
EL B ack
L ig h t D riv e r
G P IO
4 x 5
K ey S can
Figure 3-1: System Block
RAiO TECHNOLOGY INC.
5/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
The RA8816 is consisted of Display RAM, 256Kbyte Font ROM, Command Registers, LCD Controller, LCD
Driver, Voltage Booster, Voltage Regulator, MPU Interface and Key-Scan circuit.
DB[7..0]
1170+450bytes
Display RAM + Buffer
RD(EN)
WR(R/W)
CS
MPU
I/F
D/C(RS)
Block
256bytes
CGRAM
256Kx8 Font ROM
C86
LCDC Control Block
BIT4
P/S
Cursor
Control
Register
KST[3..0]
Key Scan
Control
Block
& INT
KIN[4..0]
INT
Scroll
Control
Scan
Control
Block
Driver I/F
IO[7..0]
GPIO
EL_CHRG
EL_DCHG
RC
Oscillator
CLK_SEL
EXT_CLK
Voltage
Regulator
VR
Voltage
Follower
VREF
Voltage
Booster
RST
TEST[2..0]
Test &
Power
Circuit
S[1..0]
144
Segment
Drivers
FG
C[3..1]P C[2..1]M V0~V4 VLCD
65
Common
Drivers
SEG0~SEG143 COM0~COM63
COMS_A
COMS_B
Figure 3-2: Internal Block
RAiO TECHNOLOGY INC.
6/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
4. Pin Definition
4-1 MPU Interface
Table 4-1
Pin Name
I/O
Description
Data Bus
When the MPU use parallel mode and 8-bit interface then all of the
DB[7..0] are valid. When use 4-bit interface then only DB[3..0] are valid,
and DB[7..4] have to keep floating.
When P/ S is “0”, then the interface between MPU and RA8816 is Serial
Mode. The pins DB[7..6](SMOD[1..0]) are used to select which serial
mode:
SMOD :
Serial Mode
----------------------------------------------------------------0 0 : IIC interface, SCK, SDA are used
DB[7..0]
DB0: SCK
DB1: SDA/SDO
DB2: RS/SDI
0 1 : 3-Wire, SCK, SDA, CS are used.
I/O
1 0 : 4-Wire, SCK, SDA, RS, CS are used.
1 1 : 4-Wire, SCK, SDO, SDI, CS are used.
DB3: CS
DB[7..6]: SMOD
In serial mode, all of the related signals are defined by DB[3..0]:
SCK(DB0) : Serial Clock.
SDA(DB1) : Bi-direction Mode Serial Data.
SDO(DB1) : Data Out.
RS(DB2) : Memory/Register Cycle Select.
SDI(DB2) : Serial Data In.
CS (DB3) : Chip Select, active low.
In the IIC mode, WR , RD and DB[5..2] are used as the IIC device
address - IICA[5..0] to avoid conflict with other IIC devices.
The unused pin must keep NC for serial mode.
Read Control or Enable
RD
EN
I
When use 8080 series interface, RD is the read signal and active low.
When use 6800 series interface, EN is the Enable signal and active high.
In the IIC mode, RD is used as IIC device address - IICA[4].
This pin must keep VDD for 3 or 4-wires serial mode.
Write Control or Read-Write Control
When use 8080 series interface, WR is the write signal and active low.
WR
R/ W
I
When use 6800 series interface, this pin is R/ W , active high for read
cycle and active low for write cycle.
In the IIC mode, WR is used as IIC device address - IICA[5].
This pin must keep VDD for 3 or 4-wires serial mode.
Data/Command Select or Register Select)
When use 8080 series interface, this is Data or Command signal. When
D/ C
RS
I
RAiO TECHNOLOGY INC.
D/ C is “0”, means Register Cycle(or Command Cycle). When D/ C is
“1”, means Data Access Cycle(Data Cycle).
When use 6800 series interface, this is the RS signal. When RS is “0”,
means Register Cycle and “1” means Data Access Cycle.
7/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
CS
I
INT
O
C86
I
BIT4
I
P/ S
I
This pin must keep VDD for serial mode.
Chip Select
This is a chip enable for RA8816.
This pin must keep VDD for serial mode.
Interrupt Signal
This is an interrupt output for MPU. Active low。
MPU Select
C86 = 0 Î The MPU interface is 8080 series.
C86 = 1 Î The MPU interface is 6800 series(Default).
This pin must keep VDD for serial mode.
Data Bit Select
BIT4 = 0Î The parallel mode is use 8-bit data bus.
BIT4 = 1Î The parallel mode is use 4-bit data bus(Default).
This pin must keep VDD for serial mode.
Parallel/Serial Select
P/ S = 0 Î The MPU interface is serial mode(Default). See the setting of
DB[7..6].
P/ S = 1 Î The MPU interface is parallel mode.
4-2 Clock and Power
Table 4-2
Pin Name
I/O
V0~V4
O
C1P, C1M
I
C2P, C2M
I
C3P
I
VLCD
O
VREF
I
VR
I
CLK_SEL
I
EXT_CLK
I
VDD
VDDP
GND
GNDP
Description
Voltage Source of LCD Driver
The relationship of the power is VLCD>V0≧V1≧V2≧V3≧V4≧VSS。
Capacitor Input
These are used to connect a capacitor for internal Booster.
Capacitor Input
These are used to connect a capacitor for internal Booster.
Capacitor Input
These are used to connect a capacitor for internal Booster.
Booster Output
Reference Voltage Input
This is the refeence voltage input when use an external regulator.
Voltage Adjustment
Applies voltage between V0 and VSS. Using a resistive divider.
Clock Select
This pin is used to select the clock source. When CLK_SEL is “1”, the
clock is generated by internal RC oscillator. When CLK_SEL is “0”, the
system clock is drived by external pin - EXT_CLK.
External Clock
When CLK_SEL is “0”, this pin is the external clock input. When
CLK_SEL is “1”, this pin do not used and has to connect VDD or GND.
P
VDD Power
P
Ground
RAiO TECHNOLOGY INC.
8/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
4-3 LCD Panel Interface
Table 4-3
Pin Name
SEG0 ~ SEG143
COM0 ~ COM63
COMS_A
COMS_B
DUMY[5..0]
I/O
Description
O
O
Segment Signals for Panel
Common Signals for Panel
O
Icon Common Signals for Panel
O
Dummy PAD
4-4 Misc.
Table 4-4
Pin Name
I/O
KST[3..0]
O
KIN[4..0]
I
IO[7..0]
EL_CHRG
EL_DCHG
I/O
O
O
RST
I
TEST[2..0]
I
S[1..0], FG
I
RAiO TECHNOLOGY INC.
Description
Key Strobe Output
Key Data Input
For pins that are not used, please connect them to VDD.
General Purpose I/O
EL Charge Signal
EL Discharge Signal
Reset
RST=0, RA8816 will be reset.
RST=1, Normal condition, there is an embedded Pull-High resistor in it.
Test Pins
These pins must contact to GND in normal mode.
Test Pins
These pins must keep NC for normal mode.
9/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
Table 4-5: Pin Definition of Parallel/Serial Mode of MPU
Parallel Mode
Pin Name
8080
I/O
8Bit
Serial Mode
6800
4Bit
1
IIC
8Bit
4Bit
3-Wire
4-Wire
(A-Typ)
4-Wire
(B-Typ)
DB7
I/O
DB7
--*
DB7
--
0
0
1
1
DB6
I/O
DB6
--
DB6
--
0
1
0
1
DB5
I/O
DB5
--
DB5
--
IICA3
--
--
--
DB4
I/O
DB4
--
DB4
--
IICA2
--
--
--
DB3
I/O
DB3
DB3
DB3
DB3
IICA1
CS
CS
CS
DB2
I/O
DB2
DB2
DB2
DB2
IICA0
--
RS
SDI
DB1
I/O
DB1
DB1
DB1
DB1
SDA
SDA
SDA
SDO
DB0
I/O
DB0
DB0
DB0
DB0
SCK
SCK
SCK
SCK
2
2
RD , EN
I
RD
RD
EN
EN
IICA4
1*
1*
1*2
WR , R/ W
I
WR
WR
R/ W
R/ W
IICA5
1*2
1*2
1*2
D/ C , RS
I
D/ C
D/ C
RS
RS
1*2
1*2
1*2
1*2
CS
I
CS
CS
CS
CS
1
1
1
1
C86
I
0
0
1
1
1
1
1
1
BIT4
I
0
1
0
1
1
1
1
1
P/ S
I
1
1
1
1
0
0
0
0
Note1: “--" means not used and keep floating(NC).
Note2: In serial mode the unused parallel pins have to connect to 1(VDD).
RAiO TECHNOLOGY INC.
10/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
5. Registers Description
5-1 Register Table
Table 5-1: Register Table
ID
Name
D7
D6
D5
D4
D3
D2
D1
D0
Description
0
DWFR
B/C
--
NW5
NW4
NW3
NW2
NW1
NW0
1
PWRR
SRST
MCLR
--
IO_IEN
KWK
IOWK
DOFF_Z
SLP
2
SYSR
LS3
LS2
LS1
LS0
GB_EN
--
RS1
RS0
3
MWMR
BIEN
ASCS
BOLD
INV
MD1
MD0
Wave Form Select
Power Control
System Setting
Memory Mode
BMOD1 BMOD0
BLK
CR
X4
X3
X2
X1
X0
Y4
Y3
Y2
Y1
Y0
IRE
KF1/
KSTB1
KF0/
KSTB0
KSD3
KSD2
KSD1
KSD0
AKD4
AKD3
AKD2
AKD1
AKD0
CURCR
H3
5
X-CUR
--
--
X5
6
Y-CUR
--
Y6
Y5
KEYR
KSB
KDB1
KDB0
SIRQ
KSTB1
KSTB0
KSD4
SIRQ
AKD6
AKD5
KSDR
H1
--
4
7
H2
CUR_E
N
H0
KSTB_S
K_AUTO
EL
8
SWSXR
--
--
--
SSX4
SSX3
SSX2
9
SWSYR
--
--
SSY5
SSY4
SSY3
SSY2
A
SWRXR
--
--
--
SRX4
SRX3
SRX2
B
SWRYR
PINV
--
SRY5
SRY4
SRY3
SRY2
C
SCOR
SL7
SL6
D
ASCR
SPD3
SPD2
E
SCCR
F
ISR
10
CSTR
11
DRCR_A
12
DRCR_B
13
BLTR
14
IODR
15
IODAR
16
ELCR
17
CGMI
18
CGMD
SL5/SR5 SL4/SR4 SL3/SR3 SL2/SR2
SPD1
SCR_IM SCR_IM SCR_M
D1
D0
D
SPD0
SBUF
STP3
STP2
Cursor Control
Cursor X Position
Cursor Y Position
Key-scan Control
Key-scan Data
X-Scroll Start
SSY1
SSY0
Y-Scroll Start
SRX1
SRX0
X-Scroll Range
SRY1
SRY0
Y-Scroll Range
SL1/SR1 SL0/SR0 Scroll Unit
STP1
STP0
Auto Scroll Control
SSX1
SSX0
SCR_DI SCR_DI SCR_IN AUTO_S
Scroll Control
R1
R0
TEN
CR
Interrupt Status
BR2
BR1
BR0
CT4
CT3
CT2
CT1
CT0
Contrast
BOFF
EN_R
EN_G
ROFF
IDIR
-CDIR
SDIR
Driver Control
CK_BS1 CK_BS0 RR2
RR1
RR0
IRS
HD1
HD0
Driver Control
BLK_EN PBK_EN
-INV
BLT3
BLT2
BLT1
BLT0
Blink Setting
OE7
OE6
OE5
OE4
OE3
OE2
OE1
OE0
I/O Port Direction
IOD7
IOD6
IOD5
IOD4
IOD3
IOD2
IOD1
IOD0
I/O Port Data
EL_EN
---ELT3
ELT2
ELT1
ELT0
EL Control
-----UMI2
UMI1
UMI0
Create Font Select
CGMD7 CGMD6 CGMD5 CGMD4 CGMD3 CGMD2 CGMD1 CGMD0 Create Font Data
BF
RAiO TECHNOLOGY INC.
--
--
--
11/68
IO_I
SCR_I
KI
BI
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
5-2 Register Contents
The RA8816 accept two Command Cycle from MPU. One is Register Cycle(RS = 0) and the other is
Memory Cycle(RS = 1). The MPU has to assign the register number of RA8816 that before access these
registers. Therefore, the first byte that MPU pass to RA8816 will be store into Index Register. And RA8816
will assume the next byte is read from or write into the register which Index Register assigned.
IR (Index Register)
RW
0
RS
0
DB7
0
DB6
0
DB5
0
DB4
ID4
DB3
ID3
DB2
ID2
DB1
ID1
DB0
ID0
ID[4..0]: These bits are used to store the register number that MPU want to access on next cycle.
The ID[[4..0] provide 32 register number(00h~1Fh). But currently the RA8816 only used 25 registers
(00h~18h). All of these registers are be initially to “00h” after RESET.
Memory Data (RAMD)
RW
0/1
RS
1
DB7
D7
DB6
D6
DB5
D5
DB4
D4
DB3
D3
DB2
D2
DB1
D1
DB0
D0
If RS is “1”, It means MPU execute the Memory Cycle for RA8816. When RW is “0”, MPU will write data to
Display RAM or ICON RAM that according the setting of MD[1..0](REG[03h] bit1-0). For example, MPU
writes Big5/GB/ASCII code to memory in Text Mode, or write bitmap data to display memory in Graphic
mode. When RW is “1”, the MPU read data from different paths of RA8816. It depend on the operation
mode as following:
1. Full Size Text Mode: From up to down of Left side(16-Bytes), and then up to down of Right
side(16-Bytes), total is 32-Bytes.
2. Half Size Text Mode: From up to down, total 16-Bytes data.
3. Small ASCII Text Mode: From up to down, total 8-Bytes data.
4. Graphics Mode: From left to right, each reading is one byte(8-Pixels).
[00h] Driver Waveform Register (DWFR)
RW
0
DB7
B/C
DB6
--
DB5
NW5
DB4
NW4
DB3
NW3
DB2
NW2
DB1
NW1
DB0
NW0
B/C: Select waveform of drive. 0 Î B-Type waveform. 1 Î C-Type waveform.
NW[5..0]: These bits are used to assign the Segment/Row number that when internal Frame signals can to
it and want to change the state. This function support only when B/C is “1” (C-Type wave form).
[01h] Power Control Register (PWRR)
RW
0
DB7
SRST
DB6
MCLR
DB5
--
DB4
IO_IEN
DB3
KWK
DB2
IOWK
DB1
DOFF_Z
DB0
SLP
SRST: S/W reset. 1 Î All of the register will be initialed again except the display memory. Once this bit set
to 1 then RA8816 has to take 50us for operation and cannot accept any new command from MCU.
0 Î No action.
MCLR: Clear memory. 1 Î Clear the Display RAM data to “00h”. Once this bit set to 1 then RA8816 has to
take 100ms for operation and cannot accept any new command from MCU. 0 Î No action. Please
note that MCLR and SRST should not be set to ”1” simultaneously or the MCLR function will has
no effect.
IO_IEN : I/O Interrupt Setup. 0 Î I/O port Interrupt Disable. 1 Î I/O Interrupt Enable.
KWK: Key-scan wake up Setting. 0 Î Key-scan Wake up function off. 1 Î Key-scan wake up function on.
RAiO TECHNOLOGY INC.
12/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
IOWK: I/O wake up Setting. 0 Î I/O port wake up function off. 1 Î I/O port wake up function on.
DOFF_Z: Display off. 0 Î LCD driver and display off. 1 Î LCD driver and display on.
SLP: Sleep mode setting. 1 Î Enter sleep mode, and turn off the clock. 0 Î RA8816 wake up. This bit
was clear to “0” when wake up from I/O port or Key-scan.
[02h] System Register (SYSR)
RW
0
DB7
LS3
DB6
LS2
DB5
LS1
DB4
LS0
DB3
GB_EN
DB2
--
DB1
RS1
DB0
RS0
LS[3..0]: Setup the segment number. The maximum segment of RA8816 is 144.
Table 5-2
LS3 LS2 LS1 LS0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
1
1
0
0
0
1
1
0
0
1
1
0
0
1
0
1
0
1
0
1
0
:
:
1
1
Line No.
16
32
48
64
80
96
112
128
144
Reserved
1
1
Reserved
GB_EN: Setup the GB code or BIG5 code. 1 Æ GB Code. 0 Æ BIG5 Code.
RS[1..0]: Setup the common number. The maximum common of RA8816 is 64(Not including Icon).
Table 5-3
Duty
RS1
RS0
Status
Normal
1/33
0
0
Reverse
1/49
0
1
1/55
1
0
1/65
1
1
Normal
Reverse
Normal
Reverse
Normal
Reverse
RAiO TECHNOLOGY INC.
COM
[0-15]
Common Output Pads
COM
COM
COM
COM
COM
[16-23] [24-26] [27-36] [37-39] [40-47]
COM
[0-15]
COM
[31-16]
COM[0-23]
COM[47-24]
COM[0-26]
COM[53-27]
13/68
NC
NC
NC
NC
NC
NC
COM[0-63]
COM[63-0]
COM
[48-63]
COM
[16-31]
COM
[15-0]
COM[24-47]
COM[23-0]
COM[27-53]
COM[26-0]
COMS
COMS
COMS
COMS
COMS
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
[03h] Memory Write Mode Register (MWMR)
RW
0
DB7
BMOD1
DB6
BMOD0
DB5
BIEN
DB4
ASCS
DB3
BOLD
DB2
INV
DB1
MD1
DB0
MD0
BMOD[1..0]: Setup the range for memory written.
Table 5-4
BMOD1
BMOD0
Memory Range of Write
0
0
1
0
1
x
Normal Display Range
Display Range + Scroll-Buffer
Scroll-Buffer
BIEN: Busy interrupt control. 1 Î Busy interrupt enable (After write data to memory). 0 Î Busy interrupt
disable.
ASCS: Select ASCII Table。0 Î Select ASCII Table-1. 1 Î Select ASCII Table-2. Refer Chapter 6-9.
BOLD: Select Bold Font to write Display RAM. 0 Î Normal font. 1 Î Bold font.
INV: Select reverse font to write Display RAM. 0 Î Normal font. 1 Î Reverse font.
MD[1..0]: Select operation mode for Display RAM.
MD1
0
0
1
1
Table 5-5
MD0
Operation Mode
0
1
0
1
Graphic Mode
Small ASCII (8X8)
Big ASCII(8X16)
Full Size(16X16)
When Full-Size mode(MD[1..0] = 11), if the first byte data is less than 80h, RA8816 will assume it’s an
ASCII code and show the Big ASCII font. But if want to show the Big ASCII font that code is large than 80h,
then the operation mode has to change to Big ASCII mode(MD[1..0] = 10).
RAiO TECHNOLOGY INC.
14/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
[04h] Cursor Control Register (CURCR)
RW
0
DB7
H3
DB6
H2
DB5
H1
DB4
H0
DB3
--
DB2
BLK
DB1
CR
DB0
CUR_EN
H[3..0]: Setup the cursor height.
H3
H2
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
Table 5-6
H1
H0
Height(Pixel)
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
In Small ASCII mode(8X8), the H3 is reserved. The setting of cursor height is only form 1~8pixels(H[3..0] =
x000b~x111b).
BLK: Cursor blink select. 0 Î No Blinking. 1 Î Cursor Blinking.
CR: Cursor return. 0 Î No action. 1 Î Cursor return. Cursor will return to the left of panel.
CUR_EN: Cursor display select. 0 Î Cursor hides. 1 Î Cursor Display.
[05h] Cursor Position Register of X (X-CUR)
RW
0
DB7
--
DB6
--
DB5
X5
DB4
X4
DB3
X3
DB2
X2
DB1
X1
DB0
X0
X[5..0]: Setup the cursor position on segment. The unit is 8-pixels. Because maximum segment of RA8816
is 144-pixels, therefore the range of X[5..0] is 0~11h. When the X[5..0] is 20h or 21h, then the
cursor position is assign to horizontal Scroll-Buffer.
[06h] Cursor Position Register of Y (Y-CUR)
RW
0
DB7
--
DB6
Y6
DB5
Y5
DB4
Y4
DB3
Y3
DB2
Y2
DB1
Y1
DB0
Y0
Y[6..0]: Setup the cursor position on common. The unit is 1-pixels. Because maximum common of RA8816
is 64-pixels, therefore the range of Y[6..0] is 0~3Fh. When the Y[6..0] is 40h~4Fh, then the cursor
position is assign to vertical Scroll-Buffer. When Y[6..0] is 50h then cursor is located at
COMS(Icon).
RAiO TECHNOLOGY INC.
15/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
[07h] Key-scan Control Register (KEYR) (Write Only)
RW
DB7
DB6
DB5
0
KSB
KDB1
KDB0
DB4
DB3
KSTB_SE
K_AUTO
L
DB2
IRE
DB1
KF1/
KSTB1
DB0
KF0/
KSTB0
KSB: Key-scan control. 0 Î Key-scan disable. 1 Î Key-scan enable.
KDB[1..0]: Setup the de-bounce times of Key-scan in Auto-Mode. The one time means the time that Keyscan for one loop.
Table 5-7
KDB1 KDB0
Times
0
0
1
1
0
1
0
1
8
16
32
64
KSTB_SEL: In non-Auto-mode, 0 Î the DB[1..0] are defined as KF[1..0]. 1 Î The DB[1..0] are defined as
KSTB[1..0] 。In Auto-Mode, the DB[1..0] is also defined as KF[1..0].
K_AUTO: Setup the scan mode. 1 Î Auto-Mode. The RA8816 will auto detect the key and store the code
into AKD[6..0] for MPU reading. 0 Î Non-Auto-Mode. The RA8816 will not store the code to
AKD[6..0]. The MPU has to read data from KSTB[1..0] and KSD[4..0] to make sure which key
was pressed. Of course, MPU could know if not only one key pressed at the same time In NonAuto-Mode.
IRE: Setup the Interrupt of Key-scan. 0 Î Hardware Interrupt disable while key is pressed. 1 Î Generate
hardware interrupt while key is pressed.
KF[1..0]: Setup the frequency of Key-scan.
Table 5-8
KF1
KF0
Pulse Width
Key-scan Cycle Time
(4x5)
0
0
1
1
0
1
0
1
256us
512us
1.024ms
2.048ms
1.024ms
2.048ms
4.096ms
9.182ms
KSTB[1..0]: In Non-Auto-Mode, These two bits are used to setup the strobe for the Row of key matrix. If
any key pressed, the MPU can read data from KSTB[1..0] and KSD[4..0] to make sure which
key was pressed. The strobe data are also readable from Bit[6..5] of register KSDR.
[07h] Key-scan Data Register (KSDR) (Read Only)
If K_AUTO = 0:
RW
DB7
DB6
DB5
DB4
1
SIRQ
KSTB1
KSTB0
KSD4
DB3
KSD3
DB2
KSD2
DB1
KSD1
DB0
KSD0
SIRQ: Indicate the interrupt of Key-scan. This bit was clear when REG[0Fh] bit 1 write “0”.
KSTB[1..0]: These two bit show which pin of KST[3..0] active.
KSD[4..0]: KIN Return Data. These bits are used in Non-Auto-Mode. The MPU can read data from
KSTB[1..0] and KSD[4..0] to make sure which key was pressed.
RAiO TECHNOLOGY INC.
16/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
If K_AUTO = 1:
RW
1
DB7
SIRQ
DB6
AKD6
DB5
AKD5
DB4
AKD4
DB3
AKD3
DB2
AKD2
DB1
AKD1
DB0
AKD0
SIRQ: Indicate the interrupt of Key-scan. This bit was clear when REG[0Fh] bit 1 write “0”.
AKD[6..0]: Scan Data(Code). In Auto–Mode, the MPU read data from this register to know the status of
key matrix. The RA8816 supports 4x5 key matrix -- total 20Keys. The BCD number of 0~19h
are mapping to these keys.
AKD[6..0]
Table 5-9
Scan Data
0~19
20~39
42
Other
Key No. Input
Long Key No. Input
Key Release
Reserved
[08h] Scroll Window Start X Register (SWSXR)
RW
0
DB7
--
DB6
--
DB5
--
DB4
SSX4
DB3
SSX3
DB2
SSX2
DB1
SSX1
DB0
SSX0
SSX[4..0]: Setup Segment (X) start point of scroll window. The unit is half size width(8-Pixels).
[09h] Scroll Window Start Y Register (SWSYR)
RW
0
DB7
--
DB6
--
DB5
SSY5
DB4
SSY4
DB3
SSY3
DB2
SSY2
DB1
SSY1
DB0
SSY0
SSY[5..0]: Setup the Common (Y) start point of scroll window. The unit is pixel.
[0Ah] Scroll Window Range X Register (SWRXR)
RW
0
DB7
--
DB6
--
DB5
--
DB4
SRX4
DB3
SRX3
DB2
SRX2
DB1
SRX1
DB0
SRX0
SRX[4..0]: Setup Segment (X) offset of scroll window. The unit is half size width(8-Pixels).
[0Bh] Scroll Window Range Y Register (SWRYR)
RW
0
DB7
PINV
DB6
--
DB5
SRY5
DB4
SRY4
DB3
SRY3
DB2
SRY2
DB1
SRY1
DB0
SRY0
PINV : Invert area select. 0 Î Whole screen invert. 1 Î Partial screen invert.
SRY[5..0]: Setup the Common (Y) offset of scroll window. The unit is pixel.
RAiO TECHNOLOGY INC.
17/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
[0Ch] Scroll Offset Register (SCOR)
RW
0
DB7
SL7
DB6
SL6
DB5
DB4
DB3
DB2
DB1
DB0
SL5/SR5 SL4/SR4 SL3/SR3 SL2/SR2 SL1/SR1 SL0/SR0
SL[7..0]: Setup the shift unit of horizontal scroll. The unit is pixel and active when register SCR_MD
(REG[0Eh]bit 5) is clear to “0”.
SR[5..0]: Setup the shift unit of vertical scroll. The unit is pixel and active when register SCR_MD
(REG[0Eh]bit 5) is set to “1”.
In auto scroll mode, this register is also used to setup the start position of scroll of Common or Segment.
In Non-Auto-Scroll mode, the shift unit of this register cannot over the range of scroll area – REG[08h~0Bh].
[0Dh] Auto-Scroll Control Register (ASCR)
RW
0
DB7
SPD3
DB6
SPD2
DB5
SPD1
DB4
SPD0
DB3
STP3
DB2
STP2
DB1
STP1
DB0
STP0
SPD[3..0]: Setup the speed of auto scroll.
SPD3
SPD2
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
Table 5-10
SPD1 SPD0
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Scroll Time
1 Unit
3 Units
5 Units
7 Units
17 Units
19 Units
21 Units
23 Units
129 Units
131 Units
133 Units
135 Units
145 Units
147 Units
149 Units
151 Units
1 Unit = 1 Frame Times
RAiO TECHNOLOGY INC.
18/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
STP[3..0]: Setup the shift unit on auto scroll mode.
STP3
STP2
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
Table 5-11
STP1
STP0
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Shift Pixel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[0Eh] Scroll Control Register (SCCR)
RW
0
DB7
DB6
DB5
SCR_IM SCR_IM
SCR_MD
D1
D0
DB4
SBUF
DB3
DB2
DB1
DB0
SCR_DI SCR_DI SCR_INT AUTO_S
R1
R0
EN
CR
SCR_IMD[1..0]: The definition is as following and they are available at Auto–Scroll-Mode.
0X: Setup 1-pixel shift to caused interrupt(SCR_INTEN must be 1).
10: Setup 8-pixel shift to caused interrupt(SCR_INTEN must be 1)
11: Setup 16-pixel shift to caused interrupt(SCR_INTEN must be 1)
SCR_MD: Scroll Mode Select. 0 Î Non-Auto-Scroll, the scroll offset clear to “0”. 1Î Auto-Scroll Mode.
SBUF: Scroll-Buffer Control. 0 Î Scroll-Buffer disable. The scroll will not including the Scroll-Buffer, only
for display area. 1Î Scroll-Buffer enable. The scroll area is including the display and Scroll-Buffer.
SCR_DIR[1..0]: Select the direction of scroll.
SCR_DIR1
0
0
1
1
Table 5-12
SCR_DIR0
Direction of Scroll
0
1
0
1
Left to Right(Horizontal)
Right to Left(Horizontal)
Up to Down(Vertical)
Down to Up(Vertical)
SCR_INTEN: Setup the scroll interrupt. 0 Î Scroll interrupt disable. 1 Î In auto scroll mode, when
scrolling 1, 8 or 16-pixels generate an interrupt to MPU.
AUTO_SCR: Auto-Scroll control. 0 Î Stop the Auto-Scroll. If want to close the Auto-Scroll mode or display
new data on the screen, then the Bit5 - SCR_MD must clear to 0 first. 1 Î Auto-Scroll going.
RAiO TECHNOLOGY INC.
19/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
[0Fh] Interrupt Status Register (ISR)
RW
1
DB7
BF
DB6
--
DB5
--
DB4
--
DB3
IO_I
DB2
SCR_I
DB1
KI
DB0
BI
BF: Busy Flag. 1 Î Display RAM is in busy(Data Write). 0 Î Display RAM is idle(Write complete).
IO_I: I/O Port Interrupt. 1 Î Interrupt for I/O port. 0 Î No I/O port interrupt.
SCR_I: Scroll interrupt. 1 Î Interrupt for scroll complete,0 Î No scroll Interrupt.
KI: Key-scan interrupt. 1 Î Interrupt for key pressed. 0 Î No Key pressed Interrupt.
BI: Busy Interrupt. 1 Î Interrupt for the activity of writing data to display RAM completed. 0 Î No busy
Interrupt
[10h] Contrast Adjust Register (CSTR)
RW
0
DB7
BR2
DB6
BR1
DB5
BR0
DB4
CT4
DB3
CT3
DB2
CT2
DB1
CT1
DB0
CT0
BR[2..0]: Setup the LCD Bias(Base on 144x65).
Table 5-13
BR2
BR1
BR0
Bias
0
0
0
1/5
0
0
1
1/6
0
1
0
1/7
0
1
1
1/8
1
0
0
1/9
1
0
1
1/9
1
1
0
1/9
1
1
1
1/9
CT[4..0]: Setup the Contrast(32 Levels). Normally it depends on the liquid, power and panel size to adjust
the best display quality.
Table 5-14
CT4 CT3 CT2 CT1 CT0
0
0
0
0
0
0
Contrast
0
0
0
1
Light
1
1
Dark
:
:
1
RAiO TECHNOLOGY INC.
1
1
20/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
[11h] Driver Control Register1 (DRCR_A)
RW
0
DB7
BOFF
DB6
EN_R
DB5
EN_G
DB4
ROFF
DB3
IDIR
DB2
--
DB1
CDIR
DB0
SDIR
BOFF: Booster control. 1 Î Internal Booster enable. 0Î Internal Booster is disabled and using the
external voltage.
EN_R: Reference voltage control. 1 Î Internal reference voltage enable for Regulator. 0 Î Disable the
internal reference voltage. The Regulator use external reference voltage.
EN_G: V0 control. 1 Î The V0 is generated by internal Regulator. 0 Î Use external power for V0, and the
EN_R and BOFF have to clear “0”(Off) to reduce power consumption.
ROFF: Voltage Follower control. 1 Î Internal Voltage Follower enable for LCD Bias voltage. 0 Î Disable
internal Voltage Follower, and use external voltage to generate LCD Bias voltage. If use external
Voltage Follower, then EN_G, EN_R and BOFF have to clear “0”(Off) to reduce power
consumption.
IDIR : Icon sequence select. 0 Î Icon sequence is fixed. 1Î Icon sequence follow the setting of
CDIR/SDIR.
CDIR: Common sequency select. 0 Î Pins COM0~63 are mapping to Common 0~63. 1Î Pins COM0~63
are mapping to Common 63~0.
SDIR: Segment sequency select. 0 Î Pins SEG0~143 are mapping to Segment 0~143. 1Î Pins
SEG0~143 are mapping to Segment 143~0.
[12h] Driver Control Register (DRCR_B)
RW
0
DB7
DB6
CK_BS1 CK_BS0
DB5
RR2
DB4
RR1
DB3
RR0
DB2
IRS
DB1
HD1
DB0
HD0
CK_BS[1..0]: Select the clock of Booster. Assume the RC oscillator clock is 100KHz.
Table 5-15
CK_BS1
CK_BS0
Clock of Booster
0
0
SYS_CLK/2 Æ 50KHz
0
1
SYS_CLK/4 Æ 25KHz
1
0
SYS_CLK/6 Æ 16.7KHz
1
1
SYS_CLK/8 Æ 12.5KHz
RR[2..0]: Setup the Resistor Ratio of Regulator. The ratio is VREF : V0. Please refer to Section 6-4-2.
Table 5-16
RR2
RR1
RR0
Resistor Ratio
0
0
0
X3
0
0
1
X3.5
0
1
0
X4
0
1
1
X4.5
1
0
0
X5
1
0
1
X5.5
1
1
0
X6
1
1
1
X6.4
Note: The VREF is 2.1V.
RAiO TECHNOLOGY INC.
21/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
IRS: Select the resistors for the V0 voltage level adjustment. 1 Î Use the internal resistors. 0 Î Do not
use the internal resistors. The V0 voltage level is regulated by an external resistive voltage divider
that is attached to the VR signal.
HD[1..0]: Setup the LCD driving current. Normally big panel use bigger driving current to void bad display
quality.
Table 5-17
HD1
HD0
Driving Current
0
0
Min.
0
1
1
0
1
1
Max.
[13h] Blink Timer Register (BLTR)
RW
0
DB7
DB6
BLK_EN PBK_EN
DB5
--
DB4
INV
DB3
BLT3
DB2
BLT2
DB1
BLT1
DB0
BLT0
BLK_EN: Blinking. 0 Î Blinking off. 1 Î Blinking on.
PBK_EN: Whole or Partial Blinking selection. 0 Î Whole screen Blinking. 1 Î Partial screen Blinking. The
blinking area is depending on the scroll window. That means the partial area is setting by register
SWSXR, SWSYR, SWRXR and SWRYR. When the Partial Blinking off, the above four registers had
better clear to 0. Note, only BLK_EN set to “1” when blink is active.
INV: Setup display reverse. 0 Î Normal display. 1 Î Display reverse. The reverse area is depend on the
Bit7(PINV) of register SWRYR.
BLT[3..0]: Setup blinking time.
Table 5-18
RAiO TECHNOLOGY INC.
BLT3
BLT2
BLT1
BLT0
Blink Time
(Unit: Frames)
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
8
16
24
32
40
48
56
64
72
80
88
96
104
112
120
128
22/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
[14h] I/O Direction Control Register (IODR)
RW
0
DB7
OE7
DB6
OE6
DB5
OE5
DB4
OE4
DB3
OE3
DB2
OE2
DB1
OE1
DB0
OE0
DB2
IOD2
DB1
IOD1
DB0
IOD0
OE[7..0]: Select the I/O port direction. 0 Î Input. 1 Î Output.
[15h] I/O Data Register (IODAR)
RW
0
DB7
IOD7
DB6
IOD6
DB5
IOD5
DB4
IOD4
DB3
IOD3
IO[7..0]: This register stores the input data of I/O port when I/O port is input mode.
[16h] EL Control Register (ELCR)
RW
0
DB7
EL_EN
DB6
--
DB5
--
DB4
--
DB3
ELT3
DB2
ELT2
DB1
ELT1
DB0
ELT0
EL_EN: EL signals output . 0 Î Off. 1 Î On.
ELT[3..0]: Setup the output time of EL signals. The following table is base on the RC oscillator fix at 45KHz.
The output time is longer when RC oscillator clock is slower.
Table 5-19
ELT3
ELT2
ELT1
ELT0
Output Time(Sec)
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
1
2
4
6
8
10
12
14
16
18.
20
22
24
26
28
30
RAiO TECHNOLOGY INC.
23/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
[17h] CGRAM Register (CGMI)
RW
0
DB7
--
DB6
--
DB5
--
DB4
--
DB3
--
DB2
UMI2
DB1
UMI1
DB0
UMI0
UMI[2..0]: Select the create font number. The RA8816 allow user create eight 16x16 full size font. The
mapping font code is FFF0h~FFF7h.
Table 5-20
UMI2 UMI1 UMI0
Font Code
.0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
FFF0h
FFF1h
FFF2h
FFF3h
FFF4h
FFF5h
FFF6h
FFF7h
[18h] CGRAM Data Register (CGMD)
RW
0
DB7
CGMD7
DB6
CGMD6
DB5
CGMD5
DB4
CGMD4
DB3
CGMD3
DB2
CGMD2
DB1
CGMD1
DB0
CGMD0
CGMD[7..0]: This register is used to transfer or read the data of 16x16 full size font. The MPU write
continuous 32-bytes data of bit-map of 16x16 full size font into this register that after program
the REG[17h]. If user want to show the self-create font, just write the two bytes font code to
RA8816.
RAiO TECHNOLOGY INC.
24/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
6. Function Description
6-1 MPU Interface
6-1-1 Parallel Interface
The MPU interface of RA8816 supports both 8080 and 6800 series with in 4-Bit or 8-bit bus width. If
the “C86” connects to GND, then the MPU is defined as 8080 type interface. If pin “C86” connects
to VDD, then it’s defined as 6800 type interface. Refer to the Figure 6-1 and 6-2.
If the pin “BIT4” connects to GND, then the bus width of MPU interface is 8-Bit. If the pin “BIT4”
connects to VDD, then the bus width is 4-Bit. And only the DB[3..0] of data bus are available.
8080
MPU
RA8816
A0
A1-A7
IORQ
VDD
D/C
P/S
Decoder
CS
C86
D0-D3(D0-D7)
DB0-3(DB0-7)
-
RD
RD
WR
WR
RES
RST
BIT4
VDD
or
GND
Figure 6-1: 8080 (4/8-Bit) MPU Interface
6800
MPU
RA8816
A0
A1-A7
VMA
VDD
RS
P/S
Decoder
CS
C86
D0-D3(D0-D7)
DB0-3(DB0-7)
EN
EN
R/W
R/W
RES
RST
BIT4
VDD
or
GND
Figure 6-2: 6800 (4/8-Bit) MPU Interface
RAiO TECHNOLOGY INC.
25/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
6-1-2 Serial Interface
The RA8816 aslo support three type serial interface. One is 3-Wires, one is IIC mode, and the
others are 4-Wires(A-Type, B-Type). This feature is control by the pin “P/ S ” and DB[7..6]. Refer to
Table 4-1. In serial mode the DB[7..6] are used as SMOD[1..0] to select the different serial mode.
Please also refer to Table 6-1. The Figure 6-3 to 6-5 are the interface diagram of MPU and RA8816
which in serial mode.
Table 6-1
Serial Interface Mode
SMOD
0 0
IIC(2-Wire). Use signals SCK, SDA and IICA[5..0]
0 X
3-Wires. Use signals SCK, SDA and CS .
1 0
4-Wires (A-Type). Use signals SCK, SDA, RS and CS .
1 1
4-Wires (B-Type). Use signals SCK, SDO, SDI and CS .
MPU
RA8816
SMOD1(DB7)
VDD
SMOD0(DB6)
IICA5(WR)
P/S
IICA4(RD)
IICA3(DB5)
IICA2(DB4)
IICA1(DB3)
IICA0(DB2)
IO0
SCK(DB0)
IO1
SDA(DB1)
Figure 6-3:IIC interface Diagram
In the IIC mode, WR 、 RD and DB[5..2] are consist to the IICA[5..0] for the address selection of IIC
Bus device. The address setting is available only not conflict to other device.
In the 4-wire B-Type serial mode, the SCK signal has to add an external pull-hi rsistor as Figure 6-6.
RAiO TECHNOLOGY INC.
26/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
MPU
VDD
RA8816
SMOD1(DB7)
SMOD0(DB6)
P/S
IO0
SCK(DB0)
IO1
SDA(DB1)
IO2
CS(DB3)
Figure 6-4: 3-Wires MPU interface
MPU
VDD
RA8816
SMOD1(DB7)
SMOD0(DB6)
IO0
SCK(DB0)
IO1
SDA(DB1)
IO2
RS(DB2)
IO3
CS(DB3)
P/S
Figure 6-5: 4-Wires(A-Type) MPU interface
MPU
VDD
VDD
RA8816
SMOD1(DB7)
2.2KΩ
SMOD0(DB6)
IO0
SCK(DB0)
IO1
SDO(DB1)
IO2
SDI(DB2)
IO3
CS(DB3)
P/S
Figure 6-6: 4-Wires(B-Type) MPU interface
RAiO TECHNOLOGY INC.
27/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
6-1-3 Register Read/Write
The RA8816 accepts two access cycles from MPU. One is the read cycle from register and the
other is write cycle to register. Another is read data from memory or write data to memory. As
description of Chapter 5-2, MPU must tell the RA8816 that which register will be access. Therefore
the first data that write to RA8816 is to select the register number. And the second data is the exact
data that writing into or reading from this register.
Because the features of RA8816 are controlled by the contents of internal registers. So if we write
data to register is like to give a command to RA8816. Therefore we can say that the Register
Access Cycle is same as Command Cycle.
The Figure 6-7 and 6-8 show the register access timing of 8080 MPU(8-Bit) with RA8816. Figure 6-9
and 6-10 show the register access timing of 6800MPU(8-Bit) interface. Figure 6-11 to 6-14 show the
register access timing of serial interface.
DB[7:0]
REG No.
DB[7:0]
DATA
CS
CS
WR
WR
RD
RD
D/C
D/C
Figure 6-7: Register Wrie on 8080(8-Bit) I/F
DB[7:0]
REG No.
DATA
Figure 6-8: Register Read on 8080(8-Bit) I/F
DB[7:0]
DATA
CS
CS
R/W
R/W
EN
EN
RS
RS
Figure 6-9: Register Write on 6800(8-Bit) I/F
RAiO TECHNOLOGY INC.
REG No.
REG No.
DATA
Figure 6-10: Register Read on 6800(8-Bit) I/F
28/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
Address[7-1]
1
---
Start
Condition
7
Slave
Address
RW
Ack
RS=0
8
9
1
R6R5……R0
2 ---
8
Ack
D7D6…..D0
Ack
9
1 --- 8
9
Register
Number
‘0’(write)
First Register
DATA
D7D6…..D0
1 ---
NA
8
9
Stop
Condition
Second Register
DATA
Figure 6-11a:Register Write on IIC I/F
From Master to Slave
From Save to Master
May be not need
Ack : Acknowledge(SDA LOW)
NA : Not Acknowledge(SDA HIGH)
RW : Master Read(1) / Write(0) Command
RS : Select Register(0) / Memory(1)
Address[7-1]
1
Start
Condition
---
7
Slave
Address
RW
Ack
RS=0
8
9
1
R6R5……R0
2 ---
8
Register
Number
‘0’(write)
Ack
Stop
Start
9
Address[7:1]
1
Repeat Start Or
Stop + Start
---
7
Slave
Address
RW
Ack
8
9
D7D6…..D0
1 ---
Ack
8
Register
Data
‘1’(Read)
D7D6…..D0
9
1 ---
8
Repeat Register
Data
NA
9
Stop
Condition
Figure 6-11b:Register Read on IIC I/F
CS
SDA
RW
RS(0)
R7 R6 ………………….. R0
D7 D6 …………………. D0
SCK
Register No.
R/W DATA.
Figure 6-12: Register Read/Write Access on 3-Wires I/F
RAiO TECHNOLOGY INC.
29/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
CS
RS
0
SDA
RW
Don’t Care
R7 R6 …………..…….. R0
D7 D6 ……….……………. D0
SCK
Register No.
R/W DATA.
Figure 6-13: Register Read/Write Access on 4-Wires(A-Type) I/F
CS
RW
SDI
SDO
RS(0)
R7 R6 ………………….. R0
Don’t Care
WD7 WD6 ……………. WD0
RD7 RD6 ……………... RD0
SCK
Register No.
R/W DATA.
Figure 6-14: Register Read/Write Access on 4-Wires(B-Type) I/F
RAiO TECHNOLOGY INC.
30/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
6-1-4 Memory Read/Write
Another cycle for MPU to RA8816 is memory Read/Write cycle. Normally it used to show
information on the LCD screen. A memory writing means to write a data into the mapping address
that cursor located in the memory. After a memory writing is completed, the cursor will auto increase.
And the data of next memory write will fill into the new memory address that new curser position
located. Because all of the memory read/write cycles are transfer the display data, so we can
abbreviate the name of Memory Access Cycle to Data Cycle.
The Figure 6-15 and 6-16 show the memory access timing of 8080 MPU(8-Bit) with RA8816. Figure
6-17 and 6-18 show the memory access timing of 6800MPU(8-Bit) interface. Figure 6-19 to 6-22
show the memory access timing of serial interface.
DB[7:0]
DATA(n)
DATA(n+1)
DB[7:0]
CS
CS
WR
WR
RD
RD
D/C
D/C
Figure 6-15: Memory Write on 8080(8-Bit) I/F
DB[7:0]
DATA(n)
DATA(n+1)
Figure 6-16: Memory Read on 8080(8-Bit) I/F
DB[7:0]
DATA(n+1)
CS
CS
R/W
R/W
EN
EN
RS
RS
Figure 6-17: Memory Write on 6800(8-Bit) I/F
RAiO TECHNOLOGY INC.
DATA(n)
DATA(n)
DATA(n+1)
Figure 6-18: Memory Read on 6800(8-Bit) I/F
31/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
Address[7-1]
1
Start
Condition
---
7
Slave
Address
144x65 Character/Graphic LCD Driver
RW
Ack
RS=1
8
9
1
Don’t Care
2 ---
Ack
8
D7D6…..D0
9
Ack
1 --- 8
Ack
Ack
1 ---
9
9
9
1st Memory
DATA
‘0’(write)
D7D6…..D0
8
rd
3 ~ Nth Memory
DATA
2nd Memory
DATA
Stop
Condition
Figure 6-19a:Memory Write Access on IIC
Address[7-1]
1
Start
Condition
---
7
Slave
Address
RW
Ack
RS=1
8
9
1
Don’t Care
2 ---
8
Ack
Stop
Address[7:1]
9
1
Repeat Start Or
Stop + Start
Register
Number
‘0’(write)
Start
---
7
Slave
Address
RW
Ack
8
9
D7D6…..D0
‘1’(Read)
1 ---
Ack
NA
9
9
8
Memory
Data
N Bytes Memory
Data + Ack
Stop
Condition
圖 6-19b:Memory Read Access on IIC
CS
SDA
RW
RS(1)
MD7 MD6 …………….. MD0
SCK
Mem. R/W DATA.
Figure 6-20: Memory Read/Write Access on 3-Wries I/F
CS
RS
1
SDA
RW
Don’t Care
MD7 MD6 ……….……. MD0
SCK
Mem. R/W Data
Figure 6-21: Memory Read/Write Access on 4-Wires(A-Type) I/F
RAiO TECHNOLOGY INC.
32/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
CS
SDI
SDO
RW
Don’t Care
RS(1)
WD7 WD6 ……………. WD0
RD7 RD6 ……………... RD0
SCK
Mem. R/W Data
Figure 6-22: Memory Read/Write Access on 4-Wires(B-Type) I/F
6-2 Memory
The RA8816 built-in three memory:
1. 256Kbyte Font ROM
2. 1170Byte Display RAM
3. Character Generator RAM(CGRAM)
The 256Kbyrte Font ROM stores bit map data of Chinese font. It also including English, Japaness,
Europen, Latin(Latin-ext A, Latin-ext B) and ASCII. In text mode, RA8816 will read the bit map data
from Font ROM and pass to display RAM that when RA8816 received the standard code from MPU.
The LCD control citcuit will read data of display RAM continuous and send to driver circuit. So the text
will show on the LCD screen. Therefore, the MPU will save a lot of time to caculate the position of
cursor and read mant bit map data from font ROM then write to dispaly RAM. The MPU will promote
the display efficiency to handle Chinese text display. And it will reduce the system develope time.
The display range of RA8816 is 144x65 dots. So it needs 1170Byte(144*65/8) display RAM.
addition, RA8816 also built-in a scroll buffer to provide the scrlling and shiftting functions.
In
The Character Generator RAM(CGRAM) is used for user to create special fonts. There are eight space
of full size font to reserved for user. Their codes are fixed from FFF0h to FFF7h. The MPU could write
the mapping code to RA8816 and show the bit map font on screen that after the user font(writing 32
byte to CGRAM) was created.
6-3 System Clock
The clock of RA8816 is generated by the internal circuit. Normally the clock frequency is around
55KHz. When the bit0(SLP) of register PWRR set to “1”, then the clock will be stop.
Whe the input pin “CLK_SEL” set to “0”, then system clock can also input from external clock through
pin “EXT_CLK”.
RAiO TECHNOLOGY INC.
33/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
6-4 LCD Driver and Power Circuit
D[n:0]
LT
Latch x m
VLCD
V0
LP
Latch x n
Cxn
CK_BS
Booster
Regulator
BOFF
R-String
Voltage
Follower
V1
V2
V3
V4
ROFF
VREF
COM /
Segment
Driver
COM[63:0]
COMS
SEG[143:0]
DOFF
V[4:0]
VR
Figure 6-23: LCD Driver and Power Supply Circuit Block
The driver circuit of RA8816 is a low power design. The power supply circuit is consist of Booster,
Voltage Regulator and Voltage Follower. For different requirement of power, the Driver Control
Register(REG[11h]) is used to enable or disaable for related circuit.
The user could use the setting of register REG[11h] to select the internal or external power. Please
refer to the following of Table 6-2.
Table 6-2: Setting Table of Power Circuit
Driver Control
Register
(DRCR_A)
D7
1
D6
1
D5
1
Reference
Booster
Voltage Voltage(VREF) Voltage
Regulator
D4
of Voltage
Follower
External Power
Regulator
1
ON
ON
Internal
ON
VDD
0
1
1
1
OFF
ON
Internal
ON
VLCD, VDD
1
0
1
1
ON
ON
External
ON
VREF, VDD
0
0
1
1
OFF
ON
External
ON
VLCD, VREF,
VDD
0
0
0
1
OFF
OFF
Don’t Need
ON
V0, VDD
0
0
0
0
OFF
OFF
Don’t Need
OFF
V0~V4, VDD
RAiO TECHNOLOGY INC.
34/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
6-4-1 Booster Circuit
VDD
C1M
C2P
C1P
C1M
C2P
C2M
C2M
C2M
C3P
C3P
C3P
VLCD
VLCD
VLCD
VSS
VSS
VSS
4X Step-up Voltage Circuit
3X Step-up Voltage Circuit
2X Step-up Voltage Circuit
VLCD=4xVDD=12V
VLCD=3xVDD=9V
VLCD=2xVDD=6V
VDD=3V
VDD=3V
VDD=3V
VSS=0V
VSS=0V
VSS=0V
4X Step-up Voltage Relationships
3X Step-up Voltage Relationships
RA8816
C2P
C1P
VDD
RA8816
C1M
RA8816
C1P
VDD
2X Step-up Voltage Relationships
Figure 6-24: Application circuit of Booster
The RA8816 built-in a Booster which create 2~4 times of “VDD-VSS” that we called “VLCD”. The
VLCD is supply the power for next stage curcuit – Voltage Regulator and internal Driver cuicuit. If
connect an 1uF capacitor on pin C1P and C1M, then the VLCD is eaual to 2*VDD. If the pin C2P
and C2M also connect n 1uF capacitor then the VLCD is 3*VDD. If the pin C3P and C1M connect n
1uF capacitor then the VLCD is 4*VDD. Refer to the following description of Figure 6-24.
Because the RA8816 supports maximumn LCD panel is 144x65. Therefore sometimes you can get
the good display quality that base on lower power such as 5V only. In that case, user only need to
connect 5V to VDD, VLCD, C1P and C2P. And you do not need to add capacitor on C1P/C1M and
C2P/C2M.
The clock source of Booster is also control by register DRCR_B. Please refer to the description of
REG[12h] in Chapter 5-2. Normally, if use the internal Driver Power, then the application circuit is
follow Figure 6-25. If use external VLCD, that means do not use the internal Booster, then the
connection is show as Figure 6-26.
RAiO TECHNOLOGY INC.
35/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
Figure 6-25: Internal VLCD(3*VDD)
Figure 6-26: External VLCD
Note: The capacitor value of C1 is 1uF and C2 is 1uF.
RAiO TECHNOLOGY INC.
36/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
6-4-2 Voltage Regulator
The Voltage Regulator is consists of Band-Gap and OP-Amp. The purpose is used to generated a
stable power - V0 for Voltage Follower. The RA8816 also built-in a 32-level adjust circuit and a fixed
voltage – VIREF to generate a reference voltage VREF. This VREF is for for Voltage Regulator to
generated V0. The basic formula is as following:
V0 = (1+R1/R2) * VREF = (1+R1/R2)*(1-(62-2α)/162)*VIREF
The α is the setting of CT[4:0] of Register CSTR. When CT[4:0]=1Fh then VREF=VIREF.
R1
V0
R2
VREF
Figure 6-24: Voltage Regulator
The resistor ratio(VREF and V0) of Voltage Regulator is adjustable by register DRCR_B. There are
total eight cases - 3/3.5/4/4.5/5/5.5/6/6.4. Refer to the description of Bit[5..3] of register RCR_B on
Chapter 5-2. If want to use external resistor divisor then refer to the Bit2 of register DRCR_B and
Figure 6-27b.
RA8816
V0
R1
VR
R2
Figure 6-27b: Use external Resistor Divisor
The VREF of RA8816 is supplied from internal circuit or external VREF Pin. Please refer to Table 6-3:
RAiO TECHNOLOGY INC.
37/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
Table 6-3: Select VREF
VREF Type
DRCR-A Bit6
DRCR-A Bit5
Temperature
(EN_R)
(EN_G)
Gradient
1
1
0
X
Internal VREF
External VREF
Unit
VREF
-0.05
%/℃
(1-(63-α)/162)*VIREF
1
-
-
0
-
-
VREF Pin
Normally the internal VIREF value is 2.1V. When Voltage Regulator Circuit off(EN_G=0) then the
Reference Voltage Circuit is be off too. The Voltage Regulator also provide -0.05% auto adjust for
temperature compensation.
6-4-3 Voltage Follower
The internal Voltage Follower provides V0~V4 power for LCD Driver circuit. Of course, the user
could select internal or external Voltage Follower. The relationship of V0~V4 and VLCD is as
following:
VLCD > V0 > V1 > V2 > V3 > V4 > GND
Figure 6-28A shows the circuit of using internal Voltage Follower. For external V0~V4, the
connection is show as Figure 6-28B.
External
Power
Supply
C2
C2
VLCD
VLCD
C2M
C2M
C2P
C2P
C1M
C1P
C1M
C1P
VREF
VREF
V0
V0
V1
C2
V2
C2
V3
C2
V4
External
Power
Supply
V2
V3
V4
VSS
VSS
Figure 6-28A: Use Internal Voltage Follower
RAiO TECHNOLOGY INC.
V1
38/68
Figure 6-28B Use External Voltage Follower
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
6-4-4 LCD Driver
The Segment/Common Driver of RA8816 is used to latch the data of pre-stage, then send to Level
Shifter for combination. The combined data will follow the Timing Generator to control the switchs
then pass the V0~V4 to Common and Segment.
144
Segment
Drivers
SEG0~SEG143
65
Common
Drivers
COM0~COM63
COMS_A
COMS
COMS_B
Figure 6-29: The Segment and Common Driver
The LCD Bias of RA8816 is adjustable by register CSTR that from 1/5 to 1/9. The user can also
adjust the display quality from this register. Meanwhile, the driving current is also adjustable by
register DRCR_B that in order to meet different panel.
The DOFF_Z of register PWRR is used to cotrol the On/Off of LCD Panel, When DOFF_Z is set to
“0” then LCD Driver was closed. At this state, the driver output signals COM0~COM63,
SEG0~SEG143, COMS_A and COMS_B are connected to GND, and the screen of LCD Panel
turned Off.
6-5 Interrupt
The RA8816 provide an interrupt signal( INT ) to response three possible interrupt:
‹ Busy Interrupt– When the data write to display RAM was complete.
‹ Scroll Interrupt - When the scroll window shifted 1, 8 or 16-pixels.
‹ Key-scan Interrupt - When a key was pressed.
The interrupt of above can be enabled or disable by register. The MPU can read the interrupt message
form interrupt status register. The INT is active low, so when MPU detect the interrupt happen then
must clear interrupt status for INT return to high. If user do not use the hardware interrupt( INT ), then
MPU can get the interrupt message by reading the status register.
RAiO TECHNOLOGY INC.
39/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
6-6 Key-Scan
The RA8816 built-in 4x5 key-scan circuit for extra key board function to help user integrate a key
matrix application. In auto-mode, MPU can read the key code from register to know the key was shortpress, long-presee or key released. User can also adjust the cycle time of key-scan. Figure 6-30 is the
simple application curcuit. Table 6-4 is the mapping keyboard code of key matrix as Figure 6-30. So
MPU knows which key be pressed by reading register – KSDR.
Figure 6-30: 4x5 Key Matrix Curcuit
Table 6-4: Keyboard Code(BCD Code) of Auto-Mode
Short-Press
Long-Press
KST3 KST2 KST1 KST0 KST3 KST2 KST1 KST0
KIN0
15
10
05
00
35
30
25
20
KIN1
16
11
06
01
36
31
26
21
KIN2
17
12
07
02
37
32
27
22
KIN3
18
13
08
03
38
33
28
23
KIN4
19
14
09
04
39
34
29
24
In Auto-Mode of Key-Scan function, if the key pressed over one second, then the RA8816 will cause
interrupt and change the data of register – KSDR to a long-press code. Therefore MPU knows which
key was pressed ove one second.
6-7 I/O Port
The RA8816 provide eight general purpose I/O pins. Each I/O pin is easy to setup as input or output.
They can use to drive LED, wakeup the RA8816 or provide information for whole system.
RAiO TECHNOLOGY INC.
40/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
6-8 EL Signals
The RA8816 provides two special signals for EL driver circuit. The signals active time can also setup
by register ELCR. The waveform and application are show as Figure 6-31 and 6-32.
≒ 700 us
≒ 700 us
EL_DCHG
EL_CHRG
≒3us
≒24 us
≒24 us
≒3us
Figure 6-31: Control Signals for EL Driver
L1=3MH
+3V 3V
D1
1N4148
EL_CHRG
充電
R1=2K
Q1
3904
EL
R3
2K
Q2
3904
EL_DCHG
放電
R2=2K
EL應用電路
Figure 6-32: EL Driver Circuit
RAiO TECHNOLOGY INC.
41/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
6-9 ASCII Block
The RA8816 built-in three ASCII block which contines ASCII and special symbol for user to show on
display directly in text mode. Actually these three ASCII block are store in 256Kbyte Font ROM(see
Chapter 6-2). As the Figures 6-33~6-35, the left of each table is the High Nibble, and the right is the
Low Nibble. The selection of these block is by MD0 and MD1 of register MWMR.
The Figure 6-33 is the table of small ASCII. Each character size is 8x8 dots. Therefore if the LCD
panel size is 144Segx65Com then it can show eight rows, and each row has 18 samll ASCII font.
Figure 6-34 and 6-35 are the table of big ASCII. For the same panel size, it can show four row,
and each row has 18 character.
0 12 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
Figure 6-33: Samll ASCII(Table 0)
0123456789ABCDEF
0123456789ABCDEF
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
Figure 6-34: Big ASCII (Table 1)
RAiO TECHNOLOGY INC.
Figure 6-35: Big ASCII (Table 2)
42/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
6-10 Power Control
The RA8816 supports Normal Mode and Sleep Mode for operation. If write “1” to bit0 of register PWRR,
then RA8816 will enter sleep mode. The functions of LCD display and driver will stop. All of the signals
of COM and SEG will keep low, Key Strobe signals will keep high, and I/O keep the original state.
Because the RC clock was stop, so the power consumption is very low.
The RA8816 provide three way to wake up the system:
1. Write ”0” to the bit0 of register PWRR.
2. Key-scan to wake up
3. I/O wake up
In wake up phase, the RA8816 will wake up the RC oscillator first, and it will take around 250ms. Then
the RA8816 is enable to accept the command from MPU and LCD driver wake up for activity.
The VDD power operation range of RA8816 is 2.5~3.6V. But on the COG module, some power
consumption will lose on the connection of FPC and chip that due to the ITO layout issue. So normally
the VDD power range of COG module on the FPC side is around V2.7~3.8V.
RAiO TECHNOLOGY INC.
43/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
7. Display Functions
7-1 Text Mode
The RA8816 built-in a 256KB Font ROM that includung Traditional Chinese or Simpled Chinese,
English, Japaness, ASCII, Europen and Latin(Latin-ext A, Latin-ext B). In text mode, it supports fullsize font(Chinese or English) display or half-size(English) display. The full-size font is consist of 16x16
bit map. And half-size is consist of 8x16 or 8x8. Refer to the following Figure 7-1:
16x16 Pixel
8x16 Pixel
8x8 Pixel
Figure 7-1: Full-Size and Half-Size Font
The Chinese display is operating at text mode. So if the RA8816 received two Chinese codes(BIG5 or
GB) then the mapped font will show on the cursor position. Because each Chinese code including two
bytes data, therefore the MPU has to send the code twice – High byte and Low byte. For English or
Numeric, only one byte is need. The maximum supports panel size of RA8816 is 144x65dots. So in text
mode it could show 9x4 Chinese fonts and 18x8 English fonts.
The register MWMR is used to setup the font size for display. The user can also select the different
display mode such as bold, inverse or normal mode in this register.
RAiO TECHNOLOGY INC.
44/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
7-2 Graphic Mode
In the graphics mode, the RA8816 is fill the bit map data into display memory directly. So if the [MD1,
MD0] of register is set to ”00” (Graphics Mode), then write the data into memory, the data will show on
the screen that cursor pointed.
Figure 7-2: Graphics Mode Display
The display RAM size of RA8816 is 1170Byte(144*65/8). Each memory bit is mapping to the LCD panel.
If the data is “1” then the mapped dot is turn on. Please refer the Figure 7-3.
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 7-3: Display Data Mapping to the Screen
The RA8816 also provide a clean feature to clear all of the display RAM. If the “MCLR” of register
PWRR is set to “1”, then all of contents of Display RAM will be clear to “0”. In the graphics mode, the
user could select the blinking or inverse through register BLTR. The blinking are is assigned by the
size of Scroll Window.
RAiO TECHNOLOGY INC.
45/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
7-3 Cursor Setting
7-3-1 Cursor Position and Shift
The unit of Segment Address is 8-Bit, Commom is 1-Bit. For example, if user want to show a font
“制” on the third position(full-size) of top, then the register X-CUR has to set 04h and Y-CUR set to
00h. If the second row want to show “器” as Figure 7-4, then the X-CUR set to 00h and Y-CUR set
to 10h.
Both of text mode and graphics mode, the cursor position are use the same resgister X-CUR and
Y-CUR. If fill data to display RAM or show a Chinese font on the screen, the cursor will auto
increase, and the boundary is the display window.
00 01
02 03
04 05 …..……………..........……………….............….....…........…. 0F
00
:
:
10
:
:
1F
144(Segment) x 64(Common)
Figure 7-4: An Example for Cursor Setting
7-3-2 Cursor Display and Blink
The RA8816 provides cursor On/Off and blinking features. These functions are control by register
CURCR. The cycle time of blinking is depend on the setting of register BLTR. The range is from 8
to 128 frames.
7-3-3 Cursor Height
The cursor height is also setting by register CURCR. For full-size mode the cursor height is
adjustable from 1 to16 pixels, and half size is form 1 to 8 pixels. Please refer to Figure 7-5.
1 Pixel
2 Pixel
3 Pixel
16 Pixel
Figure 7-5: Cursor Height
RAiO TECHNOLOGY INC.
46/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
7-4 Display Window
Normally, the Display Window size is same as LCD panel. It’s setting by register SYSR. The maximum
range is 144(Segment)x64(Common). The RA8816 provide a extra Common(Com-S) as the selection
of Icon. Therefore the total 144 Icon for usage. Before access the Com-S, the register Y-CUR has set
to 50h, then program the X-CUR to select Icon.
The RA8816 provides two positions for the panel layout of COM-S. It’s convenient for user to deisgn
the position of Icon for their application. Refer to the Figure 7-6.
Icon
(Com S)
Common
(COM0~31)
…………………………
0
1
2
:
:
:
:
31
0 1 2 3 …………………………………………………………………………………………………………………………………127
Segment(SEG0~127)
Segment(SEG0~127)
0 1 2 3 …………………………………………………………………………………………………………………………………127
Common
(COM0~31)
Icon
(Com S)
0
1
2
:
:
:
:
31
…………………………
Figure 7-6: Display Window and Icon
RAiO TECHNOLOGY INC.
47/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
7-5 Horizontal Scroll
The RA8816 provides Horizontal Scroll feature. User could assign the range of srolling, scroll unit and
speed. Refer to the following example as Figure 7-7. The scroll unit is set to 2 pixels.
Figure 7-7: Horizontal Scroll
The RA8816 allows horizontal scroll for right or left way. The user could use the scrolling buffer to show
the Shift funtion. For example, store the data or text on the Horizontal Scroll Buffer first, then fill the new
data/text into the buffer that after the screen shift 16pixels. You can repeat these action and find the
screen is shift like caption of advertisement. The Figure 7-8 is an example to show he Horizontal Shift.
The shift unit is 8pixels and the gray area is the scroll buffer. The displat data will not show on the
screen.
Please refer to application note for the related horizontal scroll feature.
RAiO TECHNOLOGY INC.
48/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
Figure 7-8: Horizontal Shift
RAiO TECHNOLOGY INC.
49/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
7-6 Vertical Scroll
The RAS8816 alos provides the Vertical Scroll and Shift features that like horizontal function. User could
assign the range of srolling, scroll unit and speed. Refer to the following example as Figure 7-9. The
vertical scroll unit is set to 2 pixels.
The RA8816 allows vertical scroll for up or down way. The user could use the scrolling buffer to show
the Shift funtion. For example, store the data or text on the Vertical Scroll Buffer first, then fill the new
data/text into the buffer that after the screen shift 16pixels. Please refer to application note for the
related vertical scroll features.
Figure 7-9: Vertical Scroll
RAiO TECHNOLOGY INC.
50/68
www.raio.com.tw
Chip Size:
Bump Size:
Bump Pitch:
Bump Height
RAiO TECHNOLOGY INC.
PT8
P1
51/68
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
(0, 0)
76
PT7
75
PT6
NC
DB7, SMOD1
DB6, SMOD0
DB5
DB4
DB3, CS
DB2, RS, SDI
DB1, SDA, SDO
DB0, SCL
RD, EN
WR, R/W
D/C, RS
CS
C86
BIT4
P/S
INT
EXT_CLK
CLK_SEL
KST3
KST2
KST1
KST0
KIN4
KIN3
KIN2
KIN1
KIN0
IO7
IO6
IO5
IO4
IO3
IO2
IO1
IO0
EL_DCHG
EL_CHRG
RST
TEST2
TEST1
TEST0
GND
GND
VDD
VDD
PT5
NC
9900 x 1968
VDD
RA8816
GND
PT3A
70
71
72
73
74
PT1
VDDP
VDDP
VDD
VDD
VDD
PT13
PT2
64
65
66
67
68
69
PT12
GND
GND
GND
GND
GNDP
GNDP
PT16
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
V1
V1
V1
V1
V2
V2
V2
V2
V3
V3
V3
V3
V4
V4
V4
V4
VREF
VREF
VR
VR
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
DUMY0
COM49
COM48
COM47
COM46
COM45
COM44
COM43
COM42
COM41
COM40
COM39
COM38
COM37
COM36
COM35
COM34
COM33
COM32
DUMY1
S1
FG
S0
VLCD
VLCD
VLCD
VLCD
VLCD
VLCD
C3P
C3P
C2M
C2M
C2P
C2P
C1M
C1M
C1P
C1P
V0
V0
V0
V0
319
318
317
316
315
314
313
312
311
310
309
308
307
306
305
304
303
302
301
300
299
298
297
296
295
294
293
292
291
290
289
288
287
286
285
284
283
282
281
280
279
278
277
276
275
274
273
272
271
270
269
268
267
266
265
264
263
262
261
260
259
258
257
256
255
254
253
252
251
250
249
248
247
246
245
244
243
242
241
240
239
238
237
236
235
234
233
232
231
230
229
228
227
226
225
224
223
222
221
220
219
218
217
216
215
214
213
212
211
210
209
208
207
206
205
204
203
202
201
200
199
198
197
196
195
194
193
192
191
190
189
188
187
186
185
184
183
182
181
180
179
178
177
176
175
174
173
172
171
170
169
168
167
166
165
164
163
162
161
160
159
158
157
156
155
154
153
152
151
150
149
148
147
146
145
144
143
DUMY5
COM50
COM51
COM52
COM53
COM54
COM55
COM56
COM57
COM58
COM59
COM60
COM61
COM62
COM63
COMS_A
SEG143
SEG142
SEG141
SEG140
SEG139
SEG138
SEG137
SEG136
SEG135
SEG134
SEG133
SEG132
SEG131
SEG130
SEG129
SEG128
SEG127
SEG126
SEG125
SEG124
SEG123
SEG122
SEG121
SEG120
SEG119
SEG118
SEG117
SEG116
SEG115
SEG114
SEG113
SEG112
SEG111
SEG110
SEG109
SEG108
SEG107
SEG106
SEG105
SEG104
SEG103
SEG102
SEG101
SEG100
SEG99
SEG98
SEG97
SEG96
SEG95
SEG94
SEG93
SEG92
SEG91
SEG90
SEG89
SEG88
SEG87
SEG86
SEG85
SEG84
SEG83
SEG82
SEG81
SEG80
SEG79
SEG78
SEG77
SEG76
SEG75
SEG74
SEG73
SEG72
SEG71
SEG70
SEG69
SEG68
SEG67
SEG66
SEG65
SEG64
SEG63
SEG62
SEG61
SEG60
SEG59
SEG58
SEG57
SEG56
SEG55
SEG54
SEG53
SEG52
SEG51
SEG50
SEG49
SEG48
SEG47
SEG46
SEG45
SEG44
SEG43
SEG42
SEG41
SEG40
SEG39
SEG38
SEG37
SEG36
SEG35
SEG34
SEG33
SEG32
SEG31
SEG30
SEG29
SEG28
SEG27
SEG26
SEG25
SEG24
SEG23
SEG22
SEG21
SEG20
SEG19
SEG18
SEG17
SEG16
SEG15
SEG14
SEG13
SEG12
SEG11
SEG10
SEG9
SEG8
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
SEG1
SEG0
COM31
COM30
COM29
COM28
COM27
COM26
COM25
COM24
COM23
COM22
COM21
COM20
COM19
COM18
COM17
COM16
DUMY4
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
8. Pin Diagram
8-1 COG Pad
Y
PT11
PT10
PT14
PT9
PT4A
PT4B
PAD 1~20, PAD 124~142 (COM Pads)
66μm x 22μm
PAD 143~319 (COM/SEG Pads)
22μm x 66μm
PAD 24~123 (MCU/Power Pads)
52μm x 76μm
PAD 21~23 (S1, FG, S0)
47μm x 76μm
PT1: PAD 1~20, PAD 124~142
60μm
PT2: PAD 144~159, PAD 160~303, PAD 304~318
50μm
PT3B: PAD 118~119
88.28μm
PT4A: PAD 77 to 78
88μm
PT4B: PAD 79 to 118
88.44~88.59μm
PT5: PAD 44 to 43
90μm
PT6: PAD 63 to 64
130μm
PT7: PAD 69 to 70
150μm
PT8: PAD 74 to 75
220μm
PT9: PAD 75 to 76
95.76μm
PT10: PAD 76 to 77
81.37μm
PT11: PAD 159 to 160
90μm
PT12: PAD 303 to 304
90μm
PT13: PAD 23 to 24
80.2μm
PT14: PAD 78 to 79
88μm
PT15: PAD 143 to 144
59.51μm
PT16: PAD 318 to 319
50.79μm
PT15
Top View
X
PT3B
Logo
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
DUMY3
COM15
COM14
COM13
COM12
COM11
COM10
COM9
COM8
COM7
COM6
COM5
COM4
COM3
COM2
COM1
COM0
COMS_B
DUMY2
RAIO
RA8816
P2
Figure 8-1:Pin Diagram
Table 8-1: Bump Size and Pitch
9900μm x 1968μm
PT3A: PAD 21~23,PAD 24~43, PAD 44~63, PAD 64~69 80μm
PAD 70~74, PAD 119~123
15 ± 3μm
www.raio.com.tw
RA8816
Preliminary Version 1.7
B
144x65 Character/Graphic LCD Driver
B
A
A
A
A
B
B
B
P1
P2
C
C
B
Unit: um
Symbol
Size/Coordinate
A
20
B
30
C
90
P1
(-4657.46, -966.03)
P2
(4590.82, -966.03)
Figure 8-3:Fixed Point Dimension
RAiO TECHNOLOGY INC.
52/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
8-2 Pad X/Y Coordinate
Pad No. Pad Name
X
Y
Pad No. Pad Name
X
Y
1
DUMY0
-4883.61
471.47
33
C2M
-3458.61
-917.78
2
COM49
-4883.61
411.47
34
C2P
-3378.61
-917.78
3
COM48
-4883.61
351.47
35
C2P
-3298.61
-917.78
4
COM47
-4883.61
291.47
36
C1M
-3218.61
-917.78
5
COM46
-4883.61
231.47
37
C1M
-3138.61
-917.78
6
COM45
-4883.61
171.47
38
C1P
-3058.61
-917.78
7
COM44
-4883.61
111.47
39
C1P
-2978.61
-917.78
8
COM43
-4883.61
51.47
40
V0
-2898.61
-917.78
9
COM42
-4883.61
-8.53
41
V0
-2818.61
-917.78
10
COM41
-4883.61
-68.53
42
V0
-2738.61
-917.78
11
COM40
-4883.61
-128.53
43
V0
-2658.61
-917.78
12
COM39
-4883.61
-188.53
44
V1
-2568.61
-917.78
13
COM38
-4883.61
-248.53
45
V1
-2488.61
-917.78
14
COM37
-4883.61
-308.53
46
V1
-2408.61
-917.78
15
COM36
-4883.61
-368.53
47
V1
-2328.61
-917.78
16
COM35
-4883.61
-428.53
48
V2
-2248.61
-917.78
17
COM34
-4883.61
-488.53
49
V2
-2168.61
-917.78
18
COM33
-4883.61
-548.53
50
V2
-2088.61
-917.78
19
COM32
-4883.61
-608.53
51
V2
-2008.61
-917.78
20
DUMY1
-4883.61
-668.53
52
V3
-1928.61
-917.78
21
S1
-4421.31
-917.53
53
V3
-1848.61
-917.78
22
FG
-4341.31
-917.53
54
V3
-1768.61
-917.78
23
S0
-4261.31
-917.53
55
V3
-1688.61
-917.78
24
VLCD
-4178.61
-917.78
56
V4
-1608.61
-917.78
25
VLCD
-4098.61
-917.78
57
V4
-1528.61
-917.78
26
VLCD
-4018.61
-917.78
58
V4
-1448.61
-917.78
27
VLCD
-3938.61
-917.78
59
V4
-1368.61
-917.78
28
VLCD
-3858.61
-917.78
60
VREF
-1288.61
-917.78
29
VLCD
-3778.61
-917.78
61
VREF
-1208.61
-917.78
30
C3P
-3698.61
-917.78
62
VR
-1128.61
-917.78
31
C3P
-3618.61
-917.78
63
VR
-1048.61
-917.78
32
C2M
-3538.61
-917.78
64
GND
-918.61
-917.78
RAiO TECHNOLOGY INC.
53/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
Pad No. Pad Name
144x65 Character/Graphic LCD Driver
X
Y
Pad No. Pad Name
X
Y
65
GND
-838.61
-917.78
99
KST1
2295.3
-917.78
66
GND
-758.61
-917.78
100
KS0
2383.81
-917.78
67
GND
-678.61
-917.78
101
KIN4
2472.39
-917.78
68
GNDP
-598.61
-917.78
102
KIN3
2560.91
-917.78
69
GNDP
-518.61
-917.78
103
KIN2
2649.42
-917.78
70
VDDP
-368.61
-917.78
104
KIN1
2737.93
-917.78
71
VDDP
-288.61
-917.78
105
KIN0
2826.44
-917.78
72
VDD
-208.61
-917.78
106
IO7
2914.89
-917.78
73
VDD
-128.61
-917.78
107
IO6
3003.4
-917.78
74
VDD
-48.61
-917.78
108
IO5
3091.91
-917.78
75
GND
171.39
-917.78
109
IO4
3180.43
-917.78
76
VDD
267.15
-917.78
110
IO3
3268.94
-917.78
77
NC
348.52
-917.78
111
IO2
3357.45
-917.78
78
NC
436.52
-917.78
112
IO1
3445.97
-917.78
79
DB7
525.04
-917.78
113
IO0
3534.48
-917.78
80
DB6
613.55
-917.78
114
EL_DCHG
3622.99
-917.78
81
DB5
702.06
-917.78
115
EL_CHRG
3711.5
-917.78
82
DB4
790.58
-917.78
116
RST
3800.09
-917.78
83
DB3
879.09
-917.78
117
TEST2
3888.6
-917.78
84
DB2
967.6
-917.78
118
TEST1
3977.11
-917.78
85
DB1
1056.11
-917.78
119
TEST0
4065.39
-917.78
86
DB0
1144.63
-917.78
120
GND
4145.39
-917.78
87
RD
1233.21
-917.78
121
GND
4225.39
-917.78
88
WR
1321.72
-917.78
122
VDD
4305.39
-917.78
89
D/ C
1410.24
-917.78
123
VDD
4385.39
-917.78
90
CS
1498.75
-917.78
124
DUMY2
4883.61
-657.03
91
C86
1587.26
-917.78
125
COMS_B
4883.61
-597.03
92
BIT4
1675.78
-917.78
126
COM0
4883.61
-537.03
93
P/ S
1764.29
-917.78
127
COM1
4883.61
-477.03
94
INT
1852.73
-917.78
128
COM2
4883.61
-417.03
95
EXT_CLK
1941.31
-917.78
129
COM3
4883.61
-357.03
96
CLK_SEL
2029.83
-917.78
130
COM4
4883.61
-297.03
97
KST3
2118.27
-917.78
131
COM5
4883.61
-237.03
98
KST2
2206.78
-917.78
132
COM6
4883.61
-177.03
RAiO TECHNOLOGY INC.
54/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
Pad No. Pad Name
144x65 Character/Graphic LCD Driver
X
Y
Pad No. Pad Name
X
Y
133
COM7
4883.61
-117.03
167
SEG7
3195.64
917.78
134
COM8
4883.61
-57.03
168
SEG8
3145.64
917.78
135
COM9
4883.61
2.97
169
SEG9
3095.64
917.78
136
COM10
4883.61
62.97
170
SEG10
3045.64
917.78
137
COM11
4883.61
122.97
171
SEG11
2995.64
917.78
138
COM12
4883.61
182.97
172
SEG12
2945.64
917.78
139
COM13
4883.61
242.97
173
SEG13
2895.64
917.78
140
COM14
4883.61
302.97
174
SEG14
2845.64
917.78
141
COM15
4883.61
362.97
175
SEG15
2795.64
917.78
142
DUMY3
4883.61
422.97
176
SEG16
2745.64
917.78
143
DUMY4
4445.15
917.78
177
SEG17
2695.64
917.78
144
COM16
4385.64
917.78
178
SEG18
2645.64
917.78
145
COM17
4335.64
917.78
179
SEG19
2595.64
917.78
146
COM18
4285.64
917.78
180
SEG20
2545.64
917.78
147
COM19
4235.64
917.78
181
SEG21
2495.64
917.78
148
COM20
4185.64
917.78
182
SEG22
2445.64
917.78
149
COM21
4135.64
917.78
183
SEG23
2395.64
917.78
150
COM22
4085.64
917.78
184
SEG24
2345.64
917.78
151
COM23
4035.64
917.78
185
SEG25
2295.64
917.78
152
COM24
3985.64
917.78
186
SEG26
2245.64
917.78
153
COM25
3935.64
917.78
187
SEG27
2195.64
917.78
154
COM26
3885.64
917.78
188
SEG28
2145.64
917.78
155
COM27
3835.64
917.78
189
SEG29
2095.64
917.78
156
COM28
3785.64
917.78
190
SEG30
2045.64
917.78
157
COM29
3735.64
917.78
191
SEG31
1995.64
917.78
158
COM30
3685.64
917.78
192
SEG32
1945.64
917.78
159
COM31
3635.64
917.78
193
SEG33
1895.64
917.78
160
SEG0
3545.64
917.78
194
SEG34
1845.64
917.78
161
SEG1
3495.64
917.78
195
SEG35
1795.64
917.78
162
SEG2
3445.64
917.78
196
SEG36
1745.64
917.78
163
SEG3
3395.64
917.78
197
SEG37
1695.64
917.78
164
SEG4
3345.64
917.78
198
SEG38
1645.64
917.78
165
SEG5
3295.64
917.78
199
SEG39
1595.64
917.78
166
SEG6
3245.64
917.78
200
SEG40
1545.64
917.78
RAiO TECHNOLOGY INC.
55/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
Pad No. Pad Name
144x65 Character/Graphic LCD Driver
X
Y
Pad No. Pad Name
X
Y
201
SEG41
1495.64
917.78
235
SEG75
-204.36
917.78
202
SEG42
1445.64
917.78
236
SEG76
-254.36
917.78
203
SEG43
1395.64
917.78
237
SEG77
-304.36
917.78
204
SEG44
1345.64
917.78
238
SEG78
-354.36
917.78
205
SEG45
1295.64
917.78
239
SEG79
-404.36
917.78
206
SEG46
1245.64
917.78
240
SEG80
-454.36
917.78
207
SEG47
1195.64
917.78
241
SEG81
-504.36
917.78
208
SEG48
1145.64
917.78
242
SEG82
-554.36
917.78
209
SEG49
1095.64
917.78
243
SEG83
-604.36
917.78
210
SEG50
1045.64
917.78
244
SEG84
-654.36
917.78
211
SEG51
995.64
917.78
245
SEG85
-704.36
917.78
212
SEG52
945.64
917.78
246
SEG86
-754.36
917.78
213
SEG53
895.64
917.78
247
SEG87
-804.36
917.78
214
SEG54
845.64
917.78
248
SEG88
-854.36
917.78
215
SEG55
795.64
917.78
249
SEG89
-904.36
917.78
216
SEG56
745.64
917.78
250
SEG90
-954.36
917.78
217
SEG57
695.64
917.78
251
SEG91
-1004.36
917.78
218
SEG58
645.64
917.78
252
SEG92
-1054.36
917.78
219
SEG59
595.64
917.78
253
SEG93
-1104.36
917.78
220
SEG60
545.64
917.78
254
SEG94
-1154.36
917.78
221
SEG61
495.64
917.78
255
SEG95
-1204.36
917.78
222
SEG62
445.64
917.78
256
SEG96
-1254.36
917.78
223
SEG63
395.64
917.78
257
SEG97
-1304.36
917.78
224
SEG64
345.64
917.78
258
SEG98
-1354.36
917.78
225
SEG65
295.64
917.78
259
SEG99
-1404.36
917.78
226
SEG66
245.64
917.78
260
SEG100
-1454.36
917.78
227
SEG67
195.64
917.78
261
SEG101
-1504.36
917.78
228
SEG68
145.64
917.78
262
SEG102
-1554.36
917.78
229
SEG69
95.64
917.78
263
SEG103
-1604.36
917.78
230
SEG70
45.64
917.78
264
SEG104
-1654.36
917.78
231
SEG71
-4.36
917.78
265
SEG105
-1704.36
917.78
232
SEG72
-54.36
917.78
266
SEG106
-1754.36
917.78
233
SEG73
-104.36
917.78
267
SEG107
-1804.36
917.78
234
SEG74
-154.36
917.78
268
SEG108
-1854.36
917.78
RAiO TECHNOLOGY INC.
56/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
Pad No. Pad Name
144x65 Character/Graphic LCD Driver
X
Y
Pad No. Pad Name
X
Y
269
SEG109
-1904.36
917.78
303
SEG143
-3604.36
917.78
270
SEG110
-1954.36
917.78
304
COMS_A
-3694.36
917.78
271
SEG111
-2004.36
917.78
305
COM63
-3744.36
917.78
272
SEG112
-2054.36
917.78
306
COM62
-3794.36
917.78
273
SEG113
-2104.36
917.78
307
COM61
-3844.36
917.78
274
SEG114
-2154.36
917.78
308
COM60
-3894.36
917.78
275
SEG115
-2204.36
917.78
309
COM59
-3944.36
917.78
276
SEG116
-2254.36
917.78
310
COM58
-3994.36
917.78
277
SEG117
-2304.36
917.78
311
COM57
-4044.36
917.78
278
SEG118
-2354.36
917.78
312
COM56
-4094.36
917.78
279
SEG119
-2404.36
917.78
313
COM55
-4144.36
917.78
280
SEG120
-2454.36
917.78
314
COM54
-4194.36
917.78
281
SEG121
-2504.36
917.78
315
COM53
-4244.36
917.78
282
SEG122
-2554.36
917.78
316
COM52
-4294.36
917.78
283
SEG123
-2604.36
917.78
317
COM51
-4344.36
917.78
284
SEG124
-2654.36
917.78
318
COM50
-4394.36
917.78
285
SEG125
-2704.36
917.78
319
DUMY5
-4445.15
917.78
286
SEG126
-2754.36
917.78
287
SEG127
-2804.36
917.78
288
SEG128
-2854.36
917.78
299
SEG129
-2904.36
917.78
290
SEG130
-2954.36
917.78
291
SEG131
-3004.36
917.78
292
SEG132
-3054.36
917.78
293
SEG133
-3104.36
917.78
294
SEG134
-3154.36
917.78
295
SEG135
-3204.36
917.78
296
SEG136
-3254.36
917.78
297
SEG137
-3304.36
917.78
298
SEG138
-3354.36
917.78
299
SEG139
-3404.36
917.78
300
SEG140
-3454.36
917.78
301
SEG141
-3504.36
917.78
302
SEG142
-3554.36
917.78
RAiO TECHNOLOGY INC.
57/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
9. Electrical Characteristic
9-1 Absolute Maximum Ratings
Table 9-1
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
External VLCD Voltage Range
VLCD
-0.3 to 14
V
Operation Temperature Range
TOPR
-40 to 85
℃
Storage Temperature Range
TST
-55 to 125
℃
9-2 DC Characteristic
Table 9-2
Parameter
Symbol
Min.
Typ.
Max.
Unit
Operating Voltage
VDD
2.8
3.3
3.8
V
VLCD Voltage
VLCD
6
--
12
V
Input High Voltage
VIH
0.8°VDD
--
VDD
V
Input Low Voltage
VIL
0
--
0.2°VDD
V
Output High Voltage
VOH
0.8°VDD
--
VDD
V
Output Low Voltage
VOL
0
--
0.2°VDD
V
Condition
Input Leakage Current
IIL
-1
--
+1
μA
VIN = VDD
Output Leakage Current
IOL
-3
--
+2
μA
VIN = VDD
Oscillator Frequency
FCL
85
95
105
Khz
Operating Mode Current
(Normal Mode Current)
ISB
0.29
0.50
1.1
mA
Display Off Current
IDISPLAY
--
197
--
μA
Sleep Mode Current
ISLEEP
--
0.2
--
μA
Min.:*1
Typ.:*2
Max.:*3
1:No loading, TA=25℃, SEG=144, COM=64, FCL = 100KHz, VDD=3.3V, REG[12h] Bit1-0= 00b, Booster setup: VLCD=2x VDD
2:No loading, TA=25℃, SEG=144, COM=64, FCL = 100KHz, VDD=3.3V, REG[12h] Bit1-0= 10b, Booster setup: VLCD=3x VDD
3:No loading, TA=25℃, SEG=144, COM=64, FCL = 100KHz, VDD=3.3V, REG[12h] Bit1-0= 11b, Booster setup: VLCD=4x VDD
RAiO TECHNOLOGY INC.
58/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
9-3 Timing Characteristic
9-3-1 Parallel Interface
tCSW6
RS, CS
tCYC6
R/W
tRWH6
tAC6
tWEN6
EN
tDS6
tDH6
DB[7:0]
(Write)
tOH6
DB[7:0]
(Read)
tOS6
Figure 9-1:6800 MPU Timing
6800 MPU Interface
Table 9-3
Item
Address Setup Time
Read/Write Setup Time
Read/Write Hold Time
Signal
RS, CS
R/ W
Enable Access Time
Access Cycle Time
EN
Write Data Setup Time
Write Data Hold Time
Read Data Access Time
Read Data Hold Time
RAiO TECHNOLOGY INC.
DB[7..0]
Symbol
Rating
Condition
Unit
Min.
Max.
tCSW6
0
--
tWEN6
10
--
tRWH6
10
--
tAC6
90
--
Command Cycle
200
--
Data Cycle
400
--
tDS6
10
--
tDH6
10
--
tOS6
30
50
tOH6
10
--
tCYC6
59/68
ns
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
tCSW8
D/C, CS
tCYC8
tAC8
RD, WR
tCSH8
tDH8
tDS8
DB[7:0]
(Write)
tOS8
tOH8
DB[7:0]
(Read)
Figure 9-2:8080 MPU Timing
8080 MPU Interface
Table 9-4
Item
Signal
Address Setup Time
Symbol
RS, CS
Address Hold Time
Read/Write Access Time
RD , WR
Access Cycle Time
Write Data Setup Time
Write Data Hold Time
DB[7..0]
Read Data Setup Time
Read Data Setup Time
Rating
Condition
Unit
Min.
Max.
tCSW8
10
--
tCSH8
10
--
tAC8
90
--
Command Cycle
200
--
Data Cycle
400
--
tDS8
10
--
tDH8
10
--
tOS8
30
50
tOH8
10
--
tCYC8
ns
9-3-2 Serial Interface
tCYC3
CS
tCSH3
SDA
RW
SCK
tDS3
tCKL3
RS(0)
R7 R6 ………………….. R0
D7 D6 …………………. D0
tDH3
tCKH3
Register No.
R/W DATA.
Figure 9-3:3-Wire Timing
RAiO TECHNOLOGY INC.
60/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
3-Wire Serial Interface
Table 9-5
Item
Signal
Access Time
CS
CS Setup Time
Clock Low Pulse Width
Clock High Pulse Width
Data Setup Time
SCK
SDA
Data Hold Time
Symbol
Rating
Condition
Unit
Min.
Max.
tCYC3
3.6
--
tCSH3
20
--
tCKL3
100
--
tCKH3
100
--
tDS3
20
--
tDH3
10
--
μs
ns
tCYC4A
CS
tCSH4
RS
0
SDA
Don’t Care
RW
tDS4
SCK
tCKL4
R7 R6 …………..…….. R0
D7 D6 ……….……………. D0
tDH4
tCKH4
Register No.
R/W DATA.
Figure 9-4:4-Wire(A-Type) Timing
4-Wire(A-Type) Serial Interface
Table 9-6
Item
Signal
Access Time
CS Setup Time
Clock Low Pulse Width
Clock High Pulse Width
Data Setup Time
Data Hold Time
RAiO TECHNOLOGY INC.
CS
SCK
SDA, RS
Symbol
Rating
Condition
Unit
Min.
Max.
tCYC4A
3.4
--
tCSH4
20
--
tCKL4
100
--
tCKH4
100
--
tDS4
20
--
tDH4
10
--
61/68
μs
ns
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
tCYC4B
CS
tCSH4
SDI
RW
tDS4
SDO
RS(0)
R7 R6 ………………….. R0
WD7 WD6 ……………. WD0
tDH4
Don’t Care
RD7
RD6 …………..... RD0
tOS4B
SCK
tCKL4
Register No.
tCKH4
tOH4B
R/W DATA.
Figure 9-5A:4-Wire(B Type) Timing
4-Wire(B-Type) Serial Interface
Table 9-7A
Item
Signal
Access Time
CS
CS Setup Time
Clock Low Pulse Width
SCK
Clock High Pulse Width
Data Write Setup Time
SDI
Data Write Hold Time
Data Read Setup Time
SDO
Data Read Hold Time
tBUF
tHIGH
Symbol
Rating
Condition
Unit
Min.
Max.
tCYC4A
3.6
--
tCSH4
20
--
tCKL4
100
--
tCKH4
100
--
tDS4
20
--
tDH4
10
--
tOS4B
20
--
tOH4B
10
--
μs
ns
tDHIIC
SDA
SCK
Start
tLow
tDSIIC
Start
(Repeat)
Stop
Figure 9-5B:IIC Timing
RAiO TECHNOLOGY INC.
62/68
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
IIC Serial Interface
Table 9-7B
Item
Signal
Symbol
SCK Clock Frequency
Bus Free Time
Between STOP and
START
LOW Period of SCK
Clock
HIGH Period of SCK
Clock
Data Setup Time
Data Hold time
SCK
fSCL
Min
--
SCK/SDA
tBUF
SCK
Rating
Unit
Max
500
KHz
1
--
us
tLow
200
--
ns
SCK
tHigh
200
--
ns
SCK/SDA
SCK/SDA
tDSIIC
tDHIIC
100
100
ns
ns
9-3-3 Reset Interface
tRST
RST
Internal
State
During Reset
Reset Complete
tRSTH
Figure 9-6: Reset Timing
Table 9-8
Item
Reset Pulse Width
Signal
RST
Symbol
tRST
Reset Complete Hold
Time
Rating
Condition
Unit
Min.
Max.
30
--
ms
150
--
ms
FCL= 100KHz
RST
tRSTH
(Internal RC
Oscillator)
RAiO TECHNOLOGY INC.
63/68
www.raio.com.tw
RAiO TECHNOLOGY INC.
64/68
17
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
76
75
DUMY5
COM50
COM51
COM52
COM53
COM54
COM55
COM56
COM57
COM58
COM59
COM60
COM61
COM62
COM63
COMS_A
SEG143
SEG142
SEG141
SEG140
SEG139
SEG138
SEG137
SEG136
SEG135
SEG134
SEG133
SEG132
SEG131
SEG130
SEG129
SEG128
SEG127
SEG126
SEG125
SEG124
SEG123
SEG122
SEG121
SEG120
SEG119
SEG118
SEG117
SEG116
SEG115
SEG114
SEG113
SEG112
SEG111
SEG110
SEG109
SEG108
SEG107
SEG106
SEG105
SEG104
SEG103
SEG102
SEG101
SEG100
SEG99
SEG98
SEG97
SEG96
SEG95
SEG94
SEG93
SEG92
SEG91
SEG90
SEG89
SEG88
SEG87
SEG86
SEG85
SEG84
SEG83
SEG82
SEG81
SEG80
SEG79
SEG78
SEG77
SEG76
SEG75
SEG74
SEG73
SEG72
SEG71
SEG70
SEG69
SEG68
SEG67
SEG66
SEG65
SEG64
SEG63
SEG62
SEG61
SEG60
SEG59
SEG58
SEG57
SEG56
SEG55
SEG54
SEG53
SEG52
SEG51
SEG50
SEG49
SEG48
SEG47
SEG46
SEG45
SEG44
SEG43
SEG42
SEG41
SEG40
SEG39
SEG38
SEG37
SEG36
SEG35
SEG34
SEG33
SEG32
SEG31
SEG30
SEG29
SEG28
SEG27
SEG26
SEG25
SEG24
SEG23
SEG22
SEG21
SEG20
SEG19
SEG18
SEG17
SEG16
SEG15
SEG14
SEG13
SEG12
SEG11
SEG10
SEG9
SEG8
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
SEG1
SEG0
COM31
COM30
COM29
COM28
COM27
COM26
COM25
COM24
COM23
COM22
COM21
COM20
COM19
COM18
COM17
COM16
DUMY4
#N
16
15
NC
DB7, SMOD1
DB6, SMOD0
DB5
DB4
DB3, CS
DB2, RS, SDI
DB1, SDA, SDO
DB0, SCL
RD, EN
WR, R/W
D/C, RS
CS
C86
BIT4
P/S
INT
EXT_CLK
CLK_SEL
KST3
KST2
KST1
KST0
KIN4
KIN3
KIN2
KIN1
KIN0
IO7
IO6
IO5
IO4
IO3
IO2
IO1
IO0
EL_DCHG
EL_CHRG
RST
TEST2
TEST1
TEST0
GND
GND
VDD
VDD
P1
NC
VDD
GND
(0, 0)
14
13
70
71
72
73
74
RA8816
12
VDDP
VDDP
VDD
VDD
VDD
64
65
66
67
68
69
Top View
11
10
GND
GND
GND
GND
GNDP
GNDP
319
318
317
316
315
314
313
312
311
310
309
308
307
306
305
304
303
302
301
300
299
298
297
296
295
294
293
292
291
290
289
288
287
286
285
284
283
282
281
280
279
278
277
276
275
274
273
272
271
270
269
268
267
266
265
264
263
262
261
260
259
258
257
256
255
254
253
252
251
250
249
248
247
246
245
244
243
242
241
240
239
238
237
236
235
234
233
232
231
230
229
228
227
226
225
224
223
222
221
220
219
218
217
216
215
214
213
212
211
210
209
208
207
206
205
204
203
202
201
200
199
198
197
196
195
194
193
192
191
190
189
188
187
186
185
184
183
182
181
180
179
178
177
176
175
174
173
172
171
170
169
168
167
166
165
164
163
162
161
160
159
158
157
156
155
154
153
152
151
150
149
148
147
146
145
144
143
Icon
9
8
7
6
5
4
3
2
1
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
44
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
DUMY0
COM49
COM48
COM47
COM46
COM45
COM44
COM43
COM42
COM41
COM40
COM39
COM38
COM37
COM36
COM35
COM34
COM33
COM32
DUMY1
V1
V1
V1
V1
V2
V2
V2
V2
V3
V3
V3
V3
V4
V4
V4
V4
VREF
VREF
VR
VR
S1
FG
S0
VLCD
VLCD
VLCD
VLCD
VLCD
VLCD
C3P
C3P
C2M
C2M
C2P
C2P
C1M
C1M
C1P
C1P
V0
V0
V0
V0
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
Appendix A.
A-1 COG Application
A-1-1 Basic Connection of Serial I/F
144x65
COG
RA8816
FPC
#1
Figure A-1:COG Module
Y
9900 x 1968
X
Logo
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
www.raio.com.tw
DUMY3
COM15
COM14
COM13
COM12
COM11
COM10
COM9
COM8
COM7
COM6
COM5
COM4
COM3
COM2
COM1
COM0
COMS_B
DUMY2
RAIO
RA8816
P2
Figure A-2:Example(A) of Basic Connection of Serial(3-Wires) I/F
The RA8816 provide many interfaces for MPU that including parallel, 3-Wire serial, 4-Wire serial,
IIC, and some useful I/O interface like I/O and Key-scan. Therefore there are many options for user
to connect the COG die to FPC. The Figure A-1 is a simple of COG module. And the Figure A-2 is
an example for RA8816 COG die that connect to FPC for basic 3-wire interface. Please note the
unused parallel signals of MPU have to connect to VDD.
RAiO TECHNOLOGY INC.
65/68
26
25
24
23
22
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
77
319
318
317
316
315
314
313
312
311
310
309
308
307
306
305
304
303
302
301
300
299
298
297
296
295
294
293
292
291
290
289
288
287
286
285
284
283
282
281
280
279
278
277
276
275
274
273
272
271
270
269
268
267
266
265
264
263
262
261
260
259
258
257
256
255
254
253
252
251
250
249
248
247
246
245
244
243
242
241
240
239
238
237
236
235
234
233
232
231
230
229
228
227
226
225
224
223
222
221
220
219
218
217
216
215
214
213
212
211
210
209
208
207
206
205
204
203
202
201
200
199
198
197
196
195
194
193
192
191
190
189
188
187
186
185
184
183
182
181
180
179
178
177
176
175
174
173
172
171
170
169
168
167
166
165
164
163
162
161
160
159
158
157
156
155
154
153
152
151
150
149
148
147
146
145
144
143
DUMY5
COM50
COM51
COM52
COM53
COM54
COM55
COM56
COM57
COM58
COM59
COM60
COM61
COM62
COM63
COMS_A
SEG143
SEG142
SEG141
SEG140
SEG139
SEG138
SEG137
SEG136
SEG135
SEG134
SEG133
SEG132
SEG131
SEG130
SEG129
SEG128
SEG127
SEG126
SEG125
SEG124
SEG123
SEG122
SEG121
SEG120
SEG119
SEG118
SEG117
SEG116
SEG115
SEG114
SEG113
SEG112
SEG111
SEG110
SEG109
SEG108
SEG107
SEG106
SEG105
SEG104
SEG103
SEG102
SEG101
SEG100
SEG99
SEG98
SEG97
SEG96
SEG95
SEG94
SEG93
SEG92
SEG91
SEG90
SEG89
SEG88
SEG87
SEG86
SEG85
SEG84
SEG83
SEG82
SEG81
SEG80
SEG79
SEG78
SEG77
SEG76
SEG75
SEG74
SEG73
SEG72
SEG71
SEG70
SEG69
SEG68
SEG67
SEG66
SEG65
SEG64
SEG63
SEG62
SEG61
SEG60
SEG59
SEG58
SEG57
SEG56
SEG55
SEG54
SEG53
SEG52
SEG51
SEG50
SEG49
SEG48
SEG47
SEG46
SEG45
SEG44
SEG43
SEG42
SEG41
SEG40
SEG39
SEG38
SEG37
SEG36
SEG35
SEG34
SEG33
SEG32
SEG31
SEG30
SEG29
SEG28
SEG27
SEG26
SEG25
SEG24
SEG23
SEG22
SEG21
SEG20
SEG19
SEG18
SEG17
SEG16
SEG15
SEG14
SEG13
SEG12
SEG11
SEG10
SEG9
SEG8
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
SEG1
SEG0
COM31
COM30
COM29
COM28
COM27
COM26
COM25
COM24
COM23
COM22
COM21
COM20
COM19
COM18
COM17
COM16
DUMY4
Preliminary Version 1.7
21
20
19
18
17
16
15
76
75
NC
NC
DB7, SMOD1
DB6, SMOD0
DB5
DB4
DB3, CS
DB2, RS, SDI
DB1, SDA, SDO
DB0, SCL
RD, EN
WR, R/W
D/C, RS
CS
C86
BIT4
P/S
INT
EXT_CLK
CLK_SEL
KST3
KST2
KST1
KST0
KIN4
KIN3
KIN2
KIN1
KIN0
IO7
IO6
IO5
IO4
IO3
IO2
IO1
IO0
EL_DCHG
EL_CHRG
RST
TEST2
TEST1
TEST0
GND
GND
VDD
VDD
P1
VDD
GND
(0, 0)
14
13
70
71
72
73
74
64
65
66
67
68
69
RA8816
12
VDDP
VDDP
VDD
VDD
VDD
GND
GND
GND
GND
GNDP
GNDP
Top View
11
10
9
8
7
6
5
4
3
2
1
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
44
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
V1
V1
V1
V2
V2
V2
V2
V3
V3
V3
V3
V4
V4
V4
V4
VREF
VREF
VR
VR
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
DUMY0
COM49
COM48
COM47
COM46
COM45
COM44
COM43
COM42
COM41
COM40
COM39
COM38
COM37
COM36
COM35
COM34
COM33
COM32
DUMY1
V1
S1
FG
S0
VLCD
VLCD
VLCD
VLCD
VLCD
VLCD
C3P
C3P
C2M
C2M
C2P
C2P
C1M
C1M
C1P
C1P
V0
V0
V0
V0
RA8816
144x65 Character/Graphic LCD Driver
A-1-2 Basic Connection of Parallel I/F
Y
9900 x 1968
X
Logo
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
www.raio.com.tw
DUMY3
COM15
COM14
COM13
COM12
COM11
COM10
COM9
COM8
COM7
COM6
COM5
COM4
COM3
COM2
COM1
COM0
COMS_B
DUMY2
RAIO
RA8816
P2
Figure A-3:Example(A) of Basic Connection of Parallel I/F
Figure A-3 is an example for RA8816 COG die that connect to FPC for basic parallel interface.
A-1-3 Other Application for FPC
The Figure A-4 is another example that uses 3-wires MPU I/F, 3-times VDD, internal RC Oscillator,
EL driving, 2 I/O signals and 2x2 Key-scan. In this case, the FPC only uses 27pins. Some
configure pin are connect to VDD or GND through ITO resistance, such as C86, BIT4, P/ S ,
CLK_SEL and EXT_CLK. The unused parallel signals of MPU and KIN have to tie to VDD.
The RA8816 also provides two common outputs for Icon that let the panel layout easier to meet
their application.
The pad number 75, 76, 120, 121, 122, 123 are VDD or GND. Their purposes are used to pull-up
or pull-down for some signals on panel. They do not need to connect to FPC.
RAiO TECHNOLOGY INC.
SEG0
COM31
COM0
:
:
:
(Back View)
RA8816
COM0
66/68
………….
:
:
:
………………………………………………………………
:
:
:
:
:
COM31
25
24
23
22
NC
DB7, SMOD1
DB6, SMOD0
DB5
DB4
DB3, CS
DB2, RS, SDI
DB1, SDA, SDO
DB0, SCL
RD, EN
WR, R/W
D/C, RS
CS
C86
BIT4
P/S
INT
EXT_CLK
CLK_SEL
KST3
KST2
KST1
KST0
KIN4
KIN3
KIN2
KIN1
KIN0
IO7
IO6
IO5
IO4
IO3
IO2
IO1
IO0
EL_DCHG
EL_CHRG
RST
TEST2
TEST1
TEST0
GND
GND
VDD
VDD
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
76
75
319
318
317
316
315
314
313
312
311
310
309
308
307
306
305
304
303
302
301
300
299
298
297
296
295
294
293
292
291
290
289
288
287
286
285
284
283
282
281
280
279
278
277
276
275
274
273
272
271
270
269
268
267
266
265
264
263
262
261
260
259
258
257
256
255
254
253
252
251
250
249
248
247
246
245
244
243
242
241
240
239
238
237
236
235
234
233
232
231
230
229
228
227
226
225
224
223
222
221
220
219
218
217
216
215
214
213
212
211
210
209
208
207
206
205
204
203
202
201
200
199
198
197
196
195
194
193
192
191
190
189
188
187
186
185
184
183
182
181
180
179
178
177
176
175
174
173
172
171
170
169
168
167
166
165
164
163
162
161
160
159
158
157
156
155
154
153
152
151
150
149
148
147
146
145
144
143
DUMY5
COM50
COM51
COM52
COM53
COM54
COM55
COM56
COM57
COM58
COM59
COM60
COM61
COM62
COM63
COMS_A
SEG143
SEG142
SEG141
SEG140
SEG139
SEG138
SEG137
SEG136
SEG135
SEG134
SEG133
SEG132
SEG131
SEG130
SEG129
SEG128
SEG127
SEG126
SEG125
SEG124
SEG123
SEG122
SEG121
SEG120
SEG119
SEG118
SEG117
SEG116
SEG115
SEG114
SEG113
SEG112
SEG111
SEG110
SEG109
SEG108
SEG107
SEG106
SEG105
SEG104
SEG103
SEG102
SEG101
SEG100
SEG99
SEG98
SEG97
SEG96
SEG95
SEG94
SEG93
SEG92
SEG91
SEG90
SEG89
SEG88
SEG87
SEG86
SEG85
SEG84
SEG83
SEG82
SEG81
SEG80
SEG79
SEG78
SEG77
SEG76
SEG75
SEG74
SEG73
SEG72
SEG71
SEG70
SEG69
SEG68
SEG67
SEG66
SEG65
SEG64
SEG63
SEG62
SEG61
SEG60
SEG59
SEG58
SEG57
SEG56
SEG55
SEG54
SEG53
SEG52
SEG51
SEG50
SEG49
SEG48
SEG47
SEG46
SEG45
SEG44
SEG43
SEG42
SEG41
SEG40
SEG39
SEG38
SEG37
SEG36
SEG35
SEG34
SEG33
SEG32
SEG31
SEG30
SEG29
SEG28
SEG27
SEG26
SEG25
SEG24
SEG23
SEG22
SEG21
SEG20
SEG19
SEG18
SEG17
SEG16
SEG15
SEG14
SEG13
SEG12
SEG11
SEG10
SEG9
SEG8
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
SEG1
SEG0
COM31
COM30
COM29
COM28
COM27
COM26
COM25
COM24
COM23
COM22
COM21
COM20
COM19
COM18
COM17
COM16
DUMY4
Preliminary Version 1.7
21
20
19
18
17
16
15
P1
NC
VDD
GND
(0, 0)
14
13
70
71
72
73
74
64
65
66
67
68
69
RA8816
12
VDDP
VDDP
VDD
VDD
VDD
GND
GND
GND
GND
GNDP
GNDP
Top View
11
10
9
8
7
6
5
4
3
2
1
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
44
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
DUMY0
COM49
COM48
COM47
COM46
COM45
COM44
COM43
COM42
COM41
COM40
COM39
COM38
COM37
COM36
COM35
COM34
COM33
COM32
DUMY1
V1
V1
V1
V1
V2
V2
V2
V2
V3
V3
V3
V3
V4
V4
V4
V4
VREF
VREF
VR
VR
S1
FG
S0
VLCD
VLCD
VLCD
VLCD
VLCD
VLCD
C3P
C3P
C2M
C2M
C2P
C2P
C1M
C1M
C1P
C1P
V0
V0
V0
V0
RA8816
144x65 Character/Graphic LCD Driver
Y
9900 x 1968
X
Logo
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
RAIO
RA8816
P2
Figure A-4:Example of COG Module
The Figure A-5 is an example for 144x65 LCD panel.
144 X 65(With Icon)
COM32
:
:
:
:
:
:
COM63
SEG143
COM63
COMS_A
COM32
Figure A-5: The Connection of RA8816 with LCD Panel(144x65)
www.raio.com.tw
DUMY3
COM15
COM14
COM13
COM12
COM11
COM10
COM9
COM8
COM7
COM6
COM5
COM4
COM3
COM2
COM1
COM0
COMS_B
DUMY2
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
144 X 32
COM0
:
:
:
:
COM15
COM16
:
:
:
:
COM31
SEG0
………………………………………………………………
COM63
:
:
COM48
………….
COM15
COM0
:
:
SEG143
RA8816
(Back View)
Figure A-6: The Connection of RA8816 with LCD Panel(144x32)
The Figure A-6 is an example of connection that use 144x32 panel. In this case, it supports two
row for full size(16x16) or four rows for half-size(8x8) fonts. Please refer to Table5-3 for the
Common signals connection
A-2 ITO
Table A-1: ITO Resistance of COG
PAD Name
ITO(Ohm)
PAD Name
ITO(Ohm)
PAD Name
VDD , VDDP
150
C1M
200
BIT4
600
GND , GNDP
150
C2P
200
P/ S
600
VREF
200
C2M
200
CLK_SEL
600
VLCD
200
C3P
200
EXT_CLK
600
VR
200
DB[7..0]
600
KST[3..0]
600
V4
200
RD , EN
600
KIN[4..0]
600
V3
200
WR , R/ W
600
IO[7..0]
600
V2
200
D/ C , RS
600
EL_CHRG
600
V1
200
CS
600
EL_DCHG
600
V0
200
INT
600
RST
600
C1P
200
C86
600
TEST[2..0]
600
RAiO TECHNOLOGY INC.
67/68
ITO(Ohm)
www.raio.com.tw
RA8816
Preliminary Version 1.7
144x65 Character/Graphic LCD Driver
C1M
C2P
C1M
C2P
C2M
C3P
C2M
C3P
VLCD
VLCD
VLCD
VLCD
VLCD
ITO Layout
VLCD
Chip PAD
FPC PAD
Figure A-7:ITO Layout Example - VLCD
The RA8816 power signals (such as VDD, GND, VLCD, V[4..0], C1P, C1M, C2P, C2M) have to keep
the smaller ITO resistance(less than 15 ohm is better) for panel layout. So the wires of layout need to
keep as thick as possible to reduce the ITO resistance. The Figure A-7 is an example for VLCD layout of
panel. Because the RA8816 provide six pads for VLCD, therefore the layout engineer has to connect all
of these pads to FPC. In this case, the VLCD is three times of VDD, so the C3P have to connect to
VLCD and do not forget keep the wire thicker.
ITO Layout
VLCD
VLCD
VLCD
VLCD
VLCD
VLCD
C3P
C3P
C2M
C2M
C2P
C2P
C1M
C1M
C1P
C1P
V0
V0
V0
V0
V1
V1
V1
V1
V2
V2
V2
V2
V3
V3
V3
V3
V4
V4
V4
V4
VREF
VREF
VR
VR
GND
GND
GND
GND
GNDP
GNDP
VDDP
VDDP
VDD
VDD
VDD
Chip Pad
FPC Pad
Figure A-8:ITO Layout Example
The Figure A-8 is a layout example of RA8816 to FPC on COG module. The VDD and GND of RA8816
should as close as possible to FPC. The RA8816 provide six GND pad, user have to connect these six
pads to FPC with a thick wire. For the design of FPC, the related power signals(VDD, GND, VLCD) of
layout need to keep as thick as possible to reduce the wire resistance. And the VDD, GND pad of FPC
keep double width than other signals. For example, if panel resolution is 128x64 then use 4X VDD for
booster and LCD voltage less than 9V is better.
RAiO TECHNOLOGY INC.
68/68
www.raio.com.tw