Am 640480G2TNQW Tu0h A - DS - 001
Am 640480G2TNQW Tu0h A - DS - 001
SPECIFICATIONS FOR
LCD MODULE
CUSTOMER
DATE
Approved For Specifications
Approved For Specifications & Sample
AMPIRE CO., LTD.
4F., No.114, Sec. 1, Xintai 5th Rd., Xizhi Dist., New Taipei City
221,Taiwan (R.O.C.)
新北市汐止區新台五路一段 114 號 4 樓(東方科學園區 A 棟)
Date : 2011/9/2 1
RECORD OF REVISION
Revision Date Page Contents Editor
2008/07/29 -- New Release Kokai
2008/9/8 1. Add Touch Panel command & Control Touch Kokai
Panel flow chart
2. Add Back-light dimming control command
3. Add Jumper setting
Date : 2011/9/2 2
Index
1 INTRODUCTION ................................................................................................................................. 6
2 APPLICATION DIAGRAM................................................................................................................. 6
5 OPTICAL SPECIFICATION............................................................................................................. 10
7 INTERFACE SPECIFICATIONS..................................................................................................... 13
Date : 2011/9/2 3
8.2.5.1 Put Pixel by Background Color ................................................................................................... 29
8.2.5.3 Put Pixel and Clear vertical line by specify color ........................................................................ 31
8.2.8.2 Draw a background color Rectangle by the specified the left-up and right-down points............. 37
8.2.10.2 Move area data to right N pixel by the specified the left-up and right-down points. ................... 44
8.2.10.3 Move area data to left N pixel by the specified the left-up and right-down points. And full the
8.2.10.4 Move area data to right N pixel by the specified the left-up and right-down points. And full the
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. 48
Date : 2011/9/2 4
11 OTHERS ............................................................................................................................................. 57
Date : 2011/9/2 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 : 2011/9/2 6
3 Physical Specifications
4 Electrical Specification
Date : 2011/9/2 7
4.2 Electrical characteristics
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.
Note3: Black pattern, Vin = 5.0V, Ta=25℃
GPU -- 80 -- MHz
Date : 2011/9/2 8
UART Buffer 32 KB
CLOCK_H 10 25 33 MHz
CLOCK_L 1 5 10 MHz
0.2
VOL(IOL=100uA) -- -- V
LCD VLCD
Interface
IO -20 +20 mA
ESD(HBM) 2 KV
Date : 2011/9/2 9
5 Optical Specification
Date : 2011/9/2 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%
Date : 2011/9/2 11
6 Block Diagram
Date : 2011/9/2 12
7 Interface specifications
8 Pins Pitch 2.5 connector
PIN Name I/ODescription Remark
1 Vin P Power input pin for the module (4.6~26V)
2 Vin P Power input pin for the module (4.6~26V)
3 /BUSY O 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 : 2011/9/2 13
8 Software Command SET
Date : 2011/9/2 14
8.2 Command SET ( Hex mode)
(0,0)
X
Vin
TXD
RXD
GND
TFT
Y
Baudrate_Set:
Baudrate_Set Baudrate (bps) Relative Delay Time
0x00 1200 12.5mS
0x01 2400 6.25mS
0X02 4800 3mS
0X03 9600 3mS
0X04 19200 2mS
0X05 38400 2mS
0X06 57600 1mS
0X07 115200 1mS
Date : 2011/9/2 15
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
Date : 2011/9/2 16
8.2.3 Display Mode Setting
8.2.3.1 SET_COLOR
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x40 Front Color MSB 0xCC 0x33 0xC3 0x3C
Front Color LSB Or add the Delay time
BK Color MSB
BK Color MSB
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 5 4 3 2 1 0
SET_COLOR 0x40
FC R4 FC R3 FC R2 FC R1 FC R0 FC G5 FC G4 FC G3
FC G2 FC G1 FC G0 FC B4 FC B3 FC B2 FC B1 FC B0
BKC R4 BKC R3 BKC R2 BKC R1 BKC R0 BKC G5 BKC G4 BKC G3
BKC G2 BKC G1 BKC G0 BKC B4 BKC B3 BKC B2 BKC B1 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 : 2011/9/2 17
8.2.3.2 SET_FONT_PITCH
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x41 PITCH_X 0xCC 0x33 0xC3 0x3C
PITCH_Y 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 1 0
SET_FONT_PITCH 0x41
PITCH_X
PITCH_Y
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 1 0
SET_BACKGROUND_COLOR By X,Y 0x42
X_MSB
X_LSB
Y_MSB
Y_LSB
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 : 2011/9/2 18
8.2.3.4 SET_FRONT_COLOR By X,Y
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x43 X MSB 0xCC 0x33 0xC3 0x3C
X LSB Or add the Delay time
Y MSB
Y MSB
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 1 0
SET_FRONT_COLOR By X,Y 0x42
X_MSB
X_LSB
Y_MSB
Y_LSB
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 : 2011/9/2 19
8.2.3.5 SET_CURSOR_MODE
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x44 Mode 0xCC 0x33 0xC3 0x3C
X MSB Or add the Delay time
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)
Class: Multi Byte Command
Code: 44hex, 68dec
7 6 5 4 3 2 1 0
SET_CURSOR_MODE 0x44
Mode
X MSB
X MSB
Y MSB
Y MSB
Cursor Wide
Cursor High
Date : 2011/9/2 20
8.2.4 Text Display Command
8.2.4.1 PRINT_STRING_8x8 (Standard Font)
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x53 X MSB 0xCC 0x33 0xC3 0x3C
X LSB Or add the Delay time
Y MSB
Y LSB
“String”
Description: Prints String. starting at (X,Y) Position
Class: Multi Byte Command
Code: 53hex, 83dec
7 6 5 4 3 2 1 0
PRINT_STRING_8x8 0x53
X MSB
X MSB
Y MSB
Y MSB
ASCII
ASCII
~
ASCII
ASCII
Date : 2011/9/2 21
8.2.4.2 PRINT_STRING_16x16 (Standard Font)
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x54 X MSB 0xCC 0x33 0xC3 0x3C
X LSB Or add the Delay time
Y MSB
Y LSB
“String”
Description: Prints String. start at (X,Y) Position
Class: Multi Byte Command
Code: 54hex, 84dec
7 6 5 4 3 2 1 0
PRINT_STRING _16x16 0x54
X MSB
X MSB
Y MSB
Y MSB
ASCII
ASCII
~
ASCII
ASCII
Date : 2011/9/2 22
8.2.4.3 PRINT_STRING_32x32 (Standard Font)
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x55 X MSB 0xCC 0x33 0xC3 0x3C
X LSB Or add the Delay time
Y MSB
Y LSB
“String”
Description: Prints String. starting at (X,Y) Position (Support GBK3212 FONT code)
Class: Multi Byte Command
Code: 55hex, 85dec
7 6 5 4 3 2 1 0
PRINT_STRING _32x32 0x55
X MSB
X MSB
Y MSB
Y MSB
ASCII
ASCII
~
ASCII
ASCII
Date : 2011/9/2 23
8.2.4.4 PRINT_STRING_12x12(Standard Font)
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x6E X MSB 0xCC 0x33 0xC3 0x3C
X LSB Or add the Delay time
Y MSB
Y LSB
“String”
Description: Prints String. starting at (X,Y) Position
Class: Multi Byte Command
Code: 6Ehex, 110dec
7 6 5 4 3 2 1 0
PRINT_STRING _12x12 0x6E
X MSB
X MSB
Y MSB
Y MSB
ASCII
ASCII
~
ASCII
ASCII
Date : 2011/9/2 24
8.2.4.5 PRINT_STRING_24x24 (Standard Font)
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x6F X MSB 0xCC 0x33 0xC3 0x3C
X LSB Or add the Delay time
Y MSB
Y LSB
“String”
Description: Prints String. starting at (X,Y) Position
Class: Multi Byte Command
Code: 6Fhex, 111dec
7 6 5 4 3 2 1 0
PRINT_STRING _24x24 0x6F
X MSB
X MSB
Y MSB
Y MSB
ASCII
ASCII
~
ASCII
ASCII
Date : 2011/9/2 25
8.2.4.6 PRINT_STRING (Custom Font Library)
Date : 2011/9/2 26
C_dots:The display font size. (See the detail information: Custom Font Definition)
C_Mode (Bit3~Bit0)
C_dots
1 , 2 , 3, 4
0 or 5
ASCII Chinese/Korea/Japan
0x00 8x8 6x12 12x12
0x01 6x12 8x16 16x16
0x02 8x16 12x24 24x24
0x03 12x24 16x32 32x32
0x04 16x32 20x40 40x40
0x05 20x40 24x48 48x48
0x06 24x48 28x56 56x56
0x07 28x58 32x64 64x64
0x08 32x64
0x09 12x12
0x0A 16x16
0x0B 24x24
0x0C 32x32
0x0D 40x40
0x0E 48x48
0x0F 56x56
0x10 64x64
0x11 40x80
0x12 48x96
0x13 56x112
0x14 64x128
0x15 80x80
0x16 96x96
0x17 112x112
0x18 128x128
7 6 5 4 3 2 1 0
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
Date : 2011/9/2 27
Font code
Date : 2011/9/2 28
8.2.5 Put pixel Command
8.2.5.1 Put Pixel by Background Color
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x50 X0 MSB 0xCC 0x33 0xC3 0x3C
X0 LSB Or add the Delay time
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)
Class: Multi Byte Command
Code: 50hex, 80dec
7 6 5 4 3 2 1 0
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)
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 : 2011/9/2 29
See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y
8.2.5.2 Put Pixel by Front Color
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x51 X0 MSB 0xCC 0x33 0xC3 0x3C
X0 LSB Or add the Delay time
Y0 MSB
Y0 LSB
X1 MSB
X1 LSB
Y1 MSB
Y1 LSB
~~
Xk MSB
Xk LSB
Yk MSB
Yk LSB
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 1 0
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
Date : 2011/9/2 30
TXD0 Output: None
See also: SET_COLOR , SET_FRONT_COLOR By X,Y
8.2.5.3 Put Pixel and Clear vertical line by specify color
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x74 X MSB 0xCC 0x33 0xC3 0x3C
X LSB Or add the Delay time
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.
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 : 2011/9/2 31
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 : 2011/9/2 32
8.2.6Draw Line Command
8.2.6.1 Draw Front Color Lines by the specify points
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x56 X0 MSB 0xCC 0x33 0xC3 0x3C
X0 LSB Or add the Delay time
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)
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 : 2011/9/2 33
8.2.6.2 Draw Background Color Lines by the specify points
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x5D X0 MSB 0xCC 0x33 0xC3 0x3C
X0 LSB Or add the Delay time
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)
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 : 2011/9/2 34
8.2.7 Draw Circle Command
8.2.7.1 Draw a Circle by the specified the radius and center
points.
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x57 TYPE 0xCC 0x33 0xC3 0x3C
X0 MSB Or add the Delay time
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 .
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 : 2011/9/2 35
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 Data Bytes End Byte
Byte
0XAA 0x59 XS0 MSB 0xCC 0x33 0xC3 0x3C
XS0 LSB Or add the Delay time
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) .
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 : 2011/9/2 36
8.2.8.2 Draw a background color Rectangle by the specified
the left-up and right-down points.
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x69 XS0 MSB 0xCC 0x33 0xC3 0x3C
XS0 LSB Or add the Delay time
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) .
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 : 2011/9/2 37
Date : 2011/9/2 38
8.2.9 Full Area Command
8.2.9.1 Clear Screen
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x52 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
Date : 2011/9/2 39
8.2.9.2 Full area with Background color
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x5A XS0 MSB 0xCC 0x33 0xC3 0x3C
XS0 LSB Or add the Delay time
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) .
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 : 2011/9/2 40
8.2.9.3 Full area with Front color
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x5B XS0 MSB 0xCC 0x33 0xC3 0x3C
XS0 LSB Or add the Delay time
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) .
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 : 2011/9/2 41
8.2.9.4 Reverse area color
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x5C XS0 MSB 0xCC 0x33 0xC3 0x3C
XS0 LSB Or add the Delay time
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) .
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 : 2011/9/2 42
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 Data Bytes End Byte
Byte
0XAA 0x60 XS0 MSB 0xCC 0x33 0xC3 0x3C
XS0 LSB Or add the Delay time
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) .
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 : 2011/9/2 43
8.2.10.2 Move area data to right N pixel by the specified the
left-up and right-down points.
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x61 XS0 MSB 0xCC 0x33 0xC3 0x3C
XS0 LSB Or add the Delay time
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) .
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 : 2011/9/2 44
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 Data Bytes End Byte
Byte
0XAA 0x62 XS0 MSB 0xCC 0x33 0xC3 0x3C
XS0 LSB Or add the Delay time
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.
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 : 2011/9/2 45
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 Data Bytes End Byte
Byte
0XAA 0x63 XS0 MSB 0xCC 0x33 0xC3 0x3C
XS0 LSB Or add the Delay time
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.
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 : 2011/9/2 46
See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y
Date : 2011/9/2 47
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 Data Bytes End Byte
Byte
0XAA 0x71 PICNUM 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
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.
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 : 2011/9/2 48
8.2.11.3 Save the screen data to flash memory.
Start Byte Command Data Bytes End Byte
Byte
0XAA 0xE2 PICNUM 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.
Class: Single Byte Command
Code: E2hex, 226dec
Date : 2011/9/2 49
8.2.12 Display RAM Command
8.2.12.1 Write data to the display RAM.
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x72 ADR Bit23~Bit16 0xCC 0x33 0xC3 0x3C
ADR Bit15~Bit8 Or add the Delay time
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)
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 : 2011/9/2 50
8.2.13 IO control Command
8.2.13.1 SET I/O1 to Low
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x5E None 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.
Class: Single Byte Command
Code: 5Eex, 94dec
400Hz
H
BL OFF
L AA 5F 00 CC 33 C3 3C
H
BL 50% Brightness
L AA 5F 20 CC 33 C3 3C
H
BL 75% Brightness
L AA 5F 30 CC 33 C3 3C
H
BL 100% Brightness
L AA 5F 40 CC 33 C3 3C
Date : 2011/9/2 51
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
Date : 2011/9/2 52
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 : 2011/9/2 53
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x73 Press_LCD_TP_X 0xCC 0x33 0xC3 0x3C
Press_LCD_TP_Y
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
Date : 2011/9/2 54
9 INCOMING INSPECTION STANDARD FOR TFT-LCD PANEL
Note
DEFECT TYPE LIMIT
φ<0.15mm Ignore
SPOT 0.15mm≦φ≦0.5mm N≦4 Note1
0.5mm<φ N=0
0.03mm<W≦0.1mm, L≦
N≦3
FIBER 5mm Note1
VISUAL
INTERNAL 1.0mm<W, 1.5mm<L N=0
DEFECT
φ<0.15mm Ignore
POLARIZER
0.15mm≦φ≦0.5mm N≦2 Note1
BUBBLE
0.5mm<φ N=0
It’ OK if mura is slight visible through
Mura
6%ND filter
A Grade B Grade
BRIGHT DOT C Area O Area Total C Area O Area Total Note3
N≦0 N≦2 N≦2 N≦2 N≦3 N≦5 Note2
(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
Date : 2011/9/2 55
[Note3]
(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 : 2011/9/2 56
10 RELIABILITY TEST CONDITIONS
ITEM CONDITIONS
-30℃(0.5Hr) ~80℃(0.5Hr)
THERMAL SHOCK
200Cycle
11 OTHERS
AMIPRE will provide one year warranty for all products and three months
warrantee for all repairing products.
Date : 2011/9/2 57
12 OUTLINE DIMENSION
Date : 2011/9/2 58
Date : 2011/9/2 59