您的当前位置:首页1505c_V03_application_note

1505c_V03_application_note

来源:小侦探旅游网
 FT1505C

FT1505CApplication Notes

Project name Document ref

FT1505C PLD-5C70

Version v0.3 Release date

30 Jan 2008

Owner Liao Guangrui Classification Distribution List

CONFIDENTIAL

[DISTRIBUTION LIST]

Approval Neil Lin

Marco Xie Jerd Hu Ivan Chen Kai Dou

THIS DOCUMENT CONTAINS INFORMATION PROPRIETARY TO FOCALTECH SYSTEMS, LTD., AND MAY NOT BE REPRODUCED, DISCLOSED OR USED IN WHOLE OR PART WITHOUT THE EXPRESS

WRITTEN PERMISSION OF FOCALTECH SYSTEMS, LTD.

Copyright © 2008, FocalTech Systems, Ltd

All rights reserved

Email: support@focaltech-systems.comwww.focaltech-systems.comFocalTech Systems Co., Ltd CONFIDENTIAL

1

FT1505C

Application Notes

Version: 0.2 Date: 14-Feb-08

FT1505C

a-Si TFT LCD Single Chip Driver 240RGBX320 Resolution and 262K Color

FocalTech Systems Co., Ltd

support@focaltech-systems.comTHIS DOCUMENT CONTAINS INFORMATION PROPRIETARY TO FOCALTECH SYSTEMS CO.,LTD., AND MAY NOT BE REPRODUCED, DISCLOSED OR USED IN WHOLE OR PART WITHOUT THE EXPRESS WRITTEN PERMISSION OF FOCALTECH SYSTEMS CO.,LTD.

Copyright © 2008, FocalTech Systems CO.,Ltd

All rights reserved

FocalTech Systems Co., Ltd CONFIDENTIAL Page 1

FT1505C

CONTENTS

1.

CMO PANEL.................................................................................................................................4 1.1 CMO2.8 & CMO2.4 FPC Application Circuit................................................................................4 1.2 CMO 2.8” Initial Code....................................................................................................................4 1.3 CMO 2.4” Initial Code....................................................................................................................6 2.

Arima PANEL................................................................................................................................9

2.1 Arima 2.4 FPC Application Circuit.................................................................................................9 2.2 Arima 2.4” Initial Code...................................................................................................................9 3.

Appendix:......................................................................................................................................12

3.1. 80-16bit interface Timing code....................................................................................................12 3.2. 80-8bit interface Timing code......................................................................................................12

** May be revised without notice

FocalTech Systems Co., Ltd CONFIDENTIAL Page 2

FT1505C

REVISION TABLE

version Revisions 0.1 Initial 0.2

1, Update initial code,

2, add sleep, standby , deep standby mode code. 3, add Arima application note. 4, add appendix

0.3

1, delete application circuit-panel sheet.

Liao Guangrui

2008-2-14

Revised By Yang sheng Liao Guangrui

Date 2007-11-7 2008-1-30

FocalTech Systems Co., Ltd CONFIDENTIAL Page 3

DBCA1. CMO PANEL

1J1TP6VREG1OUTVCOMVCOMOSC2TP7VCLFLMTP8DDVDHVCOMHTP3TP2TP1TP9TP42VGLVCOMLTP5TP10J2TP12SDI_1SDOTP11OSC2VGHVCOMR211.2 CMO 2.8” Initial Code

