观海微GH8555BL-04_Truly6.95’’(TFT7D0179)原理及代码介绍

Lornell 2023-10-29 12:52:02

 

 

观海微GH8555BL-04_Truly6.95’’(TFT7D0179)原理如下:

 

 

 

观海微GH8555BL-04_Truly6.95’’(TFT7D0179)代码如下:

 

 

//Model  - GH8558BL-04
// TFT7D0179
//Width  - 600
//Height - 1024
//HS  -- 20
//HBP -- 20
//HFP -- 90
//VS  -- 4
//VBP -- 6
//VFP -- 20

Generic_Short_Write_1P(0xee,0x50);        //ENTER PAGE1
Generic_Long_Write_2P(0xea,0x85,0x55);    //write enable
Generic_Short_Write_1P(0x20,0x00); 
Generic_Short_Write_1P(0x24,0xb0);        //mirror te
Generic_Short_Write_1P(0x30,0x00);        // bist=1
Generic_Short_Write_1P(0x31,0x50);        // bist=1
Generic_Long_Write_3P(0x39,0x05,0x07,0x10); // vsa vbp vfp 02 07 10
Generic_Short_Write_1P(0x56,0x83); 
//Generic_Short_Write_1P(0x79,0x00);        // zigzag
Generic_Short_Write_1P(0x7a,0x20);            //
Generic_Short_Write_1P(0x7b,0x00);            // rgb seq
Generic_Short_Write_1P(0x80,0x10); 
Generic_Long_Write_2P(0x90,0x30,0x40);       // ss_tp location
Generic_Short_Write_1P(0x93,0xf8);        //ss chop
Generic_Short_Write_1P(0x95,0x71);        // column invertion
Generic_Short_Write_1P(0x97,0x09);        //smart gip disable 37,07 enable
Generic_Short_Write_1P(0x99,0x10);        // ss_tp de ndg
//enter page2
Generic_Short_Write_1P(0xee,0x60);         // enter page2
Generic_Short_Write_1P(0x21,0x00); 
Generic_Short_Write_1P(0x27,0x62);        
Generic_Short_Write_1P(0x2c,0xf9); 
Generic_Short_Write_1P(0x29,0x8a); 
Generic_Short_Write_1P(0x30,0x01);         // 4 LANE
Generic_Short_Write_1P(0x31,0xaf); 
Generic_Short_Write_1P(0x32,0xda);         //vrs_tldo
Generic_Short_Write_1P(0x33,0xf3);
Generic_Short_Write_1P(0x34,0x3f);        
Generic_Short_Write_1P(0x3a,0x24); 
Generic_Short_Write_1P(0x3b,0x00);        
Generic_Short_Write_1P(0x3c,0x0b);       //VCOM SET
Generic_Short_Write_1P(0x3d,0x02);       //vgl//02
Generic_Short_Write_1P(0x3e,0x83);      //vgh//A7
Generic_Short_Write_1P(0x42,0x65);       //vspr
Generic_Short_Write_1P(0x43,0x65);       //vsnr
Generic_Short_Write_1P(0x44,0x0b);       //vgh 17V vgl -9.V
Generic_Short_Write_1P(0x46,0x13);      //vgh 17V    vgl -9V
Generic_Short_Write_1P(0x86,0x20); 
Generic_Short_Write_1P(0x89,0x00); 
Generic_Short_Write_1P(0x8a,0xaa);        // blkh,1
Generic_Short_Write_1P(0x91,0x44);        
Generic_Short_Write_1P(0x92,0x33);        //frq_cp1_clk[2:0]
Generic_Short_Write_1P(0x93,0x9f);        //fp7721 power
Generic_Short_Write_1P(0x9a,0x07);        //s_out=600
Generic_Long_Write_2P(0x9b,0x02,0x00);    //vlength=1024
// gamma 2.2  2020/04/08
/*
Generic_Long_Write_5P(0x5a,0x00,0x1A,0x2D,0x39,0x3D);        //gamma n 0.4.8.12.20
Generic_Long_Write_5P(0x47,0x00,0x1A,0x2D,0x39,0x3D);       //gamma P0.4.8.12.20
Generic_Long_Write_5P(0x4c,0x4A,0x42,0x53,0x34,0x33);      //28.44.64.96.128.
Generic_Long_Write_5P(0x5f,0x4A,0x42,0x53,0x34,0x33);     //28.44.64.96.128.
Generic_Long_Write_5P(0x64,0x26,0x0C,0x22,0x1D,0x27);        //159.191.211.227.235
Generic_Long_Write_5P(0x51,0x3F,0x24,0x37,0x30,0x3B);      //159.191.211.227.235
Generic_Long_Write_4P(0x69,0x2C,0x3A,0x4B,0x6B);          //243.247.251.255
Generic_Long_Write_4P(0x56,0x3F,0x48,0x5C,0x7f);          //243.247.251.255
*/
Generic_Long_Write_5P(0x5a,0x00,0x1A,0x2D,0x39,0x3D);        //gamma n 0.4.8.12.20
Generic_Long_Write_5P(0x47,0x00,0x1A,0x2D,0x39,0x3D);      ///gamma P0.4.8.12.20
Generic_Long_Write_5P(0x4c,0x4A,0x42,0x53,0x34,0x34);      //28.44.64.96.128.
Generic_Long_Write_5P(0x5f,0x4A,0x42,0x53,0x34,0x34);     //28.44.64.96.128.
Generic_Long_Write_5P(0x64,0x2a,0x12,0x27,0x24,0x33);        //159.191.211.227.235
Generic_Long_Write_5P(0x51,0x43,0x29,0x3d,0x37,0x43);      //159.191.211.227.235
Generic_Long_Write_4P(0x69,0x2f,0x3f,0x4f,0x6f);          //243.247.251.255
Generic_Long_Write_4P(0x56,0x3F,0x4f,0x5f,0x7f);  

