观海微GH8555BL-04+HKC6.95’’(QP070AS01-1)原理及代码介绍

Lornell 2023-10-29 12:47:35

观海微GH8555BL-04+HKC6.95’’(QP070AS01-1)原理如下:

 

 

 

 

 

观海微GH8555BL-04+HKC6.95’’(QP070AS01-1)代码如下:

 

//---------------------------------------------------------------------------
// 
//        Model  - QP070AS01-1
//        IC     - GH8555BL_04
//        Width  - 600
//        Height - 1024
//        PHONE  - 
//        VER    - V01
//        DATA    - 2023-10-20  // 
//        VS:  8
//        VBP: 8
//        VFP: 30
//        HS: 20
//        HBP: 20
//        HFP: 80


//enter page1
Generic_Short_Write_1P(0xee,0x50);            // ENTER PAGE1
Generic_Long_Write_2P(0xea,0x85,0x55);        // write enable
Generic_Short_Write_1P(0x24,0xa0);            // mirror te
Generic_Short_Write_1P(0x30,0x00);            // bist=1
Generic_Short_Write_1P(0x35,0x00);            // bist=1
Generic_Long_Write_3P(0x39,0x05,0x07,0x10);    // vsa vbp vfp 02 07 10
Generic_Short_Write_1P(0x50,0x00);
Generic_Short_Write_1P(0x56,0x83);
Generic_Short_Write_1P(0x79,0x05);            // zigzag
Generic_Short_Write_1P(0x7a,0x20);
Generic_Short_Write_1P(0x7d,0x00);            // rgb seq
Generic_Long_Write_2P(0x90,0x20,0x40);        // ss_tp location
Generic_Short_Write_1P(0x93,0xf8);            // ss chop
Generic_Short_Write_1P(0x95,0x74);            // 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,0x01);
Generic_Short_Write_1P(0x27,0x62);        
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,0xc3);
Generic_Short_Write_1P(0x34,0x3f);
Generic_Short_Write_1P(0x3a,0x24);
Generic_Short_Write_1P(0x3b,0x00);        
Generic_Short_Write_1P(0x3c,0x2f);            // VCOM SET
Generic_Short_Write_1P(0x3d,0x02);            // vgl
Generic_Short_Write_1P(0x3e,0x83);            // vgh
Generic_Short_Write_1P(0x42,0x65);            // vspr
Generic_Short_Write_1P(0x43,0x65);            // vsnr
Generic_Short_Write_1P(0x44,0x08);            // vgh 15V vgl -11V
Generic_Short_Write_1P(0x46,0xd9);            // vgh 15V vgl -11V
Generic_Short_Write_1P(0x86,0x20);
Generic_Short_Write_1P(0x89,0x00); 
Generic_Short_Write_1P(0x8A,0xaa);
Generic_Short_Write_1P(0x91,0x44);        
Generic_Short_Write_1P(0x92,0x33);            // frq_cp1_clk[2:0]
Generic_Short_Write_1P(0x93,0x9b);            // fp7721 power
Generic_Short_Write_1P(0x9a,0x07);            // s_out=600
Generic_Long_Write_2P(0x9b,0x02,0x00);        // vlength=1024

// gamma 2.2  2023/10/20
Generic_Long_Write_5P(0x5a,0x00,0x1A,0x2A,0x30,0x35);    //gamma n 0.4.8.12.20
Generic_Long_Write_5P(0x47,0x00,0x1A,0x2A,0x30,0x35);    //gamma P0.4.8.12.20
Generic_Long_Write_5P(0x4c,0x5A,0x58,0x67,0x4D,0x4C);    //28.44.64.96.128.
Generic_Long_Write_5P(0x5f,0x5A,0x58,0x67,0x4D,0x4C);    //28.44.64.96.128.
Generic_Long_Write_5P(0x64,0x4C,0x32,0x46,0x45,0x4F);    //159.191.211.227.235
Generic_Long_Write_5P(0x51,0x4C,0x32,0x46,0x45,0x4F);    //159.191.211.227.235
Generic_Long_Write_4P(0x69,0x51,0x5F,0x6F,0x7F);        //243.247.251.255
Generic_Long_Write_4P(0x56,0x51,0x5F,0x6F,0x7F);        //243.247.251.255
/*
// gamma 2.5  2023/10/20
Generic_Long_Write_5P(0x5a,0x00,0x1A,0x2A,0x30,0x35);    //gamma n 0.4.8.12.20
Generic_Long_Write_5P(0x47,0x00,0x1A,0x2A,0x30,0x35);    //gamma P0.4.8.12.20
Generic_Long_Write_5P(0x4c,0x55,0x50,0x57,0x46,0x44);    //28.44.64.96.128.
Generic_Long_Write_5P(0x5f,0x55,0x50,0x57,0x46,0x44);    //28.44.64.96.128.
Generic_Long_Write_5P(0x64,0x46,0x2D,0x41,0x3F,0x4C);    //159.191.211.227.235
Generic_Long_Write_5P(0x51,0x46,0x2D,0x41,0x3F,0x4C);    //159.191.211.227.235
Generic_Long_Write_4P(0x69,0x4A,0x5F,0x6F,0x7F);        //243.247.251.255
Generic_Long_Write_4P(0x56,0x4A,0x5F,0x6F,0x7F);        //243.247.251.255
*/
Generic_Short_Write_1P(0xee,0x70);
// STV
Generic_Long_Write_4P(0x00,0x05,0x09,0x00,0x01);  
Generic_Long_Write_4P(0x04,0x0b,0x0e,0x44,0x01);
Generic_Long_Write_4P(0x08,0x0F,0x14,0x44,0x01); 
Generic_Long_Write_2P(0x0c,0x05,0x05);
// CYC0
Generic_Long_Write_5P(0x10,0x07,0x0a,0x00,0x00,0x00);
Generic_Long_Write_5P(0x15,0x00,0x06,0x0c,0x08,0x00);
Generic_Long_Write_2P(0x29,0x05,0x05);

//FOREWARD SCAN
Generic_Long_Write_5P(0x60,0x3C,0x3C,0x08,0x04,0x3F);
Generic_Long_Write_5P(0x65,0x3C,0x11,0x13,0x15,0x17);
Generic_Long_Write_5P(0x6a,0x01,0x3c,0x3c,0x3c,0x3c);
Generic_Long_Write_5P(0x6f,0x3c,0x3c,0x3c,0x3c,0x3c);
Generic_Long_Write_2P(0x74,0x3c,0x3c);

Generic_Long_Write_5P(0x80,0x3C,0x3C,0x08,0x04,0x3F);
Generic_Long_Write_5P(0x85,0x3C,0x10,0x12,0x14,0x16);
Generic_Long_Write_5P(0x8a,0x00,0x3c,0x3c,0x3c,0x3c);
Generic_Long_Write_5P(0x8f,0x3c,0x3c,0x3c,0x3c,0x3c);
Generic_Long_Write_2P(0x94,0x3c,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);
 

 

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

457

社区成员

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

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

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

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

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

 

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