打印

观海微GH8555BL+Boe6.98(GV070HDU-N1)搭配原理及代码

[复制链接]
508|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
草莓|  楼主 | 2022-12-15 09:42 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
#申请原创# #每日话题# #有奖活动# #技术资源#

观海微GH8555BL+Boe6.98(GV070HDU-N1)搭配原理请参考如下AN:





观海微GH8555BL+Boe6.98(GV070HDU-N1)搭配代码参考如下:

    Generic_Short_Write_1P(0xee,0x50);        // ENTER PAGE1
    Generic_Long_Write_2P(0xea,0x85,0x55);    // write enable
    Generic_Short_Write_1P(0x30,0x00);      // bist=1
    Generic_Short_Write_1P(0x31,0x00);      // bist=1     
     Generic_Long_Write_2P(0x90,0x50,0x05);   // ss_tp location
    Generic_Short_Write_1P(0x24,0x20);        //    mirror te
    Generic_Short_Write_1P(0x99,0x00);        // ss_tp de ndg
    Generic_Short_Write_1P(0x79,0x08);        // zigzag
    Generic_Short_Write_1P(0x95,0x74);        // column invertion
     Generic_Short_Write_1P(0x7a,0x20);        //
    Generic_Short_Write_1P(0x93,0x67);
    Generic_Short_Write_1P(0x97,0x08);
    Generic_Short_Write_1P(0x7d,0x08);
    Generic_Short_Write_1P(0x56,0x83);

    //enter page2
    Generic_Short_Write_1P(0xee,0x60);     // enter page2
    Generic_Short_Write_1P(0x21,0x01);     // OSC
    Generic_Short_Write_1P(0x27,0x22);       //vddd
    Generic_Short_Write_1P(0x29,0x8f);//iset
    Generic_Short_Write_1P(0x2a,0x26);//s-trim
    Generic_Short_Write_1P(0x30,0x01);     // 4 LANE
    Generic_Short_Write_1P(0x34,0x2f);       //dsi_ihrs<1:0>
    Generic_Short_Write_1P(0x3c,0x40);       //VCOM SET
    Generic_Short_Write_1P(0x3b,0x00);
    Generic_Short_Write_1P(0x3d,0x11);       //vgl
    Generic_Short_Write_1P(0x3e,0x93);      //vgh
    Generic_Short_Write_1P(0x42,0x79);       //vspr   
    Generic_Short_Write_1P(0x43,0x79);       //vsnr
    Generic_Short_Write_1P(0x86,0x20);        //
    Generic_Short_Write_1P(0x89,0x00);        // blkh,1
    Generic_Short_Write_1P(0x8b,0x90);        // blkh,1
    Generic_Short_Write_1P(0x8d,0x45);        //
    //Generic_Short_Write_1P(0x90,0x01);        // pm10
    Generic_Short_Write_1P(0x91,0x11);        // frq_vgh_clk frq_vgl_clk/
    Generic_Short_Write_1P(0x92,0x11);    //    frq_cp1_clk[2:0]
    Generic_Short_Write_1P(0x93,0x9f);    //   fp7721 power

    Generic_Short_Write_1P(0x9a,0x05);           //   s_out=720
    Generic_Short_Write_1P(0x9c,0x80);           //  vlength=1280


    // gamma 2.2  2020/09/14
    /*
     Generic_Long_Write_5P(0x5a,0x12,0x30,0x3e,0x45,0x3f);    //gamma n 0.4.8.12.20
     Generic_Long_Write_5P(0x47,0x12,0x30,0x3e,0x45,0x3f);  ///gamma P0.4.8.12.20

     Generic_Long_Write_5P(0x4c,0x45,0x3e,0x49,0x24,0x20);  //28.44.64.96.128.
     Generic_Long_Write_5P(0x5f,0x45,0x3e,0x49,0x24,0x20); //28.44.64.96.128.

    Generic_Long_Write_5P(0x64,0x1f,0x03,0x17,0x11,0x23);//159.191.211.227.235  
     Generic_Long_Write_5P(0x51,0x1f,0x03,0x17,0x11,0x23);  //159.191.211.227.235

    Generic_Long_Write_4P(0x69,0x26,0x36,0x45,0x7f);  //243.247.251.255
     Generic_Long_Write_4P(0x56,0x26,0x36,0x45,0x7f);  //243.247.251.255
    */
    // gamma 2.5  2020/09/28
     Generic_Long_Write_5P(0x5a,0x12,0x30,0x3e,0x43,0x3f);    //gamma n 0.4.8.12.20
     Generic_Long_Write_5P(0x47,0x12,0x30,0x3e,0x43,0x3f);  ///gamma P0.4.8.12.20

     Generic_Long_Write_5P(0x4c,0x45,0x37,0x46,0x24,0x22);  //28.44.64.96.128.
     Generic_Long_Write_5P(0x5f,0x45,0x37,0x46,0x24,0x22); //28.44.64.96.128.

    Generic_Long_Write_5P(0x64,0x21,0x06,0x1a,0x14,0x22);//159.191.211.227.235  
     Generic_Long_Write_5P(0x51,0x21,0x06,0x1a,0x14,0x22);  //159.191.211.227.235

    Generic_Long_Write_4P(0x69,0x27,0x33,0x45,0x7f);  //243.247.251.255
     Generic_Long_Write_4P(0x56,0x27,0x33,0x45,0x7f);  //243.247.251.255


    Generic_Short_Write_1P(0xee,0x70);  
    // STV0
    Generic_Long_Write_5P(0x00,0x07,0x0a,0x00,0x01,0x09);  //
    Generic_Long_Write_5P(0x05,0x0c,0x55,0x01,0x00,0x00);  //
     Generic_Long_Write_2P(0x0C,0x05,0x5d);
   // CYC0
      Generic_Long_Write_5P(0x10,0x08,0x09,0x00,0x00,0x09);
     Generic_Long_Write_5P(0x15,0x0c,0x07,0x0d,0x08,0x00);  
    Generic_Long_Write_2P(0x29,0x05,0x5d);

     //gip0-gip21=gipL1-gipL22 (UPscan)
    Generic_Long_Write_5P(0x80,0x12,0x12,0x10,0x10,0x16);  
     Generic_Long_Write_5P(0x85,0x16,0x14,0x14,0x00,0x3c);  
    Generic_Long_Write_5P(0x8a,0x3c,0x3c,0x3c,0x3c,0x3c);  
    Generic_Long_Write_5P(0x8f,0x02,0x3c,0x3c,0x3C,0x3C);
    Generic_Long_Write_2P(0x94,0x3C,0x3c);

    //gip22-gip43=gipR1-gipR22 (UPscan)
    Generic_Long_Write_5P(0x60,0x13,0x13,0x11,0x11,0x17);  
     Generic_Long_Write_5P(0x65,0x17,0x15,0x15,0x01,0x3c);  
    Generic_Long_Write_5P(0x6a,0x3c,0x3c,0x3c,0x3c,0x3c);  
    Generic_Long_Write_5P(0x6f,0x04,0x3c,0x3c,0x3C,0x3C);
    Generic_Long_Write_2P(0x74,0x3C,0x3c);