Generic_Short_Write_1P(0xee,0x70);
// STV0
Generic_Long_Write_4P(0x00,0x01,0x05,0x00,0x01);  //
Generic_Long_Write_4P(0x04,0x06,0x0a,0x44,0x01);  //
Generic_Long_Write_2P(0x0C,0x05,0x05);
// CYC0
Generic_Long_Write_5P(0x10,0x06,0x0a,0x00,0x00,0x00);
Generic_Long_Write_5P(0x15,0x00,0x19,0x0c,0x08,0x00);
Generic_Long_Write_5P(0x20,0x02,0x06,0x00,0x00,0x00);
Generic_Long_Write_5P(0x25,0x00,0x15,0x0c,0x07,0x00);
Generic_Long_Write_2P(0x29,0x05,0x05);
//gip clk scaler
Generic_Short_Write_1P(0x45,0x01);
Generic_Long_Write_5P(0x46,0xff,0x00,0x00,0x00,0x50);
Generic_Short_Write_1P(0x4b,0x88);
/*
//gip0-gip21=gipL1-gipL22 (forward scan)
Generic_Long_Write_5P(0x60,0x3c,0x05,0x07,0x19,0x1d);
Generic_Long_Write_5P(0x65,0x1b,0x1f,0x11,0x11,0x3c);
Generic_Long_Write_5P(0x6a,0x3c,0x3c,0x3c,0x15,0x15);
Generic_Long_Write_5P(0x6f,0x13,0x13,0x17,0x17,0x01);
Generic_Long_Write_2P(0x74,0x03,0x3c);
//gip22-gip43=gipR1-gipR22 (forward scan)
Generic_Long_Write_5P(0x80,0x3c,0x04,0x06,0x18,0x1c);
Generic_Long_Write_5P(0x85,0x1a,0x1e,0x10,0x10,0x3c);
Generic_Long_Write_5P(0x8a,0x3c,0x3c,0x3c,0x14,0x14);
Generic_Long_Write_5P(0x8f,0x12,0x12,0x16,0x16,0x00);
Generic_Long_Write_2P(0x94,0x02,0x3c);
*/

//gip0-gip21=gipL1-gipL22 (backward scan)
Generic_Long_Write_5P(0x60,0x3c,0x02,0x00,0x1A,0x1E);
Generic_Long_Write_5P(0x65,0x18,0x1C,0x16,0x16,0x3c);
Generic_Long_Write_5P(0x6a,0x3c,0x3c,0x3c,0x12,0x12);
Generic_Long_Write_5P(0x6f,0x14,0x14,0x10,0x10,0x06);
Generic_Long_Write_2P(0x74,0x04,0x3c);

//gip22-gip43=gipR1-gipR22 (backward scan)
Generic_Long_Write_5P(0x80,0x3c,0x03,0x01,0x1B,0x1F);
Generic_Long_Write_5P(0x85,0x19,0x1D,0x17,0x17,0x3c);
Generic_Long_Write_5P(0x8a,0x3c,0x3c,0x3c,0x13,0x13);
Generic_Long_Write_5P(0x8f,0x15,0x15,0x11,0x11,0x07);
Generic_Long_Write_2P(0x94,0x05,0x3c);

Generic_Long_Write_2P(0xea,0x00,0x00);     // write enable
Generic_Short_Write_1P(0xee,0x00);        // ENTER PAGE0

DCS_Short_Write_NP(0x11);       // sleep out
Delay (200);
DCS_Short_Write_NP(0x29);      // display on
Delay (200);

 

 

...全文
101 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

457

社区成员

发帖
与我相关
我的任务
社区描述
一个有态度的互联网技术分享社区,主要方向:数据库、后端Java/C#、前端、运维、操作系统、硬件知识、架构基础技术文章分享、技术交流。也会定期分享各种学习资源、福利红包等。希望大家可以互相进步!
数据库后端运维 个人社区 江苏省·苏州市
社区管理员
  • IT技术分享社区
  • 80后大叔爱学习
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

这是一个有态度的互联网技术交流社区,主要方向:数据库、后端、前端、开发工具、操作系统、运维、架构知识内容分享。

大家也可以把日常工作的问题也可以发帖子,大家共同解决、互帮互助。

互联网是一个开放共享的平台,一个人的力量远远不够,需要大家一起努力,产生的力量才会坚不可摧!

在这里小编期待大家的加入,如有问题可以随时沟通,相信大家都会越来越好!

 

试试用AI创作助手写篇文章吧