RAIO RA8875

RAiO
RA8875
Character/Graphic
TFT LCD Controller
Specification
Version 1.0
March 27, 2013
RAiO Technology Inc.
©Copyright RAiO Technology Inc. 2010, 2011, 2012, 2013
RAiO TECHNOLOGY INC.
1/9
www.raio.com.tw
RA8875
Version 1.0
Character / Graphic TFT LCD Controller
1 Description
RA8875 is a text/graphic mixed display with 2 layers TFT LCD controller. It is designed to meet the
requirement of middle size TFT module up to 800x480 pixels with characters or 2D graphic application.
Embedded 768KB display RAM provides user a flexible solution for displaying buffer of almost application.
Besides, optional external serial flash is capable to provide the up to 32x32pixels font bitmap for BIG5/GB
coding. For graphic usage, RA8875 supports a 2D Block Transfer Engine(BTE) that is compatible with 2D
BitBLT function for processing the mass data transfer. The advanced geometric speed-up engine provides
user an easy way to draw the programmable geometric shape by hardware, like line, square, circle and ellipse.
Besides, for different end-user applications, many powerful functions are integrated with RA8875, such as
scroll function, floating window display, graphic pattern and font enlargement function. These functions will
save user a large of software effort during development period.
RA8875 is a powerful and cheap choice for color display application. To reduce the system cost, RA8875
provides low cost and easy-to-use 8080/6800 parallel MCU interface. Because of the powerful hardware
speed-up function embedded in it, less data transfer is needed so more efficiency is improved, RA8875 also
provides serial SPI/I2C I/F with ultra-low pin-count. Useful device controller, such as flexible 4-wire touch panel
controller, PWM for adjusting panel back-light are also included to reduce the system cost for customer. With
the RA8875 design-in, user can achieve an easy-to-use, low-cost and high performance system comparing
with the other solution.
2 Feature
‹
‹
‹
‹
‹
‹
‹
‹
‹
‹
‹
‹
Support Text/Graphic Mixed Display Mode.
Embedded 768KB DDRAM.
Color Depth TFT: 256/4K/65K Colors.
Supporting TFT 8/12/16 bpp Generic RGB
Interface.
Supporting TFT Panel Size:
„ 800x480 Pixels 2 Layers @ 256 Colors.
„ 800x480 Pixels 1 Layer @ 64K Colors.
„ 480x272 Pixels 2 Layers @ 64K Colors.
Supporting MPU Interface :
„ 8080/6800 with 8/16 Data Bus Width
„ I2C or 3/4-Wires SPI I/F.
Powerful Block Scrolling Function for Vertical or
Horizontal Direction.
Embedded 10KB Character ROM with Font
Size 8x16 Dots and Supporting Character Set of
ISO/IEC 8859-1/2/3/4.
External Serial Flash/ROM SPI I/F Supporting.
Supporting Genitop UNICODE/BIG5/GB Serial
font ROM with 16X16/24x24/32X32 dots Font
Size.
Font Enlargement Function X1, X2, X3, X4 for
Horizontal/Vertical Direction.
Font Vertical Rotation Mode Function.
RAiO TECHNOLOGY INC.
2/9
‹ Block Transfer Engine (BTE) Supports with 2D
Function, Compatible with 2D BitBLT Function.
‹ Embedded Geometric Speed-up Engine.
‹ Programmable Text Cursor for Writing with
Character.
‹ 32*32 Pixel Graphic Cursor Function.
‹ User-defined Characters.
„ 256 Characters with 8*16 dots.
‹ Supporting 32 User-defined Patterns of 8*8
pixels, or 16 User-defined Pattern for 16*16
pixels.
‹ Two Programmable PWM for Back-Light
Adjusting or other's Application.
‹ Embedded 4-wire Touch Panel Controller.
‹ Sleep Mode with Low Power Consumption.
‹ Embedded Smart 4*5 Key-Scan Controller.
‹ 4 Sets of Programmable GPO and a fixed
GPOX.
‹ 5 Sets of Programmable GPI and a fixed GPIX
‹ Clock Source: Embedded Crystal Oscillator
Circuit with Programmable PLL.
‹ Operation Voltage: 3.0V~3.6V.
‹ Package: LQFP-100pin.
www.raio.com.tw
RA8875
Version 1.0
Character / Graphic TFT LCD Controller
3 Block Diagram
DB[15:0]
RD#/EN#
WR#/RW#
CS#
RS
C86
WAIT#
INT#
SCL
SDI/SDA
SDO
SCS#
SIFS0
SIFS1
IICA[1:0]
KOUT [3:0]/ GPO [3:0]
KIN [4:0]/ GPI [4:0]
GPOX
GPIX
MPU I/F
Block
I2C/SPI
KEYSCAN
Controller
Register
Block
DDRAM
Geometric
Speed-up
Engine
Generic
TFT
driver I/F
FONT
Engine
Serial
Flash/ROM
IF
ADC
2D-BTE
Engine
CGROM
4 wires
Touch Panel
Controller
PLL
XI
XO
TEST[2:0]
OSC
TEST
Circuit
Pattern/
Cursor
Scroll
Engine
PDAT[15:0]
HSYNC
VSYNC
PCLK
DE
SFCL
SFDI
SFDO
SFCS0#
SFCS1#
XP
XN
YP
YN
ADC_VREF
PWM
PWM1
PWM2
RESET
Control
RST#
4 System Block Diagram
SPI
/I2C
Serial
Flash
8/16 bits
MPU
TFT LCD
Module
RA8875
4 wires
Touch
Panel
KEYPAD
/GPIO
PWM
RAiO TECHNOLOGY INC.
3/9
www.raio.com.tw
RA8875
Version 1.0
Character / Graphic TFT LCD Controller
5 Pin Definition
5-1 MPU Interface
Pin Name
I/O
DB[15:0]
IO
RD#
(EN)
I
WR#
(RW#)
I
CS#
I
RS
I
C86
I
PS
I
INT#
O
WAIT#
O
RAiO TECHNOLOGY INC.
Pin Description
Data Bus
These are data bus for data transfer between MPU and RA8875.
When setting register number and register data, DB[7:0] is used.
When writing data to display RAM, DB[15:0] is used according to data
bus mode setting. DB[15:8] will be input and should be pull-low or
pull-high when 8-bits data bus mode is used.
Enable/Read Enable
When MPU interface (I/F) is 8080 series, this pin is used as RD# signal
(Data Read) , active low.
When MPU I/F is 6800 series, this pin is used as EN signal (Enable),
active high.
Write/Read-Write
When MPU I/F is 8080 series, this pin is used as WR# signal (data write) ,
active low.
When MPU I/F is 6800 series, this pin is used as RW# signal (data
read/write control) . Active high for read and active low for write.
Chip Select Input
Low active chip select pin.
Command / Data Select Input
The pin is used to select command/data cycle. RS = 0, data Read/Write
cycle is selected. RS = 1, status read/command write cycle is selected.
In 8080 interface, usually it connects to “A0” address pin.
RS
0
0
1
1
WR#
0
1
0
1
Access Cycle
Data Write
Data Read
CMD Write
Status Read
MPU Interface Select
0: 8080 interface is selected
1: 6800 interface is selected
Parallel /Serial I/F Select Input
0: Parallel 8080/6800 I/F select
1: Serial 3/4-wire SPI or IIC I/F select.
PS input is used to select the active MCU interface, it must be set
correctly before the command /data cycle asserting. We also recommend
that DB[15:0], RD#(EN) , WR#(RW#) ,CS# and RS pin tie to low or high
when using serial I/F.
Interrupt Signal Output
The interrupt output for MPU to indicate the status of RA8875.
Wait Signal Output
This is a WAIT# output to indicate the RA8875 is in busy state. The
RA8875 can’t access MPU cycle when WAIT# pin is active. It is active low
and could be used for MPU to poll busy status by connecting it to I/O port.
4/9
www.raio.com.tw
RA8875
Version 1.0
Character / Graphic TFT LCD Controller
5-2 Serial MCU Interface
Pin Name
I/O
SCL
O
SDI
(SDA)
I/O
SDO
O
SCS#
O
IICA[1:0]
I
SIFS[1:0]
I
Pin Description
SPI Clock
3-wires, 4-wires Serial or IIC I/F clock.
4-wires SPI Data Input/3-wire SPI Data
4-wires SPI I/F: Data input for serial I/F.
3-wires SPI or IIC I/F: Bi-direction data for serial I/F.
SPI Data Output
4-wires SPI I/F: Data output for serial I/F.
3-wires SPI or IIC I/F: NC, if no use, please keep floating.
SPI Chip Select
Chip select pin for 3-wires or 4-wires serial I/F.
IIC I/F : NC, please connect it to VDDP.
IIC I/F: IIC Address Select.
Other I/F: NC, please connect it to VDDP.
Serial Interface Selection
00 : NC.
01 : 3-Wire SPI
10 : 4-Wire SPI
11 : IIC
5-3 LCD Panel Interface
Pin Name
I/O
Pin Description
LCD Panel Data Bus
TFT LCD data bus output for Gate driver. RA8875 support 256/4K/64K
color depth by register (REG[10h]), user can connect corresponding RGB
bus for different setting. For unused pin please keep it as floating.
PDAT[15:0]
O
HSYNC
O
VSYNC
O
PCLK
O
DE
O
RAiO TECHNOLOGY INC.
Color Depth
256
4K
64K
Red
PDAT[15:14]
PDAT[15:12]
PDAT[15:11]
Green
PDAT[10:8]
PDAT[10:7]
PDAT[10:5]
Blue
PDAT[4:3]
PDAT[4:1]
PDAT[4:0]
HSYNC Pulse
Generic TFT interface signal.
VSYNC Pulse
Generic TFT interface signal.
Pixel Clock
Generic TFT interface signal.
Data Enable
Generic TFT interface signal.
5/9
www.raio.com.tw
RA8875
Version 1.0
Character / Graphic TFT LCD Controller
5-4 Serial Flash / ROM Interface
Pin Name
I/O
SFCL
O
SFDI/SIO0
I/O
SFDO/SIO1
I/O
SFCS0#
O
SFCS1#
O
Pin Description
External Serial Flash/ROM Clock
Serial flash/ROM SPI I/F clock.
External Flash/ROM SPI Data Input
Single mode: Data input for serial flash/ROM SPI I/F.
Dual mode: The signal is used as bi-direction data #0(SIO0).
External Flash/ROM SPI Data Output
Single mode: Data output for serial flash/ROM SPI I/F.
Dual mode: The signal is used as bi-direction data #1(SIO1).
External Flash/ROM SPI Chip Select 0
Chip select pin for serial flash/ROM SPI I/F #0.
External Flash/ROM SPI Chip Select 1
Chip select pin for serial flash/ROM SPI I/F #1.
5-5 Touch Interface
Pin Name
I/O
YN
A
YP
A
XN
A
XP
A
ADC_VREF
A
Pin Description
YN Signal for Touch Panel
4-wire TP YN Control Signal.
YP Signal for Touch Panel
4-wire TP YP Control Signal.
XN Signal for Touch Panel
4-wire TP XN Control Signal.
XP Signal for Touch Panel
4-wire TP XP Control Signal.
TP ADC Reference Voltage
This pin is the reference voltage for ADC as 0.5 VDD. The reference
voltage could be generated by RA8875(default) or from external circuit.
5-6 KeySCAN Interface
Pin Name
I/O
KOUT[3:0]/
(GPO[3:0])
O
KIN[4:0]/
(GPI[4:0])
I
GPOX
0
GPIX
I
RAiO TECHNOLOGY INC.
Pin Description
Keypad Strobe Line or GPOs(General Purpose Output)
Keypad matrix strobe lines outputs with open-drain. (Default).
They could be programmed as GPOs by register setting , if don’t use,
please keep floating.
Keypad Data Line or GPIs (General Purpose Input)
Keypad data inputs(Default), please add pull-up resister.
They could be programmed as GPIs by register setting, if don’t use,
please connect it to GND.
Extra GPO(General Purpose Output)
Additional GPO signal. if don’t use, please keep floating.
Extra GPI(General Purpose Input)
Additional GPI signal, if don’t use, please connect it to GND.
6/9
www.raio.com.tw
RA8875
Version 1.0
Character / Graphic TFT LCD Controller
5-7 KEYSCAN Interface
Pin Name
I/O
Pin Description
PWM1
O
PWM signal output 1
PWM2
O
PWM signal output 2
5-8 Clock and Power Interface
Pin Name
I/O
XI
I
XO
O
RST#
I
TEST[2:0]
I
VDDP
P
CORE_VDD
P
LDO_VDD
P
OSC_VDDP
P
OSC_VDD
P
OSC_GNDP
P
OSC_GND
P
ADC_VDD
P
ADC_GND
P
GND
P
RAiO TECHNOLOGY INC.
Pin Description
Crystal Input Pin
Input pin for internal crystal circuit. It should be connected to external
crystal circuit. That will generate the system clock for RA8875.
Crystal Output Pin
Output pin for internal crystal circuit. It should be connected to external
crystal circuit. That will generate the system clock for RA8875.
Reset Signal Input
This active-low input performs a hardware reset on the RA8875. It is a
Schmitt-trigger input with pull-up resistor for enhanced noise immunity;
however, care should be taken to ensure that it is not triggered if the
supply voltage is lowered.
Test Mode Input
For chip test function, should be connected to GND for normal operation.
IO VDD
3.3V IO power input.
CORE VDD
1.8 V Core power input.
LDO VDD Output
1.8V power generated by internal LDO. It must connect bypass capacities
to prevent power noise.
OSC IO VDD
The separated OSC 3.3V IO power.
OSC VDD
OSC 1.8 V power output. It is used by OSC core. It is suggested to
connect the bypass capacitor nearby the pad.
OSC IO GND
The separated OSC IO ground signal.
OSC GND
OSC ground signal and are internally connected to OSC_GNDP.
ADC VDD
ADC 3.3V power signal.
ADC GND
ADC ground signal
GND
IO Cell/Core ground signal
7/9
www.raio.com.tw
RA8875
Version 1.0
Character / Graphic TFT LCD Controller
XP
YN
YP
XN
ADC_VREF
ADC_GND
PDAT15
PDAT14
PDAT13
PDAT12
PDAT11
PDAT10
PDAT9
VDDP
LDO_GND
LDO_OUT
PDAT8
PDAT7
PDAT6
PDAT5
PDAT4
PDAT3
PDAT2
PDAT1
PDAT0
6 Package
75
ADC_VDD
RD# / EN
WR# / RW#
CS#
RS
C86
DB0
DB1
DB2
GND
CORE_VDD
VDDP
DB3
DB4
DB5
DB6
DB7
DB8
DB9
DB10
DB11
DB12
DB13
DB14
DB15
70
65
60
55
51
50
76
80
45
TM
RAiO
85
40
RA8875L3N
90
35
1020-N
95
Date code (Year 2010, 20th week)
30
○
26
100
5
10
15
20
25
OSC_GNDP
OSC_VDDP
XI
XO
OSC_VDD
OSC_GND
WAIT#
INT#
RST#
TEST0
TEST1
TEST2
VDDP
PWM1
PWM2
GND
CORE_VDD
SFCL
SFDI
SFDO
SFCS0#
SFCS1#
IICA0
IICA1
PS
1
DE
PCLK
VSYNC
HSYNC
GPOX
GPIX
SCL
SDI
SDO
SCS#
VDDP
GND
CORE_VDD
KIN0 / GPI0
KIN1 / GPI1
KIN2 / GPI2
KIN3 / GPI3
KIN4 / GPI4
KOUT0 / GPO0
KOUT1 / GPO1
KOUT2 / GPO2
KOUT3 / GPO3
SIFS0
SIFS1
GND
RAiO TECHNOLOGY INC.
8/9
www.raio.com.tw
RA8875
Version 1.0
Character / Graphic TFT LCD Controller
Item
Resolution
Color
Parallel
MCU
I/F
Serial
MCU
I/F
Int.
DDRAM
Ext.
DDRAM
T/P
2D
+
BTE
ASCII
Ext
Font
ROM
Key-Scan
GPIO
Pakage
RA8870
640x480
65K
8/16 Bit
--
270KB
1MB
Parallel
4/5-Wries
Y
Y
1MB
Parallel
--
6
LQFP-128,
Die
RA8875
800x480
65K
8/16 Bit
3/4/IIC
768KB
--
4- Wires
Y
Y
1MB
Serial
4x5
7
LQFP-100,
Die
RA8875 vs. RA8870
RAiO TECHNOLOGY INC.
1
Remove 5-wires T/P.
2
Remove DAC and Analog Panel I/F.
3
Embedd DDRAM up to 768Kbytes.
4
Two pages for 320x240 65K-colors.
5
No external DDRAM I/F.
6
Change Parallel Font ROM to Genitop Serial Font ROM.
7
Geometric Speed-up Engine support “Ellipse” function.
8
Add 3/4-wires SPI, IIC .
9
Add 4x5 Smart Key-scan controller for multi-key press.
10
Packahe TQFP-128pins change to TQFP-100pins.
9/9
www.raio.com.tw