/*
    //gip0-gip21=gipL1-gipL22 (downscan)
    Generic_Long_Write_5P(0x60,0x15,0x15,0x17,0x17,0x11);  
     Generic_Long_Write_5P(0x65,0x11,0x13,0x13,0x03,0x3c);  
    Generic_Long_Write_5P(0x6a,0x3c,0x3c,0x3c,0x3c,0x3c);  
    Generic_Long_Write_5P(0x6f,0x01,0x3c,0x3c,0x3C,0x3C);
    Generic_Long_Write_2P(0x74,0x3C,0x3c);

    //gip22-gip43=gipR1-gipR22 (downscan)
    Generic_Long_Write_5P(0x80,0x14,0x14,0x16,0x16,0x10);  
     Generic_Long_Write_5P(0x85,0x10,0x12,0x12,0x02,0x3c);  
    Generic_Long_Write_5P(0x8a,0x3c,0x3c,0x3c,0x3c,0x3c);  
    Generic_Long_Write_5P(0x8f,0x00,0x3c,0x3c,0x3C,0x3C);
    Generic_Long_Write_2P(0x94,0x3C,0x3c);
   
    Generic_Long_Write_2P(0xea,0x00,0x00);
    Generic_Short_Write_1P(0xee,0x00);

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


使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

26

主题

26

帖子

0

粉丝