0% found this document useful (0 votes)
9 views59 pages

Am 640480G2TNQW Tu0h A - DS - 001

The document provides specifications for the AMPIRE AM-640480G2TNQW LCD module, detailing its physical, electrical, and optical characteristics. It includes information on the module's resolution, dimensions, power requirements, and command sets for interfacing. Additionally, it outlines revisions and approvals related to the specifications, ensuring comprehensive guidance for users and manufacturers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views59 pages

Am 640480G2TNQW Tu0h A - DS - 001

The document provides specifications for the AMPIRE AM-640480G2TNQW LCD module, detailing its physical, electrical, and optical characteristics. It includes information on the module's resolution, dimensions, power requirements, and command sets for interfacing. Additionally, it outlines revisions and approvals related to the specifications, ensuring comprehensive guidance for users and manufacturers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 59

晶采光電科技股份有限公司

AMPIRE CO., LTD

SPECIFICATIONS FOR
LCD MODULE

CUSTOMER

CUSTOMER PART NO.

AMPIRE PART NO. AM-640480G2TNQW


-TU0H-A
APPROVED BY

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 棟)

APPROVED BY CHECKED BY ORGANIZED BY

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

2009/12/11 -- Change to use new Touch Panel Edward


Rename to new P/N : AM-640480G2TNQW-TU0H-A

2010/8/17 10 Add life time Patrick

2011/1/18 13 Correct the connector pitch Patrick


2011/8/26 Add maximum current consumption Kokai
2011/9/2 7 Redefine Power Voltage Symbol Rober
8 Redefine Power Supply Current

Date : 2011/9/2 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 ........................................................................................................................... 12

7 INTERFACE SPECIFICATIONS..................................................................................................... 13

8 SOFTWARE COMMAND SET........................................................................................................ 14

8.1 BASIC AGREEMENT .................................................................................................................... 14


8.1.1 UART default Parameters...................................................................................................... 14
8.1.2 Serial port data frame structure ( Hex mode) ........................................................................ 14
8.2 COMMAND SET ( HEX MODE) ................................................................................................... 15
8.2.1 Configuration Command ....................................................................................................... 15
8.2.2 Hand Shake Command........................................................................................................... 16
8.2.3 Display Mode Setting............................................................................................................. 17
8.2.3.1 SET_COLOR .............................................................................................................................. 17

8.2.3.2 SET_FONT_PITCH .................................................................................................................... 18

8.2.3.3 SET_BACKGROUND_COLOR By X,Y ................................................................................... 18

8.2.3.4 SET_FRONT_COLOR By X,Y .................................................................................................. 19

8.2.3.5 SET_CURSOR_MODE .............................................................................................................. 20

8.2.4 Text Display Command .......................................................................................................... 21


8.2.4.1 PRINT_STRING_8x8 (Standard Font)........................................................................................ 21

8.2.4.2 PRINT_STRING_16x16 (Standard Font).................................................................................... 22

8.2.4.3 PRINT_STRING_32x32 (Standard Font).................................................................................... 23

8.2.4.4 PRINT_STRING_12x12(Standard Font)..................................................................................... 24

8.2.4.5 PRINT_STRING_24x24 (Standard Font).................................................................................... 25

8.2.4.6 PRINT_STRING (Custom Font Library) .................................................................................... 26

8.2.5 Put pixel Command................................................................................................................ 29

Date : 2011/9/2 3
8.2.5.1 Put Pixel by Background Color ................................................................................................... 29

8.2.5.2 Put Pixel by Front Color .............................................................................................................. 30

8.2.5.3 Put Pixel and Clear vertical line by specify color ........................................................................ 31

8.2.6 Draw Line Command............................................................................................................. 33


8.2.6.1 Draw Front Color Lines by the specify points ............................................................................. 33

8.2.6.2 Draw Background Color Lines by the specify points .................................................................. 34

8.2.7 Draw Circle Command .......................................................................................................... 35


