观海微GH8555BL-04_CSOT10.1(BNA100ZS1-1)原理及代码介绍

Lornell 2023-11-25 14:18:19

 

观海微GH8555BL-04_CSOT10.1(BNA100ZS1-1)原理如下:

 

 

 

观海微GH8555BL-04_CSOT10.1(BNA100ZS1-1)代码如下:

 

//---------------------------------------------------------------------------
// Example: 
//        Model  - BNA100ZS1-1
//        IC     - GH8555BL-04
//        Width  - 800
//        Height - 1280
//        VER:    - V01
//        Data    - 2023/11/22
//"Vfp" value="20" />

//"Vbp" value="8" />

//"Vsync" value="8" />

//"Hfp" value="80" />

//"Hbp" value="20" />

//"Hsync" value="20" />

    Generic_Short_Write_1P(0xee,0x50);            // page 1
    Generic_Long_Write_2P(0xea,0x85,0x55);
    Generic_Short_Write_1P(0x20,0x00);
    Generic_Short_Write_1P(0x24,0xa0);            // rgb  TE
    //Generic_Short_Write_1P(0x24,0xb0);            // backword
    Generic_Short_Write_1P(0x30,0x00);            // bist
    Generic_Short_Write_1P(0x35,0x00);
    Generic_Short_Write_1P(0x50,0x00); 
    Generic_Short_Write_1P(0x56,0x83);              
    Generic_Short_Write_1P(0x79,0x05);            // zigzag
    //Generic_Short_Write_1P(0x79,0x04);            // backword
    Generic_Short_Write_1P(0x7a,0x20);
    Generic_Short_Write_1P(0x7d,0x00);
    Generic_Short_Write_1P(0x80,0x10);            // te v width
    Generic_Long_Write_2P(0x90,0x20,0x40);        // ss_tp
    Generic_Short_Write_1P(0x93,0xf8);
    Generic_Short_Write_1P(0x95,0x74);            // inv 
    Generic_Short_Write_1P(0x97,0x09);            // smart gip
    Generic_Short_Write_1P(0x99,0x10);            // ss_delay

    Generic_Short_Write_1P(0xee,0x60);            // page 2
    Generic_Short_Write_1P(0x21,0x01);
    Generic_Short_Write_1P(0x27,0x62);            // vddd
    Generic_Short_Write_1P(0x2c,0xf9);
    Generic_Short_Write_1P(0x29,0x8a); 
    Generic_Short_Write_1P(0x30,0x01);
    Generic_Short_Write_1P(0x31,0xaf);
    Generic_Short_Write_1P(0x32,0xda);            // vrs_tldo
    Generic_Short_Write_1P(0x33,0xf3);            // dsi_rts<1:0>=10  
    Generic_Short_Write_1P(0x34,0x3f); 
    Generic_Short_Write_1P(0x3a,0x24);            // gas off
    Generic_Short_Write_1P(0x3b,0x00);            // gip_s3s
    Generic_Short_Write_1P(0x3C,0x27);            // VCOM  -0.911V 
    Generic_Long_Write_2P(0x3d,0x01,0x83);        // VGH=16.05V   VGL=-10.39V 
    Generic_Long_Write_2P(0x42,0x56,0x56);        // VOP=4.7V
    Generic_Short_Write_1P(0x44,0x08);            // VGH=15.00v
    Generic_Short_Write_1P(0x46,0xda);            // VGL=-11.00v
    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);
    Generic_Short_Write_1P(0x93,0x9b);            // vcsw1=1 vcsw2=0
    Generic_Short_Write_1P(0x9a,0x00);            // 800 
    Generic_Long_Write_2P(0x9b,0x02,0x80);        // 1280

    //gamma2.2--2023/11/22  VOP=4.7V
    Generic_Long_Write_5P(0x47,0x1a,0x34,0x3c,0x3f,0x3d);    //gamma P0.4.8.12.20
    Generic_Long_Write_5P(0x5a,0x1a,0x34,0x3c,0x3f,0x3d);    //gamma n 0.4.8.12.20

    Generic_Long_Write_5P(0x4c,0x48,0x41,0x53,0x34,0x35);    //28.44.64.96.128. 
    Generic_Long_Write_5P(0x5f,0x48,0x41,0x53,0x34,0x35);    //28.44.64.96.128. 

    Generic_Long_Write_5P(0x51,0x35,0x19,0x2d,0x27,0x37);    //159.191.211.227.235 
    Generic_Long_Write_5P(0x64,0x35,0x19,0x2d,0x27,0x37);    //159.191.211.227.235  

    Generic_Long_Write_4P(0x56,0x37,0x47,0x5b,0x7f);        //243.247.251.255
    Generic_Long_Write_4P(0x69,0x37,0x47,0x5b,0x7f);        //243.247.251.255

