WINSTAR_TFT Application Note



Similar documents
Introduction to graphics and LCD technologies. NXP Product Line Microcontrollers Business Line Standard ICs

3.5" Color TFT Display

LCM NHD-12032BZ-FSW-GBW. User s Guide. (Liquid Crystal Display Graphic Module) RoHS Compliant. For product support, contact

Different Display Configurations on i.mx35 Linux PDK

4.3" Color TFT Display

SSD1298. Advance Information. 240 RGB x 320 TFT LCD Controller Driver integrated Power Circuit, Gate and Source Driver with built-in RAM

Lesson 10: Video-Out Interface

Technical Note TN_158. What is the Camera Parallel Interface?

KS0108B 64CH SEGMENT DRIVER FOR DOT MATRIX LCD INTRODUCTION 100 QFP

HD61202U. (Dot Matrix Liquid Crystal GraphicDisplay Column Driver)

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

ILI9335. a-si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color. Datasheet

1. General Description

3.2 inch QVGA TFT Color LCD User s Guide Version 1 & 2

Using the Siemens S65 Display

VGA video signal generation

Revision History. Date Page Summary. Approved By: Document Number: OG24161 r.0 Page 1 of 11

White Paper Thin-Film-Transistor (TFT) LCD Display Control Electronics Design and Operation Revision 1.0

Application Notes (Preliminary)

OLED into Mobile Main Display

Link-65 MHz, +3.3V LVDS Transmitter 24-Bit Flat Panel Display (FPD) Link-65 MHz

OLED DISPLAY MODULE. Product Specification. INTERNAL APPROVALS Product Mgr Mech. Eng Electr. Eng. Date: Aug Date: Aug.04.

8 by 8 dot matrix LED displays with Cascadable Serial driver B32CDM8 B48CDM8 B64CDM8 General Description

Below is a diagram explaining the data packet and the timing related to the mouse clock while receiving a byte from the PS-2 mouse:

HT1632C 32 8 &24 16 LED Driver

74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

LCM Design Engineering SPECIFICATION FOR LCD MODULE TYPE ITEM NO.: MDLS MDLS16265-LV-G-LED04G (BB) (DOC. REVISION 1.0)

GDM1602A SPECIFICATIONS OF LCD MODULE. Features. Outline dimension

LCD Module Product Specification

Application Note AN_240. FT800 From the Ground Up

Solomon Systech Image Processor for Car Entertainment Application

LCD Module Product Specification

Note monitors controlled by analog signals CRT monitors are controlled by analog voltage. i. e. the level of analog signal delivered through the

Arduino/Seeeduino, Arduino Mega, and Seeeduino Mega compatible 2.8 Size QVGA Display Resistive Touch Screen

LCD Module Product Specification

DM74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

AZ DISPLAYS, INC. LCD MODULE SPECIFICATION MODULE TYPE : AGM1616A

Embedded Systems Design Course Applying the mbed microcontroller

FORMIKE ELECTRONIC CO.,LTD

Digital Systems Design. VGA Video Display Generation

MGL x64 Graphic LCD Module User Manual

LCD Module Product Specification

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

Application Note [AN-029] Interfacing and set-up of Toshiba T6963C

ILI9341. a-si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color. Specification Preliminary

SSD1306. Advance Information. 128 x 64 Dot Matrix OLED/PLED Segment/Common Driver with Controller

DM74LS191 Synchronous 4-Bit Up/Down Counter with Mode Control

MONOCHROME RGB YCbCr VIDEO DIGITIZER

LMB162ABC LCD Module User Manual

DATA SHEET. HEF40193B MSI 4-bit up/down binary counter. For a complete data sheet, please also download: INTEGRATED CIRCUITS

ILI9325. a-si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color. Datasheet

0832 Dot Matrix Green Display Information Board User s Guide

MicroVGA - Device Overview

Sprites in Block ROM

NT7606. STN LCDController/Driver. RAM-Map STN LCD Controller/Driver. Preliminary

TIP-VBY1HS Data Sheet

NJU6061. Full Color LED Controller Driver with PWM Control GENERAL DESCRIPTION PACKAGE OUTLINE FEATURES

LCD Module Product Specification

MicroMag3 3-Axis Magnetic Sensor Module

5495A DM Bit Parallel Access Shift Registers

Lab 2.0 Thermal Camera Interface

54191 DM54191 DM74191 Synchronous Up Down 4-Bit Binary Counter with Mode Control

