AM640480G2TNQW-TU0H - OLED-LCD-TFT

晶采光電科技股份有限公司
AMPIRE CO., LTD
SPECIFICATIONS FOR
LCD MODULE
CUSTOMER
CUSTOMER PART NO.
AMPIRE PART NO.
APPROVED
AM-640480G2TNQW-TU0H
BY
DATE
† Approved For Specifications
† Approved For Specifications & Sample
AMPIRE CO., LTD.
2F., No.88, Sec. 1, Sintai 5th Rd., Sijhih City, Taipei County 221, Taiwan (R.O.C.)
台北縣汐止市新台五路一段 88 號 2 樓(東方科學園區 D 棟)
TEL:886-2-26967269 , FAX:886-2-26967196 or 26967270
APPROVED BY
Date : 2008/07/29
CHECKED BY
ORGANIZED BY
1
RECORD
Revision Date Page
2008/07/29
2008/9/8
-
OF
REVISION
Contents
Editor
New Release
Kokai
1. Add Touch Panel command & Control Touch Panel Kokai
flow chart
2. Add Back-light dimming control command
3. Add Jumper setting
Date : 2008/07/29
2
Index
1
INTRODUCTION ................................................................................................................................. 6
2
APPLICATION DIAGRAM................................................................................................................. 6
3
PHYSICAL SPECIFICATIONS ......................................................................................................... 7
4
ELECTRICAL SPECIFICATION ....................................................................................................... 7
4.1
ABSOLUTE MAX. RATINGS ............................................................................................................ 7
4.1.1
Electrical Absolute max. ratings ..................................................................................... 7
4.1.2
Environmental Absolute max. ratings ........................................................................... 7
4.2
ELECTRICAL CHARACTERISTICS .................................................................................................. 8
4.2.1
DC Electrical characteristic.............................................................................................. 8
5
OPTICAL SPECIFICATION............................................................................................................. 10
6
BLOCK DIAGRAM ........................................................................................................................... 13
7
INTERFACE SPECIFICATIONS..................................................................................................... 14
8
SOFTWARE COMMAND SET........................................................................................................ 15
8.1
BASIC AGREEMENT .................................................................................................................... 15
8.1.1
UART default Parameters...................................................................................................... 15
8.1.2
Serial port data frame structure ( Hex mode) ........................................................................ 15
8.2
COMMAND SET ( HEX MODE) ................................................................................................... 16
8.2.1
Configuration Command ....................................................................................................... 16
8.2.2
Hand Shake Command........................................................................................................... 17
8.2.3
Display Mode Setting............................................................................................................. 18
8.2.3.1
SET_COLOR .............................................................................................................................. 18
8.2.3.2
SET_FONT_PITCH .................................................................................................................... 19
8.2.3.3
SET_BACKGROUND_COLOR By X,Y ................................................................................... 19
8.2.3.4
SET_FRONT_COLOR By X,Y .................................................................................................. 20
8.2.3.5
SET_CURSOR_MODE .............................................................................................................. 21
8.2.4
Text Display Command .......................................................................................................... 22
8.2.4.1
PRINT_STRING_8x8 (Standard Font)........................................................................................ 22
8.2.4.2
PRINT_STRING_16x16 (Standard Font).................................................................................... 23
8.2.4.3
PRINT_STRING_32x32 (Standard Font).................................................................................... 24
8.2.4.4
PRINT_STRING_12x12(Standard Font)..................................................................................... 25
8.2.4.5
PRINT_STRING_24x24 (Standard Font).................................................................................... 26
8.2.4.6
PRINT_STRING (Custom Font Library) .................................................................................... 27
8.2.5
Put pixel Command................................................................................................................ 30
Date : 2008/07/29
3
8.2.5.1
Put Pixel by Background Color ................................................................................................... 30
8.2.5.2
Put Pixel by Front Color .............................................................................................................. 31
8.2.5.3
Put Pixel and Clear vertical line by specify color ........................................................................ 32
8.2.6
Draw Line Command............................................................................................................. 34
8.2.6.1
Draw Front Color Lines by the specify points ............................................................................. 34
8.2.6.2
Draw Background Color Lines by the specify points .................................................................. 35
8.2.7
Draw Circle Command .......................................................................................................... 36
8.2.7.1
8.2.8
Draw a Circle by the specified the radius and center points. ....................................................... 36
Draw Rectangle Command .................................................................................................... 37
8.2.8.1
Draw a front color Rectangle by the specified the left-up and right-down points........................ 37
8.2.8.2
Draw a background color Rectangle by the specified the left-up and right-down points............. 38
8.2.9
Full Area Command............................................................................................................... 40
8.2.9.1
Clear Screen................................................................................................................................. 40
8.2.9.2
Full area with Background color.................................................................................................. 41
8.2.9.3
Full area with Front color ............................................................................................................ 42
8.2.9.4
Reverse area color ....................................................................................................................... 43
8.2.10
Move Area Command........................................................................................................ 44
8.2.10.1
Move area data to left N pixel by the specified the left-up and right-down points. ..................... 44
8.2.10.2
Move area data to right N pixel by the specified the left-up and right-down points. ................... 45
8.2.10.3
Move area data to left N pixel by the specified the left-up and right-down points. And full the
right N pixel with background color ................................................................................................................. 46
8.2.10.4
Move area data to right N pixel by the specified the left-up and right-down points. And full the
left N pixel with background color ................................................................................................................... 47
8.2.11
Picture Command.............................................................................................................. 48
8.2.11.1
Show the full picture by specify the PICNUM ............................................................................ 48
8.2.11.2
Show the area of picture in position X,Y by specify the PICNUM , left-up and right-down points ,
X and Y.
49
8.2.11.3
Save the screen data to flash memory. ......................................................................................... 50
8.2.12
8.2.12.1
8.2.13
Display RAM Command.................................................................................................... 51
Write data to the display RAM. ................................................................................................... 51
IO control Command......................................................................................................... 52
8.2.13.1
SET I/O1 to Low ......................................................................................................................... 52
8.2.13.2
Back-light Dimming control I/O1................................................................................................ 52
8.2.14
8.2.14.1
Touch Panel Command ..................................................................................................... 53
Touch Panel Calibration............................................................................................................... 53
9
INCOMING INSPECTION STANDARD FOR TFT-LCD PANEL............................................. 56
10
RELIABILITY TEST CONDITIONS................................................................................................ 58
Date : 2008/07/29
4
11
OTHERS ............................................................................................................................................. 58
12
OUTLINE DIMENSION .................................................................................................................... 59
Date : 2008/07/29
5
1 Introduction
This is a color active matrix TFT-LCD that uses amorphous silicon TFT as a switching
device. This model is composed of a 5.7inch TFT-LCD panel, a driving circuit and LED
backlight system.This TFT-LCD has a high resolution (640(R.G.B) X 480) and can
display up to 65K colors .
The TFT LCD module is a complete HMI module. It is able to handle the TFT panel by
UART (Universal Asynchronous Receiver/Transmitter) interface. The user can easy
use/control the TFT Panel by commands.
High Speed ASCI IC and rich function (Text support, draw pixel, draw Line, draw Arc,
draw Rectangle) design will make the user’s product success.
2 Application Diagram
Any MCU which is with UART interface can control the TFT module.
Date : 2008/07/29
6
3 Physical Specifications
Item
Specifications
unit
Display resolution(dot)
640RGB (W) x 480(H)
dots
Display area
116.16 (W) x 87.12 (H)
mm
Pixel pitch
0.18 (W) x 0.18 (H)
mm
Color configuration
R.G.B Vertical stripe
Overall dimension
144.0(W)x109.5(H)x22.0(D)---(Typ)
Surface treatment
Antiglare , Hard-Coating(3H)
Brightness
cd/m2
500
Contrast ratio
250 : 1
Backlight unit
LED
Display color
65K
Viewing Direction
mm
colors
12 o’clock
Display Mode
Normally White
4 Electrical Specification
4.1 Absolute max. ratings
4.1.1 Electrical Absolute max. ratings
Item
Symbol Condition
Power voltage
+3.3V
(Vin)
GND=0
Input voltege
Min.
Max.
Unit
-0.3
30.0
V
-0.3
3.6
V
Remark
Note 1
Note1:RXD,TXD
4.1.2 Environmental Absolute max. ratings
OPERATING
STORAGE
Item
MIN
MAX
MIN
MAX
Temperature
Corrosive Gas
-20
70
Not Acceptable
-30
Remark
80
Not Acceptable
Note1 : Ta <= 40℃ : 85% RH max
Ta > 40℃ : Absolute humidity must be lower than the humidity of
85%RH at 40℃
Date : 2008/07/29
7
4.2 Electrical characteristics
4.2.1 DC Electrical characteristic
Typical operting conditions (GND=0V)
Symbol
Min.
Item
Power supply
H Level
Input Voltage
Typ.
Max.
Unit
Vin
4.6
--
26.0
V
VIH
0.7 VDD
-
VDD
V
Remark
Note 1
for logic
L Level
VIL
0
-
0.3 VDD
V
Power Supply current
IDD
--
700
--
mA
Power consumption
P
2.5
Note 2
W
Note1:RXD0,TXD0,RXD1,TXD1.
Note2: The internal power circuit will transfer the Vin to VDD=+3.3V for the
module power, LED Backlight turn ON.
Item
Processor
Min.
Typ.
Max.
Unit
GPU
--
80
--
MHz
CPU
--
100
--
MHz
L1 Cache
performance
512
Bytes
8
KB
UART Buffer
32
KB
Display Buffer
1024
KB
Flash Memory:
128
MB
Flash Memory: Font
32
MB
( 8nS Register)
L2 Cache
( 10nS SRAM)
Remark
Storage
Flash Memory: Picture
64
94
MB
Flash Memory: User
Data
0
32
MB
Date : 2008/07/29
8
Item
Uart Speed
LCD
Interface
Min.
Typ.
Max.
Unit
115200
bps
COM1 (3.3V CMOS)
User interface
1200
COM2 (3.3V CMOS)
Function expand
--
115200
--
bps
CLOCK_H
10
25
33
MHz
CLOCK_L
1
5
10
MHz
VOH (IOH=-100uA)
0.9VLCD
--
--
V
VOL(IOL=100uA)
--
--
0.2
VLCD
V
IO
-20
+20
mA
Resolution
640*480 800*600 Dots
Color mode
16 bit, R5G6B5
ESD(HBM)
2
Date : 2008/07/29
Remark
KV
9
5 Optical Specification
Item
Symbol
Condition
Min.
Typ.
Max.
Unit
Note
Contrast ratio
CR
200
250
--
--
(1)(2)(3)
Luminance
Lw
--
500
-
cd/m2
(1)(3)
Luminance Uniformity
ΔL
70
75
-
%
(1)(3)
--
50
--
ms
(1)(3)(5)
80
100
-
120
140
-
Deg.
(1)(2)(4)
0.566
0.616
0.666
0.302
0.352
0.402
0.308
0.358
0.408
0.518
0.568
0.618
0.096
0.146
0.196
--
(1)(3)
0.086
0.136
0.186
0.296
0.346
0.396
0.328
0.378
0.428
Response Time
( White – Black )
Viewing
Angle
Tr +Tf
Vertical
Θ
Horizontal
Φ
Red
Color
chromaticity
Point - 5
Θ=Φ=0°
Green
Blue
White
Rx
Ry
Gx
Gy
Bx
By
Wx
Wy
CR≧10
Point – 5
Point - 5
Θ=Φ=0°
NOTE :
(1) Measure conditions : 25℃±2℃ , 60±10%RH under 10Lux , in the dark
room by BM-7TOPCON) ,viewing 2° , VCC=3.3V , VDD=3.3V
(2) Definition of Contrast Ratio :
Contrast Ratio (CR) = (White) Luminance of ON ÷ (Black) Luminance
of OFF
Date : 2008/07/29
10
(3) Definition of Luminance :
Definition of Luminance Uniformity
Measure white luminance on the point 5 as figure9-1
Measure white luminance on the point 1 ~ 9 as figure9-1
ΔL = [ L(MIN) / L(MAX)] X 100%
(4) Definition of Viewing Angle(Θ,Φ), refer to Fig9-2 as below :
(5) Definition of Response Time.(White – Black)
Date : 2008/07/29
11
Date : 2008/07/29
12
6 Block Diagram
6.1
Jumper Setting :
UART Mode
Jumper Setting
RA1 or RA5
RA2or RA6
RA3or RA4
Short
OPEN
OPEN
RS232 Mode
OPEN
Short
OPEN
USB Mode
OPEN
OPEN
Short
Operation mode
Remark
1200~115200 can be selected
Touch Panel Workable
1200~115200 can be selected
Touch Panel Workable
BPS: 921600 is fixed
Touch Panel can not work
Note : The on board USB connector is USB B type
USB driver CP2102 :
Date : 2008/07/29
CP2102 USB to UART driver.rar
13
7 Interface specifications
8 Pins Pitch 2.54 connector
PIN Name
I/O
1
Vin
P
2
Vin
P
3
/BUSY
O
Description
Remark
Power input pin for the module (4.6~26V)
Power input pin for the module (4.6~26V)
Hi : Idle. The user can send the data to module.
Note1
Lo: Busy. The data will be lost.
4
TXD
O
User UART serial signal output
5
RXD
I
User UART serial signal input
7
GND
P
Power and signal Ground
8
GND
P
Power and signal Ground
Note 1: The /BUSY=1 indicates that the internal GPU/CPU can accept at least a
“Command Frame”. The /BUSY=0 indicates that the interface board can’t accept any
“Command Frame”. The user can ignore the /BUSY signal unless the user use the
“Command Frame End” and send lots “ Command Frame “ over the UART buffer.
Date : 2008/07/29
14
8
Software Command SET
8.1 Basic Agreement
8.1.1 UART default Parameters
The default parameters of UART are:
Baudrate: ............ 115200 bps ( 1200~115200 can be selected)
No of Stop Bits: .... 1
Parity: .................. Off
Handshake: .......... None
8.1.2 Serial port data frame structure ( Hex mode)
The “Serial port data frame structure” includes Start Character,
Command, Data Pack and End Characters.
The command Frame stat with “Start Character 0xAA”. And the follow
byte is Command Byte, Data Pack. The “End Byte” is 0XCC 0x33 0xC3
0X3C. The user can add “Delay time” instead of the End Byte. But if the
“End Byte” has been send, the “Delay time “ lose efficacy.
Structure
Start
Character
Length(Byte) 1
0XAA
Baudrate_Set
0x00
0x01
0X02
0X03
0X04
0X05
0X06
0X07
Command
Data Pack
End Characters
1
One Byte
(see command
Set)
0-249
Relative Data
(max 249
bytes)
4
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Baudrate (bps)
1200
2400
4800
9600
19200
38400
57600
115200
Date : 2008/07/29
Relative Delay Time
12.5mS
6.25mS
3mS
3mS
2mS
2mS
1mS
1mS
15
8.2 Command SET ( Hex mode)
All the command description is hexadecimal format (HEX).
The X,Y coordinate express two bytes. High byte(MSB) + Low byte(LSB).
EX : X=10 (0x000A), The user must send the 0x00 0x0A.
(0,0)
X
Vin
TXD
RXD
GND
TFT
Y
8.2.1 Configuration Command
Start Byte
0XAA
Command
Byte
0xE0
Data Bytes
End Byte
0x55 0xAA 0x5A 0xA5
+TFT_ID+ Baudrate_Set
+0x00
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Description: Set the TFT _ ID, UART Baudrate,
Class: Multi Byte Command
Code: E0hex, 224dec
TFT _ ID:
TFT_ID
0x04
0x08
0x0A / 0x01
0x0B
Resolution
800x480
480x272
640x480
320x240
Baudrate_Set:
Baudrate_Set
0x00
0x01
0X02
0X03
0X04
0X05
0X06
0X07
Baudrate (bps)
1200
2400
4800
9600
19200
38400
57600
115200
Date : 2008/07/29
Mode
SYNC
SYNC
SYNC
SYNC
Picture
128
255
153
153
Remark
AM800480E
AM480272C/D
AM640480G2
AM320240N/N1
Relative Delay Time
12.5mS
6.25mS
3mS
3mS
2mS
2mS
1mS
1mS
16
Example : AM320240N/N1 , Baudrate 115200bps.
RXD0 Input : AA E0 55 AA 5A A5 0B 07 00
TXD0 Output : AA E0 0B 07 00 CC 33 C3 3C
Note: The default Baudrate is 115200 N, 8 , 1 between power on 0~200mS , after
200mS the baudrate is set to user setting.
8.2.2 Hand Shake Command
Start Byte
0XAA
Command
Byte
0x00
Data Bytes
End Byte
None
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Description: Check the interface board communication
Class: Single Byte Command
Code: 00hex, 00dec
Example : The Output information depend on configuration.
RXD0 Input : AA 00
TXD0 Output: AA 00 “ OK_V3.10” 0B 07 00 CC 33 C3 3C
Note: The power on reset time is 0.5~2 seconds.
Date : 2008/07/29
17
8.2.3 Display Mode Setting
8.2.3.1 SET_COLOR
Start Byte
0XAA
Command
Byte
0x40
Data Bytes
End Byte
Front Color MSB
Front Color LSB
BK Color MSB
BK Color MSB
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Description: Set Front Color and Back Color. The Color data is 16 bits ( 0x0000~0xFFFF).
The default Front color is 0xFFFF(White) and the Background color is 0x001F (Blue).
Class: Multi Byte Command
Code: 40hex, 64dec
7
6
FC R4
FC G2
BKC R4
BKC G2
FC R3
FC G1
BKC R3
BKC G1
5
4
3
2
SET_COLOR 0x40
FC R2
FC R1
FC R0
FC G5
FC G0
FC B4
FC B3
FC B2
BKC R2 BKC R1 BKC R0 BKC G5
BKC G0 BKC B4 BKC B3 BKC B2
1
0
FC G4
FC B1
BKC G4
BKC B1
FC G3
FC B0
BKC G3
BKC B0
Example : Set the Front color =0xFFFF(White) and Background color is 0x001F (Blue).
RXD0 Input : AA 40 FF FF 00 1F
TXD0 Output: None
Date : 2008/07/29
18
8.2.3.2
Start Byte
0XAA
SET_FONT_PITCH
Command
Byte
0x41
Data Bytes
End Byte
PITCH_X
PITCH_Y
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Description: Set the character FONT display pitch. PITCH_X and PITCH_Y can’t set over
than 0x7F. The default PITCH_X= PITCH_Y=0
Class: Multi Byte Command
Code: 41hex, 65dec
7
6
5
4
3
2
SET_FONT_PITCH 0x41
PITCH_X
PITCH_Y
1
0
Example : Set PCITH_X=1,PITCHY=2.
RXD0 Input : AA 41 01 02
TXD0 Output: None
8.2.3.3
Start Byte
0XAA
SET_BACKGROUND_COLOR By X,Y
Command
Byte
0x42
Data Bytes
End Byte
X MSB
X LSB
Y MSB
Y MSB
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Description: Get the (X,Y) display color data and set to the Background color.
Class: Multi Byte Command
Code: 42hex, 66dec
7
6
5
4
3
2
SET_BACKGROUND_COLOR By X,Y 0x42
X_MSB
X_LSB
Y_MSB
Y_LSB
1
0
Example : Read the (X,Y)=(128,64) color data and set to the background color.
RXD0 Input : AA 42 00 80 00 40
TXD0 Output: None
Date : 2008/07/29
19
8.2.3.4
Start Byte
0XAA
SET_FRONT_COLOR By X,Y
Command
Byte
0x43
Data Bytes
End Byte
X MSB
X LSB
Y MSB
Y MSB
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Description: Get the (X,Y) display color data and set to the Front color.
Class: Multi Byte Command
Code: 43hex, 67dec
7
6
5
4
3
2
SET_FRONT_COLOR By X,Y 0x42
X_MSB
X_LSB
Y_MSB
Y_LSB
1
0
Example : Read the (X,Y)=(128,64) color data and set to the Front color.
RXD0 Input : AA 43 00 80 00 40
TXD0 Output: None
Date : 2008/07/29
20
8.2.3.5
Start Byte
SET_CURSOR_MODE
Command
Byte
0x44
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
Mode
Or add the Delay time
X MSB
X LSB
Y MSB
Y LSB
Cursor Wide
Cursor High
Description: Set Cursor OFF (Mode =0x00) . Cursor ON (Mode=0x01). The (X,Y) is the
left-up position of the cursor. Cursor Wide (0x01~0x1F) Cursor High (0x01~0x1F)
0XAA
Class: Multi Byte Command
Code: 44hex, 68dec
7
6
5
4
3
2
SET_CURSOR_MODE 0x44
Mode
X MSB
X MSB
Y MSB
Y MSB
Cursor Wide
Cursor High
1
0
Example : Set Cursor ON, (X,Y)=(128,64) , Cursor Width=16 , Cursor High=4
RXD0 Input : AA 44 01 00 80 00 40 10 04
TXD0 Output: None
Date : 2008/07/29
21
8.2.4 Text Display Command
8.2.4.1 PRINT_STRING_8x8 (Standard Font)
Start Byte
0XAA
Command
Byte
0x53
Data Bytes
X MSB
X LSB
Y MSB
Y LSB
“String”
Description: Prints String. starting at (X,Y) Position
End Byte
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Class: Multi Byte Command
Code: 53hex, 83dec
7
6
5
4
3
2
PRINT_STRING_8x8 0x53
X MSB
X MSB
Y MSB
Y MSB
ASCII
ASCII
~
ASCII
ASCII
1
0
Example : Print 8x8 string “ LCD “ on ( 128,64).
RXD0 Input : AA 53 00 80 00 40 4C 43 44
PRINT_STRING_8x8 53 hex
XMSB 00 hex
XLSB 80 hex
YMSB 00 hex
YLSB 40 hex
'L' 4C hex
'C' 43 hex
'D' 44 hex
TXD0 Output: None
See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y , SET_FRONT_COLOR By
X,Y ,SET_FONT_PITCH
Date : 2008/07/29
22
8.2.4.2
Start Byte
0XAA
PRINT_STRING_16x16 (Standard Font)
Command
Byte
0x54
Data Bytes
X MSB
X LSB
Y MSB
Y LSB
“String”
Description: Prints String. start at (X,Y) Position
End Byte
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Class: Multi Byte Command
Code: 54hex, 84dec
7
6
5
4
3
2
PRINT_STRING _16x16 0x54
X MSB
X MSB
Y MSB
Y MSB
ASCII
ASCII
~
ASCII
ASCII
1
0
Example : Print 16x16 string “ LCD “ on ( 128,64).
RXD0 Input : AA 54 00 80 00 40 4C 43 44
PRINT_STRING_16x16 54 hex
XMSB 00 hex
XLSB 80 hex
YMSB 00 hex
YLSB 40 hex
'L' 4C hex
'C' 43 hex
'D' 44 hex
TXD0 Output: None
See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y , SET_FRONT_COLOR By
X,Y ,SET_FONT_PITCH
Date : 2008/07/29
23
8.2.4.3
Start Byte
PRINT_STRING_32x32 (Standard Font)
Command
Byte
0x55
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
X MSB
Or add the Delay time
X LSB
Y MSB
Y LSB
“String”
Description: Prints String. starting at (X,Y) Position (Support GBK3212 FONT code)
0XAA
Class: Multi Byte Command
Code: 55hex, 85dec
7
6
5
4
3
2
PRINT_STRING _32x32 0x55
X MSB
X MSB
Y MSB
Y MSB
ASCII
ASCII
~
ASCII
ASCII
1
0
Example : Print 32x32 string “ LCD “ on ( 128,64).
RXD0 Input : AA 55 00 80 00 40 4C 43 44
PRINT_STRING_32x32 55 hex
XMSB 00 hex
XLSB 80 hex
YMSB 00 hex
YLSB 40 hex
'L' 4C hex
'C' 43 hex
'D' 44 hex
TXD0 Output: None
See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y , SET_FRONT_COLOR By
X,Y ,SET_FONT_PITCH
Date : 2008/07/29
24
8.2.4.4
Start Byte
0XAA
PRINT_STRING_12x12(Standard Font)
Command
Byte
0x6E
Data Bytes
X MSB
X LSB
Y MSB
Y LSB
“String”
Description: Prints String. starting at (X,Y) Position
End Byte
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Class: Multi Byte Command
Code: 6Ehex, 110dec
7
6
5
4
3
2
PRINT_STRING _12x12 0x6E
X MSB
X MSB
Y MSB
Y MSB
ASCII
ASCII
~
ASCII
ASCII
1
0
Example : Print 12x12 string “ LCD “ on ( 128,64).
RXD0 Input : AA 6E 00 80 00 40 4C 43 44
PRINT_STRING_12x12 6E hex
XMSB 00 hex
XLSB 80 hex
YMSB 00 hex
YLSB 40 hex
'L' 4C hex
'C' 43 hex
'D' 44 hex
TXD0 Output: None
See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y , SET_FRONT_COLOR By
X,Y ,SET_FONT_PITCH
Date : 2008/07/29
25
8.2.4.5
Start Byte
0XAA
PRINT_STRING_24x24 (Standard Font)
Command
Byte
0x6F
Data Bytes
X MSB
X LSB
Y MSB
Y LSB
“String”
Description: Prints String. starting at (X,Y) Position
End Byte
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Class: Multi Byte Command
Code: 6Fhex, 111dec
7
6
5
4
3
2
PRINT_STRING _24x24 0x6F
X MSB
X MSB
Y MSB
Y MSB
ASCII
ASCII
~
ASCII
ASCII
1
0
Example : Print 24x24 string “ LCD “ on ( 128,64).
RXD0 Input : AA 6F 00 80 00 40 4C 43 44
PRINT_STRING_24x24 6F hex
XMSB 00 hex
XLSB 80 hex
YMSB 00 hex
YLSB 40 hex
'L' 4C hex
'C' 43 hex
'D' 44 hex
TXD0 Output: None
See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y , SET_FRONT_COLOR By
X,Y ,SET_FONT_PITCH
Date : 2008/07/29
26
8.2.4.6
Start Byte
0XAA
PRINT_STRING (Custom Font Library)
Command
Byte
0x98
Data Bytes
End Byte
X MSB
X LSB
Y MSB
Y LSB
Lib_ID
C_mode
C_dots
Color
Bcolor
“String”
Description: Prints String custom font starting at (X,Y) Position
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Class: Multi Byte Command
Code: 98hex, 152dec
Lib_ID:0x00~0x3B , Font library ID. The memory size of the font library is 32MB. The memory is
arranged as 60 areas.
Lib_ID
0x00~0x1F
Size
128KB
0x20~0x3B
1MB
Description
There are 32 areas for small font
library which size is 128KB. The
user can download different style
for ASCII code or small ICON
There are 28 areas for large font
library which size is 1MB.
z
Single area can be set as
12x12 or 16x16 (GBK encode)
z
The area can be combined for
supper large font library.
Default
0x00=ASCII standard
font library, please don’t
modify it.
0x01~0x1F: Free
0x20=12x12 GBK
0x21=16x16 GBK
0x22=24x24 GB2312
0x23=32x32 GB2312
0x24~0x3B : Free
C_Mode:The mode of the character font:
Bit No
Definition
Description
Bit7~Bit4
Display mode
Bit7=1: Front color is displayed
Bit7=0: Front color is not displayed
Bit6=1: Back ground color is displayed
Bit6=0: Back ground color is not displayed
Bit5 , Bit4 : don’t care
Date : 2008/07/29
Bit3~Bit0
Lib_Type(0x00~0x0F)
Lib_Type define the encoding
systems of the font :
0= 8bit
1=GB2312
2=GBK or HANGUL
3=BIG5
4=SJIS
5=UNICODE
6-F: undefined
27
C_dots:The display font size. (See the detail information: Custom Font Definition)
C_dots
0 or 5
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0A
0x0B
0x0C
0x0D
0x0E
0x0F
0x10
0x11
0x12
0x13
0x14
0x15
0x16
0x17
0x18
8x8
6x12
8x16
12x24
16x32
20x40
24x48
28x58
32x64
12x12
16x16
24x24
32x32
40x40
48x48
56x56
64x64
40x80
48x96
56x112
64x128
80x80
96x96
112x112
128x128
C_Mode (Bit3~Bit0)
1 , 2 , 3, 4
ASCII
Chinese/Korea/Japan
6x12
12x12
8x16
16x16
12x24
24x24
16x32
32x32
20x40
40x40
24x48
48x48
28x56
56x56
32x64
64x64
Color :The color of the font.
Bcolor:The background color of the font.
String:The encoding system is defined by C_Mode ( Bit3~Bit0). If C_Mode=0,1,2,3and 4, the
code identify as “ ASCII “ and showed by Lib_ID= 0.
7
6
Date : 2008/07/29
5
4
3
2
PRINT_STRING _Custom Font
X MSB
X MSB
Y MSB
Y MSB
Lib_ID
C_mode
C_dots
Color
Bcolor
Font code
Font code
~
Font code
1
0
28
Font code
Example : Print string “ AMPIRE晶采光電 “ on ( 128,64).
RXD0 Input :
AA 98 00 80 00 40 24 C3 02 FF FF 00 00 41 4D 50 49 52 45 B4 B9 AA F6 A5 FA B9
71 CC 33 C3 3C
AA: Start Byte
98: command Byte
00 80 : X position
00 40 : Y position
24 : Lib_ID ( The user must to download the BIG5_24x24 to 0x24)
C3 : C_mode Front color is displayed , Back ground color is displayed , BIG5
02 : C_dots , ASCII size :12x24 , Chinese : 24x24
FF FF : Color is white
00 00 : Bcolor , background color is black.
41 4D 50 49 52 45: 'AMPIRE'
B4 B9 AA F6 A5 FA B9 71: '晶采光電'
CC 33 C3 3C: End Byte
TXD0 Output: None
See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y , SET_FRONT_COLOR By
X,Y ,SET_FONT_PITCH
Date : 2008/07/29
29
8.2.5 Put pixel Command
8.2.5.1 Put Pixel by Background Color
Start Byte
Command
Byte
0x50
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
X0 MSB
Or add the Delay time
X0 LSB
Y0 MSB
Y0 LSB
X1 MSB
X1 LSB
Y1 MSB
Y1 LSB
~~
Xk MSB
Xk LSB
Yk MSB
Yk LSB
Description: Put the background color to the point (X0,Y0) , (X1,Y1) ,…(Xk,Yk)
0XAA
Class: Multi Byte Command
Code: 50hex, 80dec
7
6
5
4
3
2
Put Pixel by Background color
X0 MSB
X0 MSB
Y0 MSB
Y0 MSB
X1 MSB
X1 MSB
Y1 MSB
Y1 MSB
~~
Xk MSB
Xk MSB
Yk MSB
Yk MSB
Example : Put pixel by background color on (0,0) (1,1) (2,2)
1
0
RXD0 Input : AA 50 00 00 00 00 00 01 00 01 00 02 00 02 CC 33 C3 3C
AA: Start Byte
50: command Byte
00 00 00 00 : (X,Y)=(0,0)
00 01 00 01 : (X,Y)=(1,1)
00 02 00 02 : (X,Y)=(2,2)
CC 33 C3 3C: End Byte
TXD0 Output: None
Date : 2008/07/29
30
See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y
8.2.5.2
Start Byte
0XAA
Put Pixel by Front Color
Command
Byte
0x51
Data Bytes
End Byte
X0 MSB
X0 LSB
Y0 MSB
Y0 LSB
X1 MSB
X1 LSB
Y1 MSB
Y1 LSB
~~
Xk MSB
Xk LSB
Yk MSB
Yk LSB
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Description: Put the front color to the point (X0,Y0) , (X1,Y1) ,…(Xk,Yk)
Class: Multi Byte Command
Code: 51hex, 81dec
7
6
5
4
3
2
Put Pixel by Front color
X0 MSB
X0 MSB
Y0 MSB
Y0 MSB
X1 MSB
X1 MSB
Y1 MSB
Y1 MSB
~~
Xk MSB
Xk MSB
Yk MSB
Yk MSB
1
0
Example : Put pixel by front color on (0,0) (1,1) (2,2)
RXD0 Input : AA 51 00 00 00 00 00 01 00 01 00 02 00 02 CC 33 C3 3C
AA: Start Byte
50: command Byte
00 00 00 00 : (X,Y)=(0,0)
00 01 00 01 : (X,Y)=(1,1)
00 02 00 02 : (X,Y)=(2,2)
CC 33 C3 3C: End Byte
Date : 2008/07/29
31
TXD0 Output: None
See also: SET_COLOR , SET_FRONT_COLOR By X,Y
8.2.5.3
Start Byte
Put Pixel and Clear vertical line by specify color
Command
Byte
0x74
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
X MSB
Or add the Delay time
X LSB
YS MSB
YS LSB
YE MSB
YE LSB
Clear Color MSB
Clear Color LSB
Y1 MSB
Y1 LSB
Color(X,Y1) MSB
Color(X,Y1) LSB
Y2 MSB
Y2 LSB
Color(X,Y2) MSB
Color(X,Y2) LSB
~~
Yk MSB
Yk LSB
Color(X,Yk) MSB
Color(X,Yk) LSB
Description: This command is for motion curve application. This command include two
actions.
0XAA
z
z
Draw a vertical line on ( X ,YS ) ( X ,YE) by Clear Color
Put (X,Y1) by Color (X,Y1) , Put (X,Y2) by Color (X,Y2) ……and Put (X,Yk)
by Color (X,Yk).
Class: Multi Byte Command
Code: 74hex, 116 dec
Example :
Clear line (5,0) ( 5,255 ) by Black 0x0000
Put (5, 0) by Red 0xF800
Put (5, 16) by Green 0x07E0
Put (5, 32) by Blue 0x001F
Put (5, 48) by White 0xFFFF
RXD0 Input : AA 74 00 05 00 00 00 FF 00 00 00 00 F8 00 00 10 07 E0 00 20 00 1F 00
30 FF FF CC 33 C3 3C
AA: Start Byte
Date : 2008/07/29
32
74: command Byte
00 05 : X = 5
00 00 : YS= 0
00 FF : YE= 255
00 00 : Clear Color = Black 0x0000
00 00 : Y1 = 0
F8 00 : (X,Y1) color = Red 0xF800
00 10 : Y2 = 16
07 E0 : (X,Y2) color = Green 0x07E0
00 20 : Y3 = 32
00 1F : (X,Y3) color = Blue 0x001F
00 30 : Y4 = 48
00 1F : (X,Y4) color = White 0xFFFF
CC 33 C3 3C: End Byte
TXD0 Output: None
Date : 2008/07/29
33
8.2.6Draw Line Command
8.2.6.1 Draw Front Color Lines by the specify points
Start Byte
0XAA
Command
Byte
0x56
Data Bytes
X0 MSB
X0 LSB
Y0 MSB
Y0 LSB
X1 MSB
X1 LSB
Y1 MSB
Y1 LSB
~~
Xk MSB
Xk LSB
Yk MSB
Yk LSB
Description: Draw the line (X0,Y0) ( X1,Y1) ….(Xk,Yk)
End Byte
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Class: Multi Byte Command
Code: 56hex, 86dec
Example : To draw a triangle by front color . (0,0) (128,64) (128,0) (0,0)
RXD0 Input : AA 56 00 00 00 00 00 80 00 40 00 80 00 00 00 00 00 00 CC 33 C3 3C
AA: Start Byte
56: command Byte
00 00 00 00 : (X,Y)=(0,0)
00 80 00 40 : (X0,Y0)=(128,64)
00 80 00 00 : (X1,Y1)=(128,0)
00 00 00 00 : (X2,Y2)=(0,0)
CC 33 C3 3C: End Byte
TXD0 Output: None
See also: SET_COLOR , SET_FRONT_COLOR By X,Y
Date : 2008/07/29
34
8.2.6.2
Start Byte
0XAA
Draw Background Color Lines by the specify points
Command
Byte
0x5D
Data Bytes
X0 MSB
X0 LSB
Y0 MSB
Y0 LSB
X1 MSB
X1 LSB
Y1 MSB
Y1 LSB
~~
Xk MSB
Xk LSB
Yk MSB
Yk LSB
Description: Draw the line (X0,Y0) ( X1,Y1) ….(Xk,Yk)
End Byte
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Class: Multi Byte Command
Code: 56hex, 86dec
Example : To draw a triangle by background color. (0,0) (128,64) (128,0) (0,0)
RXD0 Input : AA 5D 00 00 00 00 00 80 00 40 00 80 00 00 00 00 00 00 CC 33 C3 3C
AA: Start Byte
56: command Byte
00 00 00 00 : (X,Y)=(0,0)
00 80 00 40 : (X0,Y0)=(128,64)
00 80 00 00 : (X1,Y1)=(128,0)
00 00 00 00 : (X2,Y2)=(0,0)
CC 33 C3 3C: End Byte
TXD0 Output: None
See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y
Date : 2008/07/29
35
8.2.7 Draw Circle Command
8.2.7.1 Draw a Circle by the specified the radius and center
points.
Start Byte
Command
Byte
0x57
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
TYPE
Or add the Delay time
X0 MSB
X0 LSB
Y0 MSB
Y0 LSB
R0
~~
TYPE
Xk MSB
Xk LSB
Yk MSB
Yk LSB
Rk
Description: Draw the Circle by the specify center (X0,Y0) , Radius R0 .
0XAA
Class: Multi Byte Command
Code: 56hex, 86dec
Type : Circle display mode .
Type=0 Reverse the color of the Circle
Type=1 Display the front color to the Circle
Type=2 Reverse the color of the full circle area
Type=3 Display the front color to the full circle area
Example : Reverse the color of the circle which radius = 100 and center (200,250)
RXD0 Input : AA 57 02 00 C8 00 FA 64 CC 33 C3 3C
AA: Start Byte
56: command Byte
00 00 00 00 : (X,Y)=(0,0)
00 80 00 40 : (X0,Y0)=(128,64)
00 80 00 00 : (X1,Y1)=(128,0)
00 00 00 00 : (X2,Y2)=(0,0)
CC 33 C3 3C: End Byte
TXD0 Output: None
See also: SET_COLOR , SET_FRONT_COLOR By X,Y
Date : 2008/07/29
36
8.2.8Draw Rectangle Command
8.2.8.1 Draw a front color Rectangle by the specified the
left-up and right-down points.
Start Byte
Command
Byte
0x59
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
XS0 MSB
Or add the Delay time
XS0 LSB
YS0 MSB
YS0 LSB
XE0 MSB
XE0 LSB
YE0 MSB
YE0 LSB
~~
XSk MSB
XSk LSB
YSk MSB
YSk LSB
XEk MSB
XEk LSB
YEk MSB
YEk LSB
Description: Draw the front color Rectangle by the specify the left-up point (XS0,YS0) ,
Right-Down points(XE0,YE0) .
0XAA
Class: Multi Byte Command
Code: 59hex, 89dec
Example : Draw the two Rectangle. One is the left-up point (64,64) and Right-Down
points(128,128) . The other one is the left-up point (10,10) and Right-Down points
(20,20) .
RXD0 Input : AA 59 00 40 00 40 00 80 00 80 00 0A 00 0A 00 14 00 14 CC 33 C3 3C
AA: Start Byte
59: command Byte
00 40 00 40 : (XS0,YS0)=(64,64)
00 80 00 80 : (XE0,YE0)=(128,64)
00 0A 00 0A : (XS1,YS1)=(10,10)
00 14 00 14 : (XS1,YS1)=(20,20)
CC 33 C3 3C: End Byte
TXD0 Output: None
See also: SET_COLOR , SET_FRONT_COLOR By X,Y
Date : 2008/07/29
37
8.2.8.2 Draw a background color Rectangle by the specified
the left-up and right-down points.
Start Byte
Command
Byte
0x69
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
XS0 MSB
Or add the Delay time
XS0 LSB
YS0 MSB
YS0 LSB
XE0 MSB
XE0 LSB
YE0 MSB
YE0 LSB
~~
XSk MSB
XSk LSB
YSk MSB
YSk LSB
XEk MSB
XEk LSB
YEk MSB
YEk LSB
Description: Draw the background color Rectangle by the specify the left-up point
(XS0,YS0) , Right-Down points(XE0,YE0) .
0XAA
Class: Multi Byte Command
Code: 69hex, 105dec
Example : Draw the two Rectangle. One is the left-up point (64,64) and Right-Down
points(128,128) . The other one is the left-up point (10,10) and Right-Down points
(20,20) .
RXD0 Input : AA 69 00 40 00 40 00 80 00 80 00 0A 00 0A 00 14 00 14 CC 33 C3 3C
AA: Start Byte
69: command Byte
00 40 00 40 : (XS0,YS0)=(64,64)
00 80 00 80 : (XE0,YE0)=(128,64)
00 0A 00 0A : (XS1,YS1)=(10,10)
00 14 00 14 : (XS1,YS1)=(20,20)
CC 33 C3 3C: End Byte
TXD0 Output: None
See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y
Date : 2008/07/29
38
Date : 2008/07/29
39
8.2.9 Full Area Command
8.2.9.1 Clear Screen
Start Byte
0XAA
Command
Byte
0x52
Data Bytes
End Byte
None
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Description: Clear the LCD with the background color.
Class: None Byte Command
Code: 52hex, 82dec
Example : Clear the LCD with the background color.
RXD0 Input : AA 52 CC 33 C3 3C
AA: Start Byte
52: command Byte
CC 33 C3 3C: End Byte
TXD0 Output: None
See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y
Date : 2008/07/29
40
8.2.9.2
Start Byte
Full area with Background color
Command
Byte
0x5A
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
XS0 MSB
Or add the Delay time
XS0 LSB
YS0 MSB
YS0 LSB
XE0 MSB
XE0 LSB
YE0 MSB
YE0 LSB
~~
XSk MSB
XSk LSB
YSk MSB
YSk LSB
XEk MSB
XEk LSB
YEk MSB
YEk LSB
Description: Full the Rectangle with background color by the specify the left-up point
(XS0,YS0) , Right-Down points(XE0,YE0) .
0XAA
Class: Multi Byte Command
Code: 5Ahex, 90dec
Example : Full two Rectangle with background color . One is left-up point (0,0) and
Right-Down points (64,64). The other one is left-up point (160,128) and Right-Down
points (240,160).
RXD0 Input : AA 5A 00 00 00 00 00 40 00 40 00 A0 00 80 00 F0 00 A0 CC 33 C3 3C
AA: Start Byte
5A: command Byte
00 00 00 00 : left-up point (0,0)
00 40 00 40 : Right-down point (64,64)
00 A0 00 80 : left-up point (160,128)
00 F0 00 A0 : Right-down point (240,160)
CC 33 C3 3C: End Byte
TXD0 Output: None
See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y
Date : 2008/07/29
41
8.2.9.3
Start Byte
Full area with Front color
Command
Byte
0x5B
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
XS0 MSB
Or add the Delay time
XS0 LSB
YS0 MSB
YS0 LSB
XE0 MSB
XE0 LSB
YE0 MSB
YE0 LSB
~~
XSk MSB
XSk LSB
YSk MSB
YSk LSB
XEk MSB
XEk LSB
YEk MSB
YEk LSB
Description: Full the Rectangle with front color by the specify the left-up point (XS0,YS0) ,
Right-Down points(XE0,YE0) .
0XAA
Class: Multi Byte Command
Code: 5Bhex, 91dec
Example : Full two Rectangle with front color . One is left-up point (0,0) and
Right-Down points (64,64). The other one is left-up point (160,128) and Right-Down
points (240,160).
RXD0 Input : AA 5B 00 00 00 00 00 40 00 40 00 A0 00 80 00 F0 00 A0 CC 33 C3 3C
AA: Start Byte
5B: command Byte
00 00 00 00 : left-up point (0,0)
00 40 00 40 : Right-down point (64,64)
00 A0 00 80 : left-up point (160,128)
00 F0 00 A0 : Right-down point (240,160)
CC 33 C3 3C: End Byte
TXD0 Output: None
See also: SET_COLOR , SET_FRONT_COLOR By X,Y
Date : 2008/07/29
42
8.2.9.4
Start Byte
Reverse area color
Command
Byte
0x5C
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
XS0 MSB
Or add the Delay time
XS0 LSB
YS0 MSB
YS0 LSB
XE0 MSB
XE0 LSB
YE0 MSB
YE0 LSB
~~
XSk MSB
XSk LSB
YSk MSB
YSk LSB
XEk MSB
XEk LSB
YEk MSB
YEk LSB
Description: Reverse the area color by the specify the left-up point (XS0,YS0) ,
Right-Down points(XE0,YE0) .
0XAA
Class: Multi Byte Command
Code: 5Chex, 92dec
Example : Reverse two areas color. One is left-up point (0,0) and Right-Down points
(64,64). The other one is left-up point (160,128) and Right-Down points (240,160).
RXD0 Input : AA 5C 00 00 00 00 00 40 00 40 00 A0 00 80 00 F0 00 A0 CC 33 C3 3C
AA: Start Byte
5C: command Byte
00 00 00 00 : left-up point (0,0)
00 40 00 40 : Right-down point (64,64)
00 A0 00 80 : left-up point (160,128)
00 F0 00 A0 : Right-down point (240,160)
CC 33 C3 3C: End Byte
TXD0 Output: None
Date : 2008/07/29
43
8.2.10 Move Area Command
8.2.10.1 Move area data to left N pixel by the specified the
left-up and right-down points.
Start Byte
Command
Byte
0x60
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
XS0 MSB
Or add the Delay time
XS0 LSB
YS0 MSB
YS0 LSB
XE0 MSB
XE0 LSB
YE0 MSB
YE0 LSB
N0 ( N <=16)
~~
XSk MSB
XSk LSB
YSk MSB
YSk LSB
XEk MSB
XEk LSB
YEk MSB
YEk LSB
Nk ( N <=16)
Description: Move area data to left N pixel by the specify the left-up point (XS0,YS0) ,
Right-Down points(XE0,YE0) .
0XAA
Class: Multi Byte Command
Code: 60hex, 96dec
Example : Move two areas data to left 16 pixels. One is the left-up point (64,64) and
Right-Down points(128,128) . The other one is the left-up point (16,16) and Right-Down
points (48,48) .
RXD0 Input :
AA 60 00 40 00 40 00 80 00 80 10 00 10 00 10 00 30 00 30 10 CC 33 C3 3C
AA: Start Byte
60: command Byte
00 40 00 40 : (XS0,YS0)=(64,64)
00 80 00 80 : (XE0,YE0)=(128,64)
00 10 00 10 : (XS1,YS1)=(16,16)
00 30 00 30 : (XS1,YS1)=(48,48)
CC 33 C3 3C: End Byte
TXD0 Output: None
Date : 2008/07/29
44
8.2.10.2 Move area data to right N pixel by the specified the
left-up and right-down points.
Start Byte
Command
Byte
0x61
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
XS0 MSB
Or add the Delay time
XS0 LSB
YS0 MSB
YS0 LSB
XE0 MSB
XE0 LSB
YE0 MSB
YE0 LSB
N0 ( N <=16)
~~
XSk MSB
XSk LSB
YSk MSB
YSk LSB
XEk MSB
XEk LSB
YEk MSB
YEk LSB
Nk ( N <=16)
Description: Move area data to right N pixel by the specify the left-up point (XS0,YS0) ,
Right-Down points(XE0,YE0) .
0XAA
Class: Multi Byte Command
Code: 61hex, 97dec
Example : Move two areas data to right 16 pixels. One is the left-up point (64,64) and
Right-Down points(128,128) . The other one is the left-up point (16,16) and Right-Down
points (48,48) .
RXD0 Input :
AA 61 00 40 00 40 00 80 00 80 10 00 10 00 10 00 30 00 30 10 CC 33 C3 3C
AA: Start Byte
61: command Byte
00 40 00 40 : (XS0,YS0)=(64,64)
00 80 00 80 : (XE0,YE0)=(128,64)
00 10 00 10 : (XS1,YS1)=(16,16)
00 30 00 30 : (XS1,YS1)=(48,48)
CC 33 C3 3C: End Byte
TXD0 Output: None
Date : 2008/07/29
45
8.2.10.3 Move area data to left N pixel by the specified the
left-up and right-down points. And full the right N pixel
with background color
Start Byte
Command
Byte
0x62
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
XS0 MSB
Or add the Delay time
XS0 LSB
YS0 MSB
YS0 LSB
XE0 MSB
XE0 LSB
YE0 MSB
YE0 LSB
N0 ( N <=16)
~~
XSk MSB
XSk LSB
YSk MSB
YSk LSB
XEk MSB
XEk LSB
YEk MSB
YEk LSB
Nk ( N <=16)
Description: Move area data to left N pixel by the specify the left-up point (XS0,YS0) ,
Right-Down points(XE0,YE0) . And full the right N pixel with background color.
0XAA
Class: Multi Byte Command
Code: 62hex, 98dec
Example : Move two areas data to left 16 pixels. One is the left-up point (64,64) and
Right-Down points(128,128) . The other one is the left-up point (16,16) and Right-Down
points (48,48) .And full the right side 16 pixels with background color.
RXD0 Input :
AA 62 00 40 00 40 00 80 00 80 10 00 10 00 10 00 30 00 30 10 CC 33 C3 3C
AA: Start Byte
62: command Byte
00 40 00 40 : (XS0,YS0)=(64,64)
00 80 00 80 : (XE0,YE0)=(128,64)
00 10 00 10 : (XS1,YS1)=(16,16)
00 30 00 30 : (XS1,YS1)=(48,48)
CC 33 C3 3C: End Byte
TXD0 Output: None
See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y
Date : 2008/07/29
46
8.2.10.4 Move area data to right N pixel by the specified the
left-up and right-down points. And full the left N pixel
with background color
Start Byte
Command
Byte
0x63
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
XS0 MSB
Or add the Delay time
XS0 LSB
YS0 MSB
YS0 LSB
XE0 MSB
XE0 LSB
YE0 MSB
YE0 LSB
N0 ( N <=16)
~~
XSk MSB
XSk LSB
YSk MSB
YSk LSB
XEk MSB
XEk LSB
YEk MSB
YEk LSB
Nk ( N <=16)
Description: Move area data to right N pixel by the specify the left-up point (XS0,YS0) ,
Right-Down points(XE0,YE0) . And full the left N pixel with background color.
0XAA
Class: Multi Byte Command
Code: 63hex, 99dec
Example : Move two areas data to right 16 pixels. One is the left-up point (64,64) and
Right-Down points(128,128) . The other one is the left-up point (16,16) and Right-Down
points (48,48) .And full the left side 16 pixels with background color.
RXD0 Input :
AA 63 00 40 00 40 00 80 00 80 10 00 10 00 10 00 30 00 30 10 CC 33 C3 3C
AA: Start Byte
63: command Byte
00 40 00 40 : (XS0,YS0)=(64,64)
00 80 00 80 : (XE0,YE0)=(128,64)
00 10 00 10 : (XS1,YS1)=(16,16)
00 30 00 30 : (XS1,YS1)=(48,48)
CC 33 C3 3C: End Byte
TXD0 Output: None
Date : 2008/07/29
47
See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y
8.2.11 Picture Command
8.2.11.1 Show the full picture by specify the PICNUM
Start Byte
Command
Byte
0x70
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Description: The command will show the full picture which save in the picture flash
memory by specify PICNUM.
0XAA
PICNUM
Class: Single Byte Command
Code: 70hex, 112dec
Example : Show the picture which PICNUM=1.
RXD0 Input : AA 70 01 CC 33 C3 3C
AA: Start Byte
70: command Byte
01: PICNUM
CC 33 C3 3C: End Byte
TXD0 Output: None
Date : 2008/07/29
48
8.2.11.2 Show the area of picture in position X,Y by specify
the PICNUM , left-up and right-down points , X and Y.
Start Byte
Command
Byte
0x71
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
PICNUM
Or add the Delay time
XS0 MSB
XS0 LSB
YS0 MSB
YS0 LSB
XE0 MSB
XE0 LSB
YE0 MSB
YE0 LSB
X MSB
X LSB
Y MSB
Y LSB
Description: The command will show the area of the picture which left-up point (XS0,YS0) ,
Right-Down points(XE0,YE0) and PICNU in position X,Y.
0XAA
Class: Multi Byte Command
Code: 71hex, 113dec
Example : Show the area of the picture which PICNUM=2 , left-up point (100,100) ,
Right-Down points(200,200) in the position (0,0).
.
RXD0 Input : AA 71 02 00 64 00 64 00 C8 00 C8 00 00 00 00 CC 33 C3 3C
AA: Start Byte
71: command Byte
02: PICNUM
00 64 00 64: left-up point (100,100)
00 C8 00 C8: right-down point (200,200)
00 00 00 00: Show on position (0,0)
CC 33 C3 3C: End Byte
TXD0 Output: None
Date : 2008/07/29
49
8.2.11.3 Save the screen data to flash memory.
Start Byte
Command
Byte
0xE2
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Description: The command will save all the screen data to flash memory. The picture
address is PICNUM.
0XAA
PICNUM
Class: Single Byte Command
Code: E2hex, 226dec
Example : Save the screen data to PICNUM=2.
RXD0 Input : AA E2 02 CC 33 C3 3C
AA: Start Byte
E2: command Byte
02: save picture address PICNUM
CC 33 C3 3C: End Byte
TXD0 Output: None
Date : 2008/07/29
50
8.2.12 Display RAM Command
8.2.12.1 Write data to the display RAM.
Start Byte
Command
Byte
0x72
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
ADR Bit23~Bit16
Or add the Delay time
ADR Bit15~Bit8
ADR Bit7~Bit0
DATA0
DATA1
~
DATAn ( n<=248)
Description: The user can write the display RAM directly. The address range is
0x00000~0x7FFFF. The width of the data is 16 bits.
Address = Resolution_X * Position_Y+ Position_X.
EX: If the Display Resolution is 640x480. The address of position (80,100) is
640*100+80=64080(dec) = 0x0FA50(hex)
0XAA
Class: Multi Byte Command
Code: 72hex, 114dec
Example : Write the Red(0xf800) color to the position (80,100) , Green (0x07E0) color to
the position (81,100)
RXD0 Input :
AA 72 00 FA 50 F8 00 07 E0 CC 33 C3 3C
AA: Start Byte
72: command Byte
00 FA 50 : Display RAM Address.
F8 00 : Red data
07 E0 : Green data
CC 33 C3 3C: End Byte
TXD0 Output: None
Date : 2008/07/29
51
8.2.13 IO control Command
8.2.13.1 SET I/O1 to Low
Start Byte
Command
Byte
0x5E
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Description: The user can set the I/O1 to Low by the command. When I/O1 connect to
LED backlight driving circuit , the B/L will turn OFF.
0XAA
None
Class: Single Byte Command
Code: 5Eex, 94dec
Example : Set I/O1=Low
RXD0 Input : AA 5E CC 33 C3 3C
AA: Start Byte
5E: command Byte
CC 33 C3 3C: End Byte
TXD0 Output: None
8.2.13.2 Back-light Dimming control I/O1
Start Byte
Command
Byte
0x5F
Data Bytes
End Byte
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Description: The LED Back-light dimming circuit connect to the I/O1. The
PWM_DUTY(0x00~0x40) can be selected the brightness of the LED Back-light.
0XAA
PWM_DUTY (0x00-0x40)
Class: Multi Byte Command
Code: 5Fex, 94dec
Example : Set the LED brightness = 75%
Date : 2008/07/29
52
RXD0 Input : AA 5F 30 CC 33 C3 3C
AA: Start Byte
5F: command Byte
30: PWM_DUTY
CC 33 C3 3C: End Byte
TXD0 Output: None
8.2.14 Touch Panel Command
8.2.14.1 Touch Panel Calibration
Start Byte
0XAA
Command
Byte
0xE4
Data Bytes
End Byte
55 AA 5A A5
0xCC 0x33 0xC3 0x3C
Or add the Delay time
Description: Touch Panel calibration command.
Class: Multi Byte Command
Code: E4ex, 228dec
Example : Set I/O1=Low
RXD0 Input : AA E4 55 AA 5A A5 CC 33 C3 3C
AA: Start Byte
E4: command Byte
55 AA 5A A5 : Data byte ( Fixed )
CC 33 C3 3C: End Byte
TXD0 Output: None
Date : 2008/07/29
53
Control Touch Panel flow chart:
Step 1: RXD0 Input : AA E4 55 AA 5A A5 CC 33 C3 3C
Step 2: The LCD will show the following message. Please touch the LCD(0,0) LCD
Left_Top point.
Step 3: The LCD will show the following message. Please touch the LCD(Max_X,0)
LCD Right_Top point.
Step 4: The LCD will show the following message. Please touch the LCD(Max_X,MaxY)
LCD Right_Bottom point.
Step 5:
After Touch Panel calibration command, the Touch panel position will be sent out by
UART TXD0 pin. The Data Format :
Date : 2008/07/29
54
Start Byte
0XAA
Command
Byte
0x73
Data Bytes
End Byte
Press_LCD_TP_X
Press_LCD_TP_Y
0xCC 0x33 0xC3 0x3C
Example : If the user press the Position LCD_TP(128,64)
TXD0 Output: 0xAA 0x73 00 80 00 40 CC 33 C3 3C
Start Byte
0XAA
Command
Byte
0x72
Data Bytes
End Byte
Release_LCD_TP_X
Release_LCD_TP_Y
0xCC 0x33 0xC3 0x3C
Example : If the user press the Position LCD_TP(128,64) ,then move to LCD_TP (128,65)
and release on LCD_TP(128,66)
TXD0 Output:
0xAA 0x73 00 80 00 40 CC 33 C3 3C
0xAA 0x73 00 80 00 41 CC 33 C3 3C
0xAA 0x72 00 80 00 42 CC 33 C3 3C
Note : The touch panel can not work on USB mode.
Date : 2008/07/29
55
9 INCOMING INSPECTION STANDARD FOR
DEFECT TYPE
TFT-LCD PANEL
Note
LIMIT
φ<0.15mm
SPOT
FIBER
VISUAL
DEFECT
INTERNAL
POLARIZER
BUBBLE
Mura
0.15mm≦φ≦0.5mm
0.5mm<φ
0.03mm<W≦0.1mm, L≦
5mm
1.0mm<W, 1.5mm<L
φ<0.15mm
0.15mm≦φ≦0.5mm
0.5mm<φ
DARK DOT
ELECTRICAL
DEFECT
N=0
N≦3
N=0
Ignore
N≦2
N=0
Note1
Note1
B Grade
C Area O Area
Total
C Area O Area
Total
Note3
N≦0
N≦2
N≦2
N≦2
N≦3
N≦5
Note2
N≦2
N≦3
N≦3
N≦3
N≦5
N≦8
N≦5
N≦6
N≦8
Note2
N≦1
pair
N≦1
pair
N≦1
pair
Note4
N≦4
TOTAL DOT
TWO ADJACENT DOT
Note1
It’ OK if mura is slight visible through
6%ND filter
A Grade
BRIGHT DOT
Ignore
N≦4
N≦0
N≦1
pair
N≦1
pair
THREE OR MORE
NOT ALLOWED
ADJACENT DOT
LINE DEFECT
NOT ALLOWED
(1) One pixel consists of 3 sub-pixels, including R,G, and B dot.(Sub-pixel = Dot)
(2) LITTLE BRIGHT DOT ACCEPTITABLE UNDER 6 % ND-Filter
[Note1] W : Width[mm], L : Length[mm], N : Number, φ: Average Diameter
[Note2] Bright dot is defined through 6% transmission ND Filter as following.
Date : 2008/07/29
56
[Note3]
C Area: Center of display area
C Area: Outer of display area
[Note4]
Judge defect dot and adjacent dot as following. Allow below (as A, B, C and D status)
adjacent defect dots, including bright and dart adjacent dot. And they will be counted 2
defect dots in total quantity.
(1) The defects that are not defined above and considered to be problem shall be reviewed
and discussed by both parties.
(2) Defects on the Black Matrix, out of Display area, are not considered as a defect or
counted.
Date : 2008/07/29
57
10 RELIABILITY TEST CONDITIONS
ITEM
HIGH TEMPERATURE OPERATION
CONDITIONS
70℃ , 240Hrs
HIGH TEMPERATURE AND HIGH
HUMIDITY OPERATION
60℃ , 90%RH , 240Hrs
HIGH TEMPERATURE STORAGE
80℃ , 240Hrs
LOW TEMPERATURE OPERATION
-20℃ , 240Hrs
LOW TEMPERATURE STORAGE
-30℃ , 240Hrs
THERMAL SHOCK
-30℃(0.5Hr) ~80℃(0.5Hr)
200Cycle
11 OTHERS
AMIPRE will provide one year warranty for all products and three months
warrantee for all repairing products.
Date : 2008/07/29
58
晶采 光 電 科技
12 OUTLINE DIMENSION
Date : 2008/07/29
59
晶采 光 電 科技
Date : 2008/07/29
60