ENABLE_1DOTCLK_1HSYNC_1VSYNC_1IM0IM1IM2IM3RESETVSYNCHSYNCDOTCLKENABLEDB17DB16DB15DB14DB13DB12DB11DB10DB9DB8DB7DB6DB5DB4DB3DB2DB1DB0SDOSDIRDWRRSCSFLM3IOVCCC11uF/6V1uF/6V3IOVCCC3VDDVCOMC4VGLD1VCOMHC5VCOMLC6VREG1OUTVCOMRVGHD2DIODESCHOTTKYD3VCIDIODESCHOTTKYDDVDHVCLC7C8DDVDHC9VCI1VCIC10C12BC111uF/10VVCIC12AC11BC121uF/10VC11AVGLC13SDIC14HSYNCVSYNC1uF/25V1uF/25VENABLEDOTCLKVGHC13BC151uF/6VC13AR9R8R7R6R5R14R13R12R11R10C21BNumber1uF/10VC21AC22B1uF/10VC22ASDI_1HSYNC_1VSYNC_1ENABLE_1DOTCLK_1VCOMC17C167-Nov-2007 D:\\yangsheng\\ft1505c\\FT1505C_CMO.ddb1uF/6V1uF/6V1uF/10VDIODE SCHOTTKYVCI1uF/6V1uF/6V1uF/6V1uF/10V44CSRSWRRDDB0DB1DB2DB3DB4DB5DB6DB7DB8DB9DB10DB11DB12DB13DB14DB15DB16DB17RESETIM3IM2IM1IM0DUMMYDUMMYDUMMYDUMMYDUMMYDUMMYVPPSDISDOGNDGNDDUMMYENABLEDOTCLKHSYNCVSYNCDUMMYIOVCCIOVCCIOVCCIOVCCGNDGNDDUMMYCSRSWRRDDB0DB1DB2DB3DB4DB5DB6DB7DB8DB9DB10DB11DB12DB13DB14DB15DB16DB17RESETDUMMYIM3IM2IM1IM0DUUMYVCIVCIVCIVCIGNDGNDDUMMY60595857565554535251504948474645444342414039383736353433323130292827262524232221201918171615141312111098765432155SizeTitleBDate:File:123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110VCOMVCOMOSC2TS0TS1IM0IM1IM2IM3RESETVSYNCHSYNCDOTCLKENABLEDB17DB16DB15DB14DB13DB12DB11DB10DB9DB8DB7DB6DB5DB4DB3DB2DB1DB0SDOSDIRDWRRSCSDUMMYDUMMYFLMDUMMYIOVCCIOVCCIOVCCVDDVDDVDDVDDDUMMYAGNDAGNDAGNDVGSGNDGNDGNDVCOMVCOMVCOMHVCOMHVCOMLVCOMLVREG1OUTVREG1OUTVCOMRVCLVCLDDVDHDDVDHDDVDHVCI1VCI1VCIVCIVCIDUMMYDUMMYC12BC12BC12AC12AC11BC11BC11AC11AVGLVGLVGLVGHVGHVGHC13BC13BC13AC13AC21BC21BC21BC21AC21AC21AC22BC22BC22BC22AC22AC22AVCOMVCOMvoid FT1505C_16BIT_80HZ_CMO2D8_4(void) {

//VCI=2.8V RESET=0; delay_ms(50); RESET=1; delay_ms(10); wr_reg(0x00); wr_reg(0x00); wr_reg(0x00); wr_reg(0x00);

send_host_reg_command(0x002b, 0x0003); send_host_reg_command(0x0000, 0x0001); delay_ms(50);

send_host_reg_command(0x0007, 0x0000); delay_ms(50);

send_host_reg_command(0x0012, 0x0000); delay_ms(50);

send_host_reg_command(0x0060, 0xaf00);

Sheet of Drawn By:66RevisionBCAD1.1 CMO2.8 & CMO2.4 FPC Application Circuit

FT1505C

FocalTech Systems Co., Ltd CONFIDENTIAL Page 4

Note: Vci, Vcc and IOVcc must be adjusted to 2.8V if above registers

setting is used.

FT1505C

send_host_reg_command(0x0008, 0x0405); // ------------ Adjust the Gamma Curve --------------// send_host_reg_command(0x0030, 0x0400); send_host_reg_command(0x0031, 0x0307); send_host_reg_command(0x0032, 0x0402); send_host_reg_command(0x0035, 0x0504); send_host_reg_command(0x0036, 0x1410); send_host_reg_command(0x0037, 0x0400); send_host_reg_command(0x0038, 0x0207); send_host_reg_command(0x0039, 0x0400); send_host_reg_command(0x003C, 0x0000); send_host_reg_command(0x003D, 0x0000); // ----------- Adjust the Gamma Curve End----------// send_host_reg_command(0x0010, 0x02c0); send_host_reg_command(0x0011, 0x0247); delay_ms(30); send_host_reg_command(0x0012, 0x0118); delay_ms(30); send_host_reg_command(0x0013, 0x1600); send_host_reg_command(0x0029, 0x000e); delay_ms(30);

send_host_reg_command(0x0001, 0x0100); send_host_reg_command(0x0002, 0x0700); send_host_reg_command(0x0003, 0x5030); send_host_reg_command(0x0061, 0x0001); send_host_reg_command(0x0090, 0x0110); send_host_reg_command(0x0092, 0x0000); send_host_reg_command(0x0080, 0x0000); send_host_reg_command(0x0081, 0x0000); send_host_reg_command(0x0082, 0x013f); send_host_reg_command(0x0083, 0x0000); send_host_reg_command(0x0084, 0x0000); send_host_reg_command(0x0085, 0x013f); send_host_reg_command(0x0050, 0x0000); send_host_reg_command(0x0051, 0x00ef); send_host_reg_command(0x0052, 0x0000); send_host_reg_command(0x0053, 0x013f); send_host_reg_command(0x0098, 0x0202); send_host_reg_command(0x0010, 0x12f0); delay_ms(20);

send_host_reg_command(0x0007, 0x0133); }