CD4027BC Dual J-K Master/Slave Flip-Flop with Set and Reset

TFT LCD Specification. Model NO.: OSD080TN42

HCMS-29xx Series High Performance CMOS 5 x 7 Alphanumeric Displays

1. Description. 2. Feature. 3. PIN Configuration

Data Sheet. HCMS-235x CMOS Extended Temperature Range 5 x 7 Alphanumeric Display. Features. Description. Typical Applications

LCD MODULE DEM B FGH-PW

Contents & P-LCD Modules Cross Reference Table

MODEL NO. : TM043NBH02 ISSUED DATE: VERSION : Ver 1.2

DS Real Time Clock FEATURES PIN ASSIGNMENT PIN DESCRIPTION

DATA SHEET. ( DOC No. HX8347-A01-DS ) HX8347-A01

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

HD44780-Based LCD Modules. Introduction to the LM018L

Multi Stream Transport (MST) Hub CSV-5200

7 OUT1 8 OUT2 9 OUT3 10 OUT4 11 OUT5 12 OUT6 13 OUT7 14 OUT8 15 OUT9 16 OUT10 17 OUT11 18 OUT12 19 OUT13 20 OUT14 21 OUT15 22 OUT16 OUT17 23 OUT18

CONTENTS. Section 1 Document Descriptions Purpose of this Document Nomenclature of this Document... 3

LCD Module Product Specification

CH7101A. CH7101A HDMI to VGA Converter GENERAL DESCRIPTION

SSD1289. Advance Information. 240 RGB x 320 TFT LCD Controller Driver integrated Power Circuit, Gate and Source Driver with built-in RAM

CD4013BC Dual D-Type Flip-Flop

DS1225Y 64k Nonvolatile SRAM

DM74LS373/DM74LS374 3-STATE Octal D-Type Transparent Latches and Edge-Triggered Flip-Flops

Making Basic Measurements. Publication Number August Training Kit for the Agilent Technologies Series Logic Analysis System

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

Chapter 6: From Digital-to-Analog and Back Again

DS1220Y 16k Nonvolatile SRAM

FORMIKE ELECTRONIC CO.,LTD

ETEC Digital Controls PIC Lab 10 Pulse Width Modulation

SED1520/21 DOT MATRIX LCD DRIVER S-MOS

DM54161 DM74161 DM74163 Synchronous 4-Bit Counters

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

8254 PROGRAMMABLE INTERVAL TIMER

DOT MATRIX CHARACTER LCD MODULE USER S MANUAL

54LS193 DM54LS193 DM74LS193 Synchronous 4-Bit Up Down Binary Counters with Dual Clock

DM74LS169A Synchronous 4-Bit Up/Down Binary Counter

OLED DISPLAY MODULE. Product Specification. INTERNAL APPROVALS Product Mgr Doc. Control Electr. Eng. Anthony Perkins

Application Note AN_254. FT800 Designs With Visual TFT

Transcription:

a-si TFT for SSD1963 Controller 320xRGBx240 for 3.5 QVGA 480xRGBx272 for 4.3 WQVGA 320xRGBx240 for 5.7 QVGA 640xRGBx480 for 5.7 VGA 800xRGBx480 for 7.0 WVGA 262K color Vresion 3.0 Date:2010/07/05 Date : 2010/07/05 1

1 RECORD OF REVISION... 3 2 FEATURES... 4 3 APPLICATION CIRCUIT... 5 3.1 3.5 inch QVGA... 5 3.2 4.3 inch WQVGA... 6 3.3 5.7 inch QVGA... 7 3.4 5.7 inch VGA... 8 3.5 7.0 inch WVGA... 9 4 MCU Interface Timing... 10 4.1 6800 Mode... 10 4.2 8080 Mode Write Cycle..... 11 4.3 Pixel Data Format..... 12 5 REFERENCE INITIAL CODE :...13 5.1 8BIT-80 interface mode,262k color,3.5_panel:320xrgbx240... 13 5.2 8BIT-80 interface mode,262k color,4.3_panel:480xrgbx272... 17 5.3 8BIT-80 interface mode,262k color,5.7_panel:320xrgbx240... 19 5.4 8BIT-80 interface mode,262k color,5.7_panel:640xrgbx480... 21 5.5 8BIT-80 interface mode,262k color,7.0_panel:800xrgbx480... 23 Date : 2010/07/05 2