8.2.7.1 Draw a Circle by the specified the radius and center points. ....................................................... 35

8.2.8 Draw Rectangle Command .................................................................................................... 36


8.2.8.1 Draw a front color Rectangle by the specified the left-up and right-down points........................ 36

8.2.8.2 Draw a background color Rectangle by the specified the left-up and right-down points............. 37

8.2.9 Full Area Command............................................................................................................... 39


8.2.9.1 Clear Screen................................................................................................................................. 39

8.2.9.2 Full area with Background color.................................................................................................. 40

8.2.9.3 Full area with Front color ............................................................................................................ 41

8.2.9.4 Reverse area color ....................................................................................................................... 42

8.2.10 Move Area Command........................................................................................................ 43


8.2.10.1 Move area data to left N pixel by the specified the left-up and right-down points. ..................... 43

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

right N pixel with background color ................................................................................................................. 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 ................................................................................................................... 46

8.2.11 Picture Command.............................................................................................................. 47


8.2.11.1 Show the full picture by specify the PICNUM ............................................................................ 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. 48

8.2.11.3 Save the screen data to flash memory. ......................................................................................... 49

8.2.12 Display RAM Command.................................................................................................... 50


8.2.12.1 Write data to the display RAM. ................................................................................................... 50

8.2.13 IO control Command......................................................................................................... 51


8.2.13.1 SET I/O1 to Low ......................................................................................................................... 51

8.2.13.2 Back-light Dimming control I/O1................................................................................................ 51

8.2.14 Touch Panel Command ..................................................................................................... 52


8.2.14.1 Touch Panel Calibration............................................................................................................... 52

9 INCOMING INSPECTION STANDARD FOR TFT-LCD PANEL............................................. 55

10 RELIABILITY TEST CONDITIONS................................................................................................ 57

Date : 2011/9/2 4
11 OTHERS ............................................................................................................................................. 57

12 OUTLINE DIMENSION .................................................................................................................... 58

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

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) mm
Surface treatment Antiglare , Hard-Coating(3H)
Brightness 500 cd/m2
Contrast ratio 250 : 1
Backlight unit LED
Display color 65K colors
Viewing Direction 12 o’clock (Gray Inversion)
Display Mode Normally White

4 Electrical Specification

4.1 Absolute max. ratings

4.1.1 Electrical Absolute max. ratings


Item Symbol Condition Min. Max. Unit Remark
Power voltage (Vin) GND=0 -0.3 30.0 V
Input voltege -0.3 3.6 V Note 1
Note1:RXD,TXD

4.1.2 Environmental Absolute max. ratings


OPERATING STORAGE
Item Remark
MIN MAX MIN MAX

Temperature -20 70 -30 80

Corrosive Gas Not Acceptable Not Acceptable

Note1 : Ta <= 40℃ : 85% RH max


Ta > 40℃ : Absolute humidity must be lower than the humidity of
85%RH at 40℃

Date : 2011/9/2 7
4.2 Electrical characteristics

4.2.1 DC Electrical characteristic


Typical operating conditions (GND=0V)
Item Symbol Min. Typ. Max. Unit Remark

Power supply Vin 4.6 -- 26.0 V

Input Voltage H Level VIH 0.7 VDD - VDD V


Note 1
for logic
L Level VIL 0 - 0.3 VDD V

Power Supply current


IVin 480 580 mA
Vin =5.0V

Power Supply current


Ivin 250 350 mA
Vin =12.0V

Power Supply current IDD -- 525 -- mA Note 2

Power consumption P 2.5 W Note 3

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℃

Item Min. Typ. Max. Unit Remark

GPU -- 80 -- MHz

CPU -- 100 -- MHz


Processor
performance L1 Cache
512 Bytes
( 8nS Register)
L2 Cache
8 KB
( 10nS SRAM)

Item Min. Typ. Max. Unit Remark

Date : 2011/9/2 8
UART Buffer 32 KB

Display Buffer 1024 KB