/*    
    //gamma2.5--2023/11/22  VOP=4.7V
    Generic_Long_Write_5P(0x47,0x18,0x32,0x3a,0x3d,0x3a);    //gamma P0.4.8.12.20
    Generic_Long_Write_5P(0x5a,0x18,0x32,0x3a,0x3d,0x3a);    //gamma n 0.4.8.12.20

    Generic_Long_Write_5P(0x4c,0x45,0x3d,0x4f,0x2d,0x2e);    //28.44.64.96.128. 
    Generic_Long_Write_5P(0x5f,0x45,0x3d,0x4f,0x2d,0x2e);    //28.44.64.96.128. 

    Generic_Long_Write_5P(0x51,0x2e,0x15,0x29,0x22,0x33);    //159.191.211.227.235 
    Generic_Long_Write_5P(0x64,0x2e,0x15,0x29,0x22,0x33);    //159.191.211.227.235  

    Generic_Long_Write_4P(0x56,0x33,0x43,0x55,0x7f);        //243.247.251.255
    Generic_Long_Write_4P(0x69,0x33,0x43,0x55,0x7f);        //243.247.251.255
*/

    Generic_Short_Write_1P(0xee,0x70);            // page 3  
      // STV0   stv1
    Generic_Long_Write_4P(0x00,0x00,0x04,0x00,0x01);  
     Generic_Long_Write_4P(0x04,0x1f,0x23,0x55,0x01);  
    Generic_Long_Write_2P(0x0c,0x35,0x05);
    //gip-cyc0
    Generic_Long_Write_5P(0x10,0x02,0x06,0x00,0x00,0x00); //read 
     Generic_Long_Write_5P(0x15,0x00,0x06,0x0d,0x08,0x00);  //read
    Generic_Long_Write_2P(0x29,0x35,0x05);
    //gip-flm0
    Generic_Long_Write_6P(0x30,0x0f,0x0f,0x55,0x3d,0x3d,0x64);  
    Generic_Long_Write_6P(0x36,0x0f,0x0f,0x55,0x3d,0x3d,0x64);    

    //gip0-gip21=gipL1-gipL22 (forward scan)
    Generic_Long_Write_5P(0x60,0x01,0x01,0x04,0x04,0x3f);
    Generic_Long_Write_5P(0x65,0x3f,0x3c,0x3c,0x20,0x20);
    Generic_Long_Write_5P(0x6a,0x21,0x21,0x13,0x13,0x11);
    Generic_Long_Write_5P(0x6f,0x11,0x17,0x17,0x15,0x15);
    Generic_Long_Write_2P(0x74,0x3c,0x3c);

    //gip22-gip43=gipR1-gipR22 (forward scan)
    Generic_Long_Write_5P(0x80,0x00,0x00,0x04,0x04,0x3f);
    Generic_Long_Write_5P(0x85,0x3f,0x3c,0x3c,0x20,0x20);
    Generic_Long_Write_5P(0x8a,0x21,0x21,0x12,0x12,0x10);
    Generic_Long_Write_5P(0x8f,0x10,0x16,0x16,0x14,0x14);
    Generic_Long_Write_2P(0x94,0x3c,0x3c);


/*
    //gip0-gip21=gipL1-gipL22 (backward scan)
    Generic_Long_Write_5P(0x60,0x00,0x00,0x04,0x04,0x3c);
    Generic_Long_Write_5P(0x65,0x3c,0x3f,0x3f,0x20,0x20);
    Generic_Long_Write_5P(0x6a,0x21,0x21,0x14,0x14,0x16);
    Generic_Long_Write_5P(0x6f,0x16,0x10,0x10,0x12,0x12);
    Generic_Long_Write_2P(0x74,0x3c,0x3c);

    //gip22-gip43=gipR1-gipR22 (backward scan)
    Generic_Long_Write_5P(0x80,0x01,0x01,0x04,0x04,0x3c);
    Generic_Long_Write_5P(0x85,0x3c,0x3f,0x3f,0x20,0x20);
    Generic_Long_Write_5P(0x8a,0x21,0x21,0x15,0x15,0x17);
    Generic_Long_Write_5P(0x8f,0x17,0x11,0x11,0x13,0x13);
    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 (120);

    DCS_Short_Write_NP(0x29);      // display on
    Delay (10);

 

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

457

社区成员

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

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

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

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

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

 

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