1 RECORD OF REVISION Revision Date Page Contents Editor 2009/5/5 2009/11/30 2010/07/05 - - - New Release Add 7.0 WVGA Modify command 0x80 Date : 2010/07/05 3

2 Features SSD1963 is a display controller of 1215K byte frame buffer to support up to 864 x 480 x 24bit graphics content. It also equips parallel MCU interfaces in different bus width to receive graphics data and command from MCU. Its display interface supports common RAM-less LCD driver of color depth up to 24 bit-per- pixel. User can send a full screen picture by controlling the MPU with popular microprocessor interface: 16 bit 8080-Series MPU 8 bit 8080-Series MPU 16 bit 6800-Series MPU 8 bit 6800-Series MPU There are five kinds of control board include: 3.5 inch QVGA built-in LED driver 4.3 inch WQVGA built-in LED driver 5.7 inch QVGA built-in VCOM amplifier to adjust contrast and flicker by VR50/VR51. 5.7 inch VGA built-in VCOM amplifier to adjust flicker by VR31. 7.0 inch WVGA. Date : 2010/07/05 4

3 Application Circuit 3.1 3.5 inch QVGA Date : 2010/07/05 5

3.2 4.3 inch WQVGA Date : 2010/07/05 6

3.3 5.7 inch QVGA Date : 2010/07/05 7

3.4 5.7 inch VGA Date : 2010/07/05 8

3.5 7.0 inch WVGA Date : 2010/07/05 9

4 MCU Interface Timing 4.1 6800 Mode Table 13-4: 6800 Mode Timing Symbol Parameter Min Typ Max Unit t cyc Reference Clock Cycle Time 9 - - ns t PWCSL Pulse width CS# or E low 1 - - t CYC t PWCS H Pulse width CS# or E high 1 - - t CYC t FD R D First Data Read Delay 5 - - t CYC t AS Address Setup Time 1 - - ns t AH Address Hold Time 1 - - ns t DSW Data Setup Time 4 - - ns t DHW Data Hold Time 1 - - ns t DSR Data Access Time - - 5 ns t DHR Output Hold time 1 - - ns Figure 13-1: 6800 Mode Timing Diagram (Use CS# as Clock) Figure 13-2: 6800 Mode Timing Diagram (Use E as Clock) Date : 2010/07/05 10

4.2 8080 Mode Write Cycle Table 13-5: 8080 Mode Timing Symbol Parameter Min Typ Max Unit t cyc Reference Clock Cycle Time 9 - - ns t PWCSL Pulse width CS# low 1 - - t CYC t PWCS H Pulse width CS# high 1 - - t CYC t FD R D First Read Data Delay 5 - - t CYC t AS Address Setup Time 1 - - ns t AH Address Hold Time 1 - - ns t DSW Data Setup Time 4 - - ns t DHW Data Hold Time 1 - - ns t DSR Data Access Time - - 5 ns Output Hold time 1 - - ns t DHR Figure 13-3: 8080 Mode Timing Diagram Date : 2010/07/05 11

4.3 Pixel Data Format Both 6800 and 8080 support 8-bit, 9-bit, 16-bit, 18-bit and 24-bit data bus of SSD1963, but only designed 8-bit and 16-bit data bus for all kinds of control board. Depending on the width of the data bus, the display data are packed into the data bus in different ways. Table 7-1: Pixel Data Format Interface Cycl e D[23] D[22] D[21] D[20] D[19] D[18] D[17] D[16] D[15] D[14] D[13] D[12] D[11] D[10] D[9] D[8] D[7] D[6] D[5] D[4] D[3] D[2] D[1] D[0] 24 bits 1 st R7 R6 R5 R4 R3 R2 R1 R0 G7 G6 G5 G4 G3 G2 G1 G0 B7 B6 B5 B4 B3 B2 B1 B0 18 bits 1 st R5 R4 R3 R2 R1 R0 G5 G4 G3 G2 G1 G0 B5 B4 B3 B2 B1 B0 16 bits (565 format) 1 st R5 R4 R3 R2 R1 G5 G4 G3 G2 G1 G0 B5 B4 B3 B2 B1 16 bits 1 st 2 nd R5 R4 R3 R2 R1 R0 X X G5 G4 G3 G2 G1 G0 X X B5 B4 B3 B2 B1 B0 X X R5 R4 R3 R2 R1 R0 X X 3 rd G5 G4 G3 G2 G1 G0 X X B5 B4 B3 B2 B1 B0 X X 1 st R5 R4 R3 R2 R1 R0 G5 G4 G3 9 bits 2 nd G2 G1 G0 B5 B4 B3 B2 B1 B0 1 st R5 R4 R3 R2 R1 R0 X X 8 bits 2 nd G5 G4 G3 G2 G1 G0 X X 3 rd B5 B4 B3 B2 B1 B0 X X X: Don't Care Date : 2010/07/05 12