Flash Memory: 128 MB


Storage
Flash Memory: Font 32 MB

Flash Memory: Picture 64 94 MB

Flash Memory: User


0 32 MB
Data
COM1 (3.3V CMOS)
1200 115200 bps
User interface
Uart Speed
COM2 (3.3V CMOS)
-- 115200 -- bps
Function expand

CLOCK_H 10 25 33 MHz

CLOCK_L 1 5 10 MHz

VOH (IOH=-100uA) 0.9VLCD -- -- V

0.2
VOL(IOL=100uA) -- -- V
LCD VLCD
Interface
IO -20 +20 mA

Resolution 640*480 800*600 Dots

Color mode 16 bit, R5G6B5

ESD(HBM) 2 KV

Date : 2011/9/2 9
5 Optical Specification

Item Symbol Condition Min. Typ. Max. Unit Note


Contrast ratio CR 200 250 -- -- (1)(2)(3)
Luminance Lw 350 500 - cd/m2 (1)(3)
Point - 5
Luminance Uniformity ΔL Θ=Φ=0° 70 75 - % (1)(3)
Response Time
Tr +Tf -- 50 -- ms (1)(3)(5)
( White – Black )

Viewing Vertical Θ CR≧10 80 100 -


Deg. (1)(2)(4)
Angle Horizontal Φ Point – 5 120 140 -
Rx 0.566 0.616 0.666
Red
Ry 0.302 0.352 0.402
Gx 0.308 0.358 0.408
Green
Color Gy Point - 5 0.518 0.568 0.618
-- (1)(3)
chromaticity Bx Θ=Φ=0° 0.096 0.146 0.196
Blue
By 0.086 0.136 0.186
Wx 0.296 0.346 0.396
White
Wy 0.328 0.378 0.428
Life time 25℃ 30,000 Hr (6)
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 : 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%

(4) Definition of Viewing Angle(Θ,Φ), refer to Fig9-2 as below :

(5) Definition of Response Time.(White – Black)

(6) By estimation. Luminance decreases to 50% of the min. value.

Date : 2011/9/2 11
6 Block Diagram

5.7" TFT Panel LED Back-light


640x480

Source driver /T-Com/Gate driver LED Driver

RGB interface LCD


3.3V
Power

NAND 3.3V Power


Display
Flash CPU/GPU Circuit
RAM
(128MB)

RXD / TXD Vin GND


6.1 Jumper Setting :
Jumper Setting
Operation mode Remark
RA1 or RA5 RA2or RA6 RA3or RA4
UART Mode Short OPEN OPEN 1200~115200 can be selected
Touch Panel Workable
RS232 Mode OPEN Short OPEN 1200~115200 can be selected
Touch Panel Workable
USB Mode OPEN OPEN Short BPS: 921600 is fixed
Touch Panel can not work
Note : The on board USB connector is USB B type

CP2102 USB to UART driver.rar


USB driver CP2102 :

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

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 Command Data Pack End Characters


Character
Length(Byte) 1 1 0-249 4
0XAA One Byte Relative Data 0xCC 0x33 0xC3 0x3C
(see command (max 249 Or add the Delay time
Set) bytes)

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 14
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 Command Data Bytes End Byte


Byte
0XAA 0xE0 0x55 0xAA 0x5A 0xA5 0xCC 0x33 0xC3 0x3C
+TFT_ID+ Baudrate_Set Or add the Delay time
+0x00

Description: Set the TFT _ ID, UART Baudrate,


Class: Multi Byte Command
Code: E0hex, 224dec
TFT _ ID:
TFT_ID Resolution Mode Picture Remark
0x04 800x480 SYNC 128 AM800480E
0x08 480x272 SYNC 255 AM480272C/D
0x0A / 0x01 640x480 SYNC 153 AM640480G2
0x0B 320x240 SYNC 153 AM320240N/N1

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

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 Command Data Bytes End Byte


Byte
0XAA 0x00 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 : 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

Example : Set PCITH_X=1,PITCHY=2.


RXD0 Input : AA 41 01 02
TXD0 Output: None

8.2.3.3 SET_BACKGROUND_COLOR By X,Y


Start Byte Command Data Bytes End Byte
Byte
0XAA 0x42 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 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

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 : 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

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 : 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

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 : 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

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 : 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

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 : 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

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 : 2011/9/2 25
8.2.4.6 PRINT_STRING (Custom Font Library)

Start Byte Command Data Bytes End Byte


Byte
0XAA 0x98 X MSB 0xCC 0x33 0xC3 0x3C
X LSB Or add the Delay time
Y MSB
Y LSB
Lib_ID
C_mode
C_dots
Color
Bcolor
“String”
Description: Prints String custom font starting at (X,Y) Position
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 Size Description Default
0x00~0x1F 128KB There are 32 areas for small font 0x00=ASCII standard
library which size is 128KB. The font library, please don’t
user can download different style modify it.
for ASCII code or small ICON 0x01~0x1F: Free
0x20~0x3B 1MB There are 28 areas for large font 0x20=12x12 GBK
library which size is 1MB. 0x21=16x16 GBK
 Single area can be set as 0x22=24x24 GB2312
12x12 or 16x16 (GBK encode) 0x23=32x32 GB2312
 The area can be combined for 0x24~0x3B : Free
supper large font library.

C_Mode:The mode of the character font:


Bit No Bit7~Bit4 Bit3~Bit0
Definition Display mode Lib_Type(0x00~0x0F)
Description Bit7=1: Front color is displayed Lib_Type define the encoding
Bit7=0: Front color is not displayed systems of the font :
Bit6=1: Back ground color is displayed 0= 8bit
Bit6=0: Back ground color is not displayed 1=GB2312
Bit5 , Bit4 : don’t care 2=GBK or HANGUL
3=BIG5
4=SJIS
5=UNICODE
6-F: undefined

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

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 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

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 : 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

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 : 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

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 : 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) .

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 : 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) .

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 : 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) .

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 : 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

8.2.11 Picture Command


8.2.11.1 Show the full picture by specify the PICNUM
Start Byte Command Data Bytes End Byte
Byte
0XAA 0x70 PICNUM 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.
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 : 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

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 : 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

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 Data Bytes End Byte
Byte
0XAA 0x5F PWM_DUTY (0x00-0x40) 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.

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

Class: Multi Byte Command


Code: 5Fex, 94dec

Example : Set the LED brightness = 75%

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

8.2.14 Touch Panel Command


8.2.14.1 Touch Panel Calibration
Start Byte Command Data Bytes End Byte
Byte
0XAA 0xE4 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 : 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)


TXD0 Output: 0xAA 0x73 00 80 00 40 CC 33 C3 3C

Start Byte Command Data Bytes End Byte


Byte
0XAA 0x72 Release_LCD_TP_X 0xCC 0x33 0xC3 0x3C
Release_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

Note : The touch panel can not work on USB mode.

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

DARK DOT N≦2 N≦3 N≦3 N≦3 N≦5 N≦8

ELECTRICAL TOTAL DOT N≦4 N≦5 N≦6 N≦8 Note2


DEFECT
N≦1 N≦1 N≦1 N≦1 N≦1
TWO ADJACENT DOT N≦0 Note4
pair pair pair pair 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 : 2011/9/2 55
[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 : 2011/9/2 56
10 RELIABILITY TEST CONDITIONS

ITEM CONDITIONS

HIGH TEMPERATURE OPERATION 70℃ , 240Hrs

HIGH TEMPERATURE AND HIGH


60℃ , 90%RH , 240Hrs
HUMIDITY OPERATION

HIGH TEMPERATURE STORAGE 80℃ , 240Hrs

LOW TEMPERATURE OPERATION -20℃ , 240Hrs

LOW TEMPERATURE STORAGE -30℃ , 240Hrs

-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

You might also like