观海微GH1001-F+CTO5.5”(HT055BPC01-D) 原理介绍:

Lornell 2023-09-29 21:57:24

 

观海微GH1001-F+CTO5.5”(HT055BPC01-D) 原理如下:

 

 

 

观海微GH1001-F+CTO5.5”(HT055BPC01-D) 代码如下:

 

//---------------------------------------------------------------------------
// Example: 
//        Model  - HT055BPC-01
//        IC     - GH1001-F
//        Width  - 720
//        Height - 1280
//"Vfp" value="16" />
//"Vbp" value="8" />
//"Vsync" value="2" />
//"Hfp" value="90" />
//"Hbp" value="20" />
//"Hsync" value="20" />


    Generic_Short_Write_1P(0xee,0x50);            // ENTER PAGE1
    Generic_Long_Write_2P(0xea,0x85,0x55);        // write enable
    Generic_Short_Write_1P(0x24,0x20);            // te en, bgr, forward backward scan a0 or b0
    Generic_Short_Write_1P(0x30,0x00);            // bist=1 auto run set 90
    Generic_Short_Write_1P(0x31,0x50);            // bist
    Generic_Long_Write_2P(0x90,0x50,0x20);        // ss_tp location
    Generic_Short_Write_1P(0x93,0x00);
    Generic_Short_Write_1P(0x95,0x70);
    Generic_Short_Write_1P(0x97,0x09);            //smart gip enable
    Generic_Short_Write_1P(0x99,0x00);

    //enter page2
    Generic_Short_Write_1P(0xee,0x60);            // enter page2
    //Generic_Short_Write_1P(0x21,0x01);            // OSC
    //Generic_Short_Write_1P(0x25,0x71);            // vref_apf1[2:0]
    Generic_Short_Write_1P(0x27,0x62);            // vddd
    Generic_Short_Write_1P(0x29,0x8c);            // Sd_i_set<3:0> 89
    Generic_Short_Write_1P(0x2a,0x24);            // Sd_trim<2:0> 20
    Generic_Short_Write_1P(0x2c,0x8c);            // Sd_trim<2:0> 8c
    Generic_Short_Write_1P(0x30,0x01);            // 4 LANE 00 = 3lane
    Generic_Short_Write_1P(0x32,0xd9);
    Generic_Short_Write_1P(0x33,0xc3);            // dsi_rts<1:0>=10
    Generic_Short_Write_1P(0x34,0x4a);            // dsi_ihrs<1:0>
    Generic_Short_Write_1P(0x3a,0x26);            // gas value
    Generic_Short_Write_1P(0x3b,0xc2);            // gip s2s-s3s
    Generic_Short_Write_1P(0x3c,0x3f);            // vcom set -1V
    Generic_Short_Write_1P(0x3d,0x11);            // vgl 倍压
    Generic_Short_Write_1P(0x3e,0x93);            // 倍压15.2
    Generic_Long_Write_2P(0x42,0x6e,0x6e);         // vspr ,vsnr 5.2 +1=0.02V
    Generic_Short_Write_1P(0x8a,0x11);            // blank frame number  0x01
    Generic_Short_Write_1P(0x8d,0x05);            // blank vnum h
    Generic_Short_Write_1P(0x8c,0x14);            // blank vnum l
    Generic_Short_Write_1P(0x8b,0x80);            // blank hnum 
    Generic_Short_Write_1P(0x91,0x44);
    Generic_Short_Write_1P(0x92,0x33);
    Generic_Short_Write_1P(0x93,0x9f);
    Generic_Short_Write_1P(0x9a,0x05);            // 720
    Generic_Long_Write_2P(0x9b,0x02,0x80);        // 1280

    //gamma2.2 2021/3/22 VSNR:0X6E(-5.2V) VSPR:OX6E(5.2V)
    Generic_Long_Write_5P(0x5a,0x10,0x20,0x3a,0x45,0x4a);    //gamma n0.4.8.12.20
    Generic_Long_Write_5P(0x47,0x10,0x20,0x3a,0x45,0x4a);    //gamma P0.4.8.12.20
    Generic_Long_Write_5P(0x4c,0x57,0x4d,0x60,0x46,0x4a);    //28.44.64.96.128.
    Generic_Long_Write_5P(0x5f,0x57,0x4d,0x60,0x46,0x4a);    //28.44.64.96.128.
    Generic_Long_Write_5P(0x64,0x4d,0x36,0x4d,0x49,0x57);    //159.191.211.227.235
    Generic_Long_Write_5P(0x51,0x4d,0x36,0x4d,0x49,0x57);    //159.191.211.227.235
    Generic_Long_Write_4P(0x69,0x59,0x63,0x70,0x7f);        //243.247.251.255
    Generic_Long_Write_4P(0x56,0x59,0x63,0x70,0x7f);        //243.247.251.255

    Generic_Short_Write_1P(0xee,0x70); // enter page3
    //STV0 stv1 stv2
    Generic_Long_Write_4P(0x00,0x03,0x07,0x00,0x01);
    Generic_Long_Write_4P(0x04,0x0a,0x0e,0x55,0x01);
    Generic_Long_Write_4P(0x08,0x0f,0x14,0x55,0x01);
    Generic_Long_Write_2P(0x0c,0x55,0x55);
    // CYC0 cyc1
    Generic_Long_Write_5P(0x10,0x04,0x08,0x00,0x01,0x00);
    Generic_Long_Write_4P(0x15,0x00,0x09,0x0d,0x08);
    Generic_Long_Write_2P(0x29,0x55,0x55);

    // forward scan GIP
    // gip0-gip21=gipL1-gipL22 
    Generic_Long_Write_5P(0x60,0x3c,0x06,0x04,0x08,0x3c);  
    Generic_Long_Write_5P(0x65,0x00,0x02,0x3f,0x10,0x12);  
    Generic_Long_Write_5P(0x6a,0x14,0x16,0x3c,0x3c,0x3c);  
    Generic_Long_Write_5P(0x6f,0x3c,0x3c,0x3c,0x3c,0x3c);
    Generic_Long_Write_2P(0x74,0x3c,0x3c);
    // gip22-gip43=gipR1-gipR22 
    Generic_Long_Write_5P(0x80,0x3c,0x07,0x05,0x09,0x3c);  
    Generic_Long_Write_5P(0x85,0x01,0x03,0x3f,0x11,0x13);  
    Generic_Long_Write_5P(0x8a,0x15,0x17,0x3c,0x3c,0x3c);  
    Generic_Long_Write_5P(0x8f,0x3c,0x3c,0x3c,0x3c,0x3c);
    Generic_Long_Write_2P(0x94,0x3c,0x3c);
    /*
    // backward scan GIP
    Generic_Long_Write_5P(0x60,0x3c,0x01,0x03,0x08,0x3c);
    Generic_Long_Write_5P(0x65,0x07,0x05,0x3f,0x13,0x11);
    Generic_Long_Write_5P(0x6a,0x17,0x15,0x3c,0x3c,0x3c);
    Generic_Long_Write_5P(0x6f,0x3c,0x3c,0x3c,0x3c,0x3c);
    Generic_Long_Write_2P(0x74,0x3c,0x3c);
    //gip22-gip43=gipR1-gipR22
    Generic_Long_Write_5P(0x80,0x3c,0x00,0x02,0x08,0x3c);
    Generic_Long_Write_5P(0x85,0x06,0x04,0x3f,0x12,0x10);
    Generic_Long_Write_5P(0x8a,0x16,0x14,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); 
    Generic_Short_Write_1P(0xee,0x00);        // ENTER PAGE0
    DCS_Short_Write_NP(0x11);       // sleep out
    Delay (100);   
    DCS_Short_Write_NP(0x29);      // display on
 

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

457

社区成员

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

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

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

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

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

 

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