5 Reference Initial code : 5.1 8bit-80 interface mode, 262K color, 3.5_Panel:320xRGBx240 void main(void) Initial_SSD1963(); FULL_ON(0xff0000); FULL_ON(0x00ff00); FULL_ON(0x0000ff); // red // green // blue void Write_Command (unsigned char command) IC_RD = 1; // /RD=1 IC_A0 = 0; // D/C=0 IC_WR= 0; // /WR=0 IC_CS = 0; // /CS=0 Data_BUS = command; // Data Bus OUT IC_CS = 1; IC_WR= 1; // /CS=1 // /WR=1 void Write_Data (unsigned char data1) IC_RD = 1; IC_A0 = 1; IC_WR = 0; IC_CS = 0; Data_BUS = data1; IC_CS = 1; IC_WR= 1; void Command_Write(unsigned char command,unsigned char data1) Write_Command(command); Write_Data(data1); void SendData(unsigned long color) Write_Data((color)>>16); // color is red Write_Data((color)>>8); // color is green Write_Data(color); // color is blue Date : 2010/07/05 13

void Initial_SSD1963 (void) IC_RST = 0; IC_RST = 1; //for 3.5 QVGA Command_Write(0xe0,0x01); Command_Write(0xe0,0x03); //Software Reset // START PLL // LOCK PLL Write_Command(0xb0); Write_Data(0x0c); Write_Data(0x3f); Write_Data(0xef); //SET LCD MODE SET TFT 18Bits MODE //SET TFT MODE & hsync+vsync+den MODE //SET TFT MODE & hsync+vsync+den MODE //SET horizontal size=320-1 HightByte //SET horizontal size=320-1 LowByte //SET vertical size=240-1 HightByte //SET vertical size=240-1 LowByte //SET even/odd line RGB seq.=rgb Command_Write(0xf0,0x00); //SET pixel data I/F format=8bit Command_Write(0x3a,0x60); // SET R G B format = 6 6 6 Write_Command(0xe2); //SET PLL freq=113.33mhz ; Write_Data(0x22); Write_Data(0x03); Write_Data(0x04); Write_Command(0xe6); Write_Data(0xea); Write_Data(0xec); //SET PCLK freq=6.5mhz/19mhz ; pixel clock frequency //0x02 //0xb0 //0xb5 Write_Command(0xb4); //SET HBP //SET HSYNC Total = 440 Write_Data(0xb8); //SET HBP = 68 Write_Data(0x44); Date : 2010/07/05 14

Write_Data(0x0f); //SET VBP 16 = 15 + 1 //SET Hsync pulse start position //SET Hsync pulse subpixel start position Write_Command(0xb6); //SET VBP //SET Vsync total 265 = 264 + 1 Write_Data(0x08); //SET VBP = 18 Write_Data(0x12); Write_Data(0x07); //SET Vsync pulse 8 = 7 + 1 //SET Vsync pulse start position Write_Command(0x2a); Write_Data(0x3f); //SET column address //SET start column address=0 //SET end column address=320 Write_Command(0x2b); Write_Data(0xef); //SET page address //SET start page address=0 //SET end page address=240 Write_Command(0x29); Write_Command(0x2c); //SET display on Date : 2010/07/05 15

WindowSet(unsigned int s_x,unsigned int e_x,unsigned int s_y,unsigned int e_y) Write_Command(0x2a); //SET page address Write_Data((s_x)>>8); //SET start page address=0 Write_Data(s_x); Write_Data((e_x)>>8); //SET end page address=320 Write_Data(e_x); Write_Command(0x2b); Write_Data((s_y)>>8); Write_Data(s_y); Write_Data((e_y)>>8); Write_Data(e_y); //SET column address //SET start column address=0 //SET end column address=240 void FULL_ON(unsigned long dat) unsigned int x,y; WindowSet(0x0000,0x013f,0x0000,0x00ef); Write_Command(0x2c);_ for (x=0;x<240;x++) for (y= 0;y<320;y++) SendData(dat); Date : 2010/07/05 16