void seelp_stb_dstb_mode_enter(void) {

//*************Display Off sequence ****************// send_host_reg_command(0x0007, 0x0101); delay_ms(20);

send_host_reg_command(0x0012, 0x0118); delay_ms(20);

send_host_reg_command(0x0007, 0x0100);

FocalTech Systems Co., Ltd CONFIDENTIAL Page 5

FT1505C

delay_ms(20);

//*************Power Off sequence ******************// send_host_reg_command(0x0010, 0x1780); send_host_reg_command(0x0011, 0x0247); send_host_reg_command(0x0012, 0x1108); delay_ms(20);

send_host_reg_command(0x0010, 0x1700);

//*************************************************// #ifdef sleep

send_host_reg_command(0x0010, 0x1702); #endif #ifdef standby

send_host_reg_command(0x0010, 0x1701); #endif #ifdef deep_standby

send_host_reg_command(0x0010, 0x1704); #endif }

void seelp_stb_mode_exit(void) {

#ifdef sleep

send_host_reg_command(0x0010, 0x12f0); #endif #ifdef standby

send_host_reg_command(0x0000, 0x0001); delay_ms(50);

send_host_reg_command(0x0010, 0x12f0); #endif

//*************Display On sequence ****************// send_host_reg_command(0x0007, 0x0101); delay_ms(20);

send_host_reg_command(0x0007, 0x0133); delay_ms(20);

send_host_reg_command(0x0012, 0x0118); delay_ms(20); }

//* Exit Deep standby need execute Initial Code //

1.3 CMO 2.4” Initial Code

void FT1505C_CMO2D4_V2(void) {

//VCI=2.8V RESET=0; delay_ms(50); RESET=1; delay_ms(10); wr_reg(0x00); wr_reg(0x00);

FocalTech Systems Co., Ltd CONFIDENTIAL Page 6

FT1505C

wr_reg(0x00); wr_reg(0x00);

send_host_reg_command(0x002b, 0x0003); send_host_reg_command(0x0000, 0x0001); delay_ms(50);

send_host_reg_command(0x0007, 0x0000); delay_ms(50);

send_host_reg_command(0x0012, 0x0000); delay_ms(50);

send_host_reg_command(0x0060, 0xa700); send_host_reg_command(0x0008, 0x0405); // ------------ Adjust the Gamma Curve --------------// send_host_reg_command(0x0030, 0x0101); send_host_reg_command(0x0031, 0x0103); send_host_reg_command(0x0032, 0x0505); send_host_reg_command(0x0035, 0x0306); send_host_reg_command(0x0036, 0x050b); send_host_reg_command(0x0037, 0x0002); send_host_reg_command(0x0038, 0x0200); send_host_reg_command(0x0039, 0x0707); send_host_reg_command(0x003C, 0x0000); send_host_reg_command(0x003D, 0x0000); // ----------- Adjust the Gamma Curve End----------// send_host_reg_command(0x0010, 0x02c0); send_host_reg_command(0x0011, 0x0247); delay_ms(30);

send_host_reg_command(0x0012, 0x0118); delay_ms(30);

send_host_reg_command(0x0013, 0x1d00); send_host_reg_command(0x0029, 0x0009); delay_ms(30);

send_host_reg_command(0x0001, 0x0100); send_host_reg_command(0x0002, 0x0700); send_host_reg_command(0x0003, 0x5030); send_host_reg_command(0x0061, 0x0001); send_host_reg_command(0x0090, 0x0110); send_host_reg_command(0x0092, 0x0000); send_host_reg_command(0x0080, 0x0000); send_host_reg_command(0x0081, 0x0000); send_host_reg_command(0x0082, 0x013f); send_host_reg_command(0x0083, 0x0000); send_host_reg_command(0x0084, 0x0000); send_host_reg_command(0x0085, 0x013f); send_host_reg_command(0x0050, 0x0000); send_host_reg_command(0x0051, 0x00ef); send_host_reg_command(0x0052, 0x0000); send_host_reg_command(0x0053, 0x013f); send_host_reg_command(0x0098, 0x0202); send_host_reg_command(0x0010, 0x12f0); delay_ms(20);

send_host_reg_command(0x0007, 0x0133);

FocalTech Systems Co., Ltd CONFIDENTIAL Page 7

FT1505C

delay_ms(5); }

void seelp_stb_dstb_mode_enter(void) {

//*************Display Off sequence ****************// send_host_reg_command(0x0007, 0x0101); delay_ms(20);

send_host_reg_command(0x0012, 0x0118); delay_ms(20);

send_host_reg_command(0x0007, 0x0100); delay_ms(20);

//*************Power Off sequence ******************// send_host_reg_command(0x0010, 0x1780); send_host_reg_command(0x0011, 0x0247); send_host_reg_command(0x0012, 0x1108); delay_ms(20);

send_host_reg_command(0x0010, 0x1700);

//*************************************************// #ifdef sleep

send_host_reg_command(0x0010, 0x1702); #endif #ifdef standby

send_host_reg_command(0x0010, 0x1701); #endif #ifdef deep_standby

send_host_reg_command(0x0010, 0x1704); #endif }

void seelp_stb_mode_exit(void) {

#ifdef sleep

send_host_reg_command(0x0010, 0x12f0); #endif #ifdef standby

send_host_reg_command(0x0000, 0x0001); delay_ms(50);

send_host_reg_command(0x0010, 0x12f0); #endif

//*************Display On sequence ****************// send_host_reg_command(0x0007, 0x0101); delay_ms(20);

send_host_reg_command(0x0007, 0x0133); delay_ms(20);

send_host_reg_command(0x0012, 0x0118); delay_ms(20); }

//* Exit Deep standby need execute Initial Code //

FocalTech Systems Co., Ltd CONFIDENTIAL Page 8

DABC1J11

VCOMVGLTP6VREG1OUTVCOMTP7VCLFLMTP8DDVDHVCOMHTP3TP2TP12. Arima PANEL

2J2TP9VGLVCOMLTP4SDI_1SDOTP10VGHTP12ENABLE_1DOTCLK_1HSYNC_1VSYNC_1IOVCCC3VDDIOVCC22.2 Arima 2.4” Initial Code

IM0IM1IM2IM3RESETVSYNCHSYNCDOTCLKENABLEDB17DB16DB15DB14DB13DB12DB11DB10DB9DB8DB7DB6DB5DB4DB3DB2DB1DB0SDOSDIRDWRRSCSFLMC11uF/6V1uF/6V3VGLDIODESCHOTTKYVCIDIODESCHOTTKYD3C4VCIDIODESCHOTTKY1uF/10VDDVDHD2VGHVCOMVCOMHC5VCOMLVREG1OUTVCLC7C8DDVDHC9VCI11uF/6V1uF/6V1uF/10V1uF/6V1uF/6VC6D13CSRSWRRDDB0DB1DB2DB3DB4DB5DB6DB7DB8DB9DB10DB11DB12DB13DB14DB15DB16DB17RESETIM3IM2IM1IM01uF/6V44VCIC10C12BC111uF/10VDUMMYDUMMYDUMMYDUMMYDUMMYDUMMYVPPSDISDOGNDGNDDUMMYENABLEDOTCLKHSYNCVSYNCDUMMYIOVCCIOVCCIOVCCIOVCCGNDGNDDUMMYCSRSWRRDDB0DB1DB2DB3DB4DB5DB6DB7DB8DB9DB10DB11DB12DB13DB14DB15DB16DB17RESETDUMMYIM3IM2IM1IM0DUUMYVCIVCIVCIVCIGNDGNDDUMMYVCIC12AC11BC121uF/10V605958575655545352515049484746454443424140393837363534333231302928272625242322212019181716151413121110987654321C11AVGLC131uF/25VSDIHSYNCVSYNCENABLEDOTCLKC141uF/25V55VGHC13BC15R9R8R7R6R51uF/6VR14R13R12R11R10C13AC21BC161uF/10VC21AC22B1uF/10VC22ASDI_1HSYNC_1VSYNC_1ENABLE_1DOTCLK_1C17TitleSizeBDate:File:Numbervoid FT1505C_Arima2D4_V3(void) {

//VCI=2.8V

RESET=0;

delay_ms(50); RESET=1; delay_ms(10); wr_reg(0x00); wr_reg(0x00); wr_reg(0x00); wr_reg(0x00);

send_host_reg_command(0x002b, 0x0003); send_host_reg_command(0x0000, 0x0001); delay_ms(50);

29-Jan-2008D:\\ft1505c_16bit\\Arima2.4\\FT07_022.ddbSheet of Drawn By:VCOM66RevisionADBC2.1 Arima 2.4 FPC Application Circuit

FT1505C

FocalTech Systems Co., Ltd CONFIDENTIAL Page 9

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123DUMMYVCOMVCOMVCOMVCOMDUMMYVGLVGLDUMMYIM0IM1IM2IM3RESETVSYNCHSYNCDOTCLKENABLEDB17DB16DB15DB14DB13DB12DB11DB10DB9DB8DB7DB6DB5DB4DB3DB2DB1DB0SDOSDIRDWRRSCSFLMIOVCCIOVCCVDDVDDVDDVDDAGNDAGNDAGNDVGSGNDGNDGNDVCOMVCOMVCOMVCOMHVCOMHVCOMLVCOMLVREG1OUTVCLVCLDDVDHDDVDHDDVDHVCI1VCI1VCIVCIVCIVCIVCIVCIVCIC12BC12BC12BC12AC12AC12AC11BC11BC11BC11AC11AC11ADUMMYVGLVGLVGLDUMMYGNDDUMMYVGHVGHVGHDUMMYC13BC13BC13AC13AC21BC21BC21AC21AC22BC22BC22AC22ADUMMYDUMMYDUMMYFOG1FOG2FOG3FOG4VCOMVCOMDUMMY FT1505C

send_host_reg_command(0x0007, 0x0000); delay_ms(50);

send_host_reg_command(0x0012, 0x0000); delay_ms(50);

send_host_reg_command(0x0060, 0xaf00); send_host_reg_command(0x0008, 0x0405); // ------------ Adjust the Gamma Curve --------------// send_host_reg_command(0x0030, 0x0400); send_host_reg_command(0x0031, 0x0307); send_host_reg_command(0x0032, 0x0002); send_host_reg_command(0x0035, 0x0504); send_host_reg_command(0x0036, 0x1810); send_host_reg_command(0x0037, 0x0400); send_host_reg_command(0x0038, 0x0207); send_host_reg_command(0x0039, 0x0400); send_host_reg_command(0x003C, 0x0000); send_host_reg_command(0x003D, 0x0008); // ----------- Adjust the Gamma Curve End----------// send_host_reg_command(0x0010, 0x02c0); send_host_reg_command(0x0011, 0x0247); delay_ms(30); send_host_reg_command(0x0012, 0x0118); delay_ms(30); send_host_reg_command(0x0013, 0x0a00); send_host_reg_command(0x0029, 0x0009); delay_ms(30);

send_host_reg_command(0x0001, 0x0100); send_host_reg_command(0x0002, 0x0700); send_host_reg_command(0x0003, 0x5030); send_host_reg_command(0x0061, 0x0001); send_host_reg_command(0x0090, 0x0110); send_host_reg_command(0x0092, 0x0000); send_host_reg_command(0x0080, 0x0000); send_host_reg_command(0x0081, 0x0000); send_host_reg_command(0x0082, 0x013f); send_host_reg_command(0x0083, 0x0000); send_host_reg_command(0x0084, 0x0000); send_host_reg_command(0x0085, 0x013f);

send_host_reg_command(0x0050, 0x0000); send_host_reg_command(0x0051, 0x00ef); send_host_reg_command(0x0052, 0x0000); send_host_reg_command(0x0053, 0x013f); send_host_reg_command(0x0098, 0x0202); send_host_reg_command(0x0010, 0x12f0); delay_ms(20);

send_host_reg_command(0x0007, 0x0133); }

void seelp_stb_dstb_mode_enter(void) {

FocalTech Systems Co., Ltd CONFIDENTIAL Page 10

FT1505C

//*************Display Off sequence ****************// send_host_reg_command(0x0007, 0x0101); delay_ms(20);

send_host_reg_command(0x0012, 0x0118); delay_ms(20);

send_host_reg_command(0x0007, 0x0100); delay_ms(20);

//*************Power Off sequence ******************// send_host_reg_command(0x0010, 0x1780); send_host_reg_command(0x0011, 0x0247); send_host_reg_command(0x0012, 0x1108); delay_ms(20);

send_host_reg_command(0x0010, 0x1700);

//*************************************************// #ifdef sleep

send_host_reg_command(0x0010, 0x1702); #endif #ifdef standby

send_host_reg_command(0x0010, 0x1701); #endif #ifdef deep_standby

send_host_reg_command(0x0010, 0x1704); #endif }

void seelp_stb_mode_exit(void) {

#ifdef sleep

send_host_reg_command(0x0010, 0x12f0); #endif #ifdef standby

send_host_reg_command(0x0000, 0x0001); delay_ms(50);

send_host_reg_command(0x0010, 0x12f0); #endif

//*************Display On sequence ****************// send_host_reg_command(0x0007, 0x0101); delay_ms(20);

send_host_reg_command(0x0007, 0x0133); delay_ms(20);

send_host_reg_command(0x0012, 0x0118); delay_ms(20); }

//* Exit Deep standby need execute Initial Code //

FocalTech Systems Co., Ltd CONFIDENTIAL Page 11

FT1505C

3. Appendix:

3.1. 80-16bit interface Timing code

void wr_reg(unsigned char cmd) {

RSB=0; CSB=0; P2=0; P0=cmd; WRB=0; _nop_();

WRB=1; CSB=1;

RSB=1; }

void wr_cmd(unsigned char datah, unsigned char datal) {

RSB=1; CSB=0; WRB=0; P2=datah; P0=datal; _nop_(); WRB=1; CSB=1; }

void wr_data(unsigned char datah, unsigned char datal) {

RSB=1; CSB=0; WRB=0; P2= datah; P0= datal; WRB=1; CSB=1; }

3.2. 80-8bit interface Timing code void wr_reg(unsigned char cmd) {

RSB=0; CSB=0; P2=0; P0=0; WRB=0; _nop_(); WRB=1;

FocalTech Systems Co., Ltd CONFIDENTIAL Page 12

FT1505C

P2 = cmd; WRB=0; _nop_();

WRB=1; CSB=1; RSB=1; }

void wr_cmd(unsigned char datah, unsigned char datal) { RSB = 1; CSB=0; WRB=0; P2=datah; WRB=0; _nop_(); WRB=1; P2 = datal; WRB=0; _nop_(); WRB=1; CSB = 1; }

void wr_data(unsigned char datah, unsigned char datal) { RSB = 1; CSB=0; P2= datah; WRB=0; _nop_(); WRB=1; P2 = datal; WRB=0; _nop_(); WRB=1; CSB=1; }

FocalTech Systems Co., Ltd CONFIDENTIAL Page 13

因篇幅问题不能全部显示,请点此查看更多更全内容