5.2 8bit-80 interface mode, 262K color, 4.3_Panel:480xRGBx272 void Initial_SSD1963 (void) //for 4.3 WQVGA IC_RST = 0; IC_RST = 1; Command_Write(0xe0,0x01); Command_Write(0xe0,0x03); //Software Reset // START PLL // LOCK PLL Write_Command(0xb0); Write_Data(0x08); Write_Data(0xdf); Write_Data(0x0f); //SET LCD MODE SET TFT 18Bits MODE //SET TFT MODE & hsync+vsync+den MODE //SET TFT MODE & hsync+vsync+den MODE //SET horizontal size=480-1 HightByte //SET horizontal size=480-1 LowByte //SET vertical size=272-1 HightByte //SET vertical size=272-1 LowByte //SET even/odd line RGB seq.=rgb Command_Write(0xf0,0x00); //SET pixel data I/F format=8bit Command_Write(0x3a,0x60); // SET R G B format = 6 6 6 Write_Command(0xe2); //SET PLL freq=113.33mhz ; Write_Data(0x22); Write_Data(0x03); Write_Data(0x04); Write_Command(0xe6); Write_Data(0x45); Write_Data(0x47); //SET PCLK freq=9mhz ; pixel clock frequency Write_Command(0xb4); //SET HBP Write_Data(0x02); //SET HSYNC Total = 525 Write_Data(0x0d); //SET HBP = 43 Write_Data(0x2b); Date : 2010/07/05 17

Write_Data(0x28); //SET VBP 41 = 40 + 1 //SET Hsync pulse start position //SET Hsync pulse subpixel start position Write_Command(0xb6); //SET VBP //SET Vsync total 286 = 285 + 1 Write_Data(0x1d); //SET VBP = 12 Write_Data(0x0c); Write_Data(0x09); //SET Vsync pulse 10 = 9 + 1 //SET Vsync pulse start position Write_Command(0x2a); Write_Data(0xdf); //SET column address //SET start column address=0 //SET end column address=480 Write_Command(0x2b); Write_Data(0x0f); //SET page address //SET start page address=0 //SET end page address=272 Write_Command(0x29); Write_Command(0x2c); //SET display on Date : 2010/07/05 18

5.3 8bit-80 interface mode, 262K color, 5.7_Panel:320xRGBx240 void Initial_SSD1963 (void) //for 5.7 QVGA IC_RST = 0; IC_RST = 1; Command_Write(0xe0,0x01); Command_Write(0xe0,0x03); //Software Reset // START PLL // LOCK PLL Write_Command(0xb0); Write_Data(0x0c); Write_Data(0x3f); Write_Data(0xef); //SET LCD MODE SET TFT 18Bits MODE //SET TFT MODE & hsync+vsync+den MODE //SET TFT MODE & hsync+vsync+den MODE //SET horizontal size=320-1 HightByte //SET horizontal size=320-1 LowByte //SET vertical size=240-1 HightByte //SET vertical size=240-1 LowByte //SET even/odd line RGB seq.=rgb Command_Write(0xf0,0x00); //SET pixel data I/F format=8bit Command_Write(0x3a,0x60); // SET R G B format = 6 6 6 Write_Command(0xe2); //SET PLL freq=113.33mhz ; Write_Data(0x22); Write_Data(0x03); Write_Data(0x04); Write_Command(0xe6); Write_Data(0xe7); Write_Data(0x4f); //SET PCLK freq=6.4mhz ; pixel clock frequency Write_Command(0xb4); //SET HBP //SET HSYNC Total = 440 Write_Data(0xb8); //SET HBP = 68 Write_Data(0x44); Date : 2010/07/05 19

Write_Data(0x0f); //SET VBP 16 = 15 + 1 //SET Hsync pulse start position //SET Hsync pulse subpixel start position Write_Command(0xb6); //SET VBP //SET Vsync total 265 = 264 + 1 Write_Data(0x08); //SET VBP = 19 Write_Data(0x13); Write_Data(0x07); //SET Vsync pulse 8 = 7 + 1 //SET Vsync pulse start position Write_Command(0x2a); Write_Data(0x3f); //SET column address //SET start column address=0 //SET end column address=320 Write_Command(0x2b); Write_Data(0xef); //SET page address //SET start page address=0 //SET end page address=240 Write_Command(0x29); Write_Command(0x2c); //SET display on Date : 2010/07/05 20

5.4 8bit-80 interface mode, 262K color, 5.7_Panel:640xRGBx480 void Initial_SSD1963 (void) //for 5.7 VGA IC_RST = 0; IC_RST = 1; Command_Write(0xe0,0x01); Command_Write(0xe0,0x03); //Software Reset // START PLL // LOCK PLL Write_Command(0xb0); Write_Data(0x0c); Write_Data(0x02); Write_Data(0x7f); Write_Data(0xdf); //SET LCD MODE SET TFT 18Bits MODE //SET TFT MODE & hsync+vsync+den MODE //SET TFT MODE & hsync+vsync+den MODE //SET horizontal size=640-1 HightByte //SET horizontal size=640-1 LowByte //SET vertical size=480-1 HightByte //SET vertical size=480-1 LowByte //SET even/odd line RGB seq.=rgb Command_Write(0xf0,0x00); //SET pixel data I/F format=8bit Command_Write(0x3a,0x60); // SET R G B format = 6 6 6 Write_Command(0xe2); //SET PLL freq=113.33mhz ; Write_Data(0x22); Write_Data(0x03); Write_Data(0x04); Write_Command(0xe6); Write_Data(0xe7); Write_Data(0x4f); //SET PCLK freq=6.43mhz ; pixel clock frequency Write_Command(0xb4); //SET HBP, Write_Data(0x20); //SET HSYNC Total = 8367 Write_Data(0xaf); //SET HBP = 163 Write_Data(0xa3); Date : 2010/07/05 21

Write_Data(0x07); //SET VBP 8 = 7 + 1 //SET Hsync pulse start position //SET Hsync pulse subpixel start position Write_Command(0xb6); //SET VBP, //SET Vsync total 496 = 495 + 1 Write_Data(0xef); //SET VBP = 4 Write_Data(0x04); //SET Vsync pulse 2 = 1 + 1 //SET Vsync pulse start position Write_Command(0x2a); Write_Data(0x02); Write_Data(0x7f); //SET column address //SET start column address=0 //SET end column address=640 Write_Command(0x2b); Write_Data(0xdf); //SET page address //SET start page address=0 //SET end page address=480 Write_Command(0x29); Write_Command(0x2c); //SET display on Date : 2010/07/05 22

5.5 8bit-80 interface mode, 262K color, 7.0_Panel:800xRGBx480 void Initial_SSD1963 (void) //for 7.0 VGA IC_RST = 0; IC_RST = 1; Command_Write(0xe0,0x01); Command_Write(0xe0,0x03); //Software Reset // START PLL // LOCK PLL Write_Command(0xb0); Write_Data(0x08); Write_Data(0x03); Write_Data(0x1f); Write_Data(0xdf); //SET LCD MODE SET TFT 18Bits MODE //SET TFT MODE & hsync+vsync+den MODE //SET TFT MODE & hsync+vsync+den MODE //SET horizontal size=800-1 HightByte //SET horizontal size=800-1 LowByte //SET vertical size=480-1 HightByte //SET vertical size=480-1 LowByte //SET even/odd line RGB seq.=rgb Command_Write(0xf0,0x00); //SET pixel data I/F format=8bit Command_Write(0x3a,0x60); // SET R G B format = 6 6 6 Write_Command(0xe2); //SET PLL freq=113.33mhz ; Write_Data(0x22); Write_Data(0x03); Write_Data(0x04); Write_Command(0xe6); Write_Data(0xe7); Write_Data(0x4f); //SET PCLK freq=33.26mhz ; pixel clock frequency Write_Command(0xb4); //SET HBP, Write_Data(0x20); //SET HSYNC Total = 8367 Write_Data(0xaf); //SET HBP = 163 Write_Data(0xa3); Date : 2010/07/05 23

Write_Data(0x07); //SET VBP 8 = 7 + 1 //SET Hsync pulse start position //SET Hsync pulse subpixel start position Write_Command(0xb6); //SET VBP, //SET Vsync total 496 = 495 + 1 Write_Data(0xef); //SET VBP = 4 Write_Data(0x04); //SET Vsync pulse 2 = 1 + 1 //SET Vsync pulse start position Write_Command(0x2a); Write_Data(0x03); Write_Data(0x1f); //SET column address //SET start column address=0 //SET end column address=800 Write_Command(0x2b); Write_Data(0xdf); //SET page address //SET start page address=0 //SET end page address=480 Write_Command(0x29); Write_Command(0x2c); //SET display on Date : 2010/07/05 24