打印
[资料干货]

观海微GH8555BL+BOE8.0’’(TV080WXU_T86//N10/N46)搭配原理及代码

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

观海微GH8555BL+BOE8.0’’(TV080WXU_T86/N10/N46)搭配原理请参考如下AN:









观海微GH8555BL+BOE8.0’’(TV080WXU_T86/N10/N46)搭配代码参考如下:


//---------------------------------------------------------------------------
//
//        Model  -  TV080WXQ-N86
//        IC     - GH8555BL
//        Width  - 800
//        Height - 1280

//        vsync:  8
//        VBP:       8
//        VFP:       15
//        HSYNC:  20
//        HBP:       20
//        HFP:       90


    //Set_SPI(9, 9);
    //enter page1
    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_Long_Write_3P(0x39,0x02,0x07,0x10); // vsa vbp vfp   
     Generic_Long_Write_2P(0x90,0x50,0x10);   // 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(0x93,0x66);        // ss chop
    Generic_Short_Write_1P(0x95,0x74);        // column invertion
    Generic_Short_Write_1P(0x97,0x0a);       //  smart gip
    Generic_Short_Write_1P(0x79,0x08);        // zigzag
     Generic_Short_Write_1P(0x7a,0x00);        //
    Generic_Short_Write_1P(0x7b,0x00);        // rgb seq
     Generic_Short_Write_1P(0x7d,0x00);        //
    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(0x25,0x71);       //vref_apf1[2:0]
    Generic_Short_Write_1P(0x27,0x62);       //vddd
    Generic_Short_Write_1P(0x29,0x8a);       //Sd_i_set<3:0>
    Generic_Short_Write_1P(0x2a,0x26);       //Sd_trim<2:0>
    Generic_Short_Write_1P(0x30,0x01);       // 4 LANE
    Generic_Short_Write_1P(0x34,0x2f);       //dsi_ihrs<1:0>
    Generic_Short_Write_1P(0x3a,0xa4);       //gas off
    Generic_Short_Write_1P(0x3b,0x00);       //gas off
    Generic_Short_Write_1P(0x3c,0x43);       //VCOM SET
    Generic_Short_Write_1P(0x3d,0x11);       //vgl
    Generic_Short_Write_1P(0x3e,0x93);      //vgh
    Generic_Short_Write_1P(0x42,0x5a);       //vspr   
    Generic_Short_Write_1P(0x43,0x5a);       //vsnr  
    Generic_Short_Write_1P(0x7f,0x24);        // vcsw delay
    Generic_Short_Write_1P(0x80,0x24);        //
    Generic_Short_Write_1P(0x89,0x55);        // blkh,1
    Generic_Short_Write_1P(0x8b,0x90);        // blkh,1
    Generic_Short_Write_1P(0x8d,0x45);        //
    Generic_Short_Write_1P(0x90,0x01);        // pm10  JF  open
    Generic_Short_Write_1P(0x91,0x11);        // frq_vgh_clk frq_vgl_clk/
    Generic_Short_Write_1P(0x92,0x22);        //    frq_cp1_clk[2:0]
    Generic_Short_Write_1P(0x93,0x9f);        //   fp7721 power    93 for Jf
    Generic_Short_Write_1P(0x9a,0x00);           //   s_out=800
    Generic_Short_Write_1P(0x9c,0x80);           //  vlength=1280   


    // gamma 2.2  2020/04/08
    Generic_Long_Write_5P(0x5a,0x15,0x2a,0x35,0x45,0x3f);    //gamma n 0.4.8.12.20
    Generic_Long_Write_5P(0x47,0x15,0x2a,0x35,0x45,0x3f);  ///gamma P0.4.8.12.200x05,0x21,0x2f,0x36,0x3f);  ///gamma P0.4.8.12.20

     Generic_Long_Write_5P(0x4c,0x4e,0x46,0x55,0x35,0x33);  //28.44.64.96.128.
     Generic_Long_Write_5P(0x5f,0x4e,0x46,0x55,0x35,0x33); //28.44.64.96.128.

    Generic_Long_Write_5P(0x64,0x32,0x16,0x2b,0x25,0x31);//159.191.211.227.235  
    Generic_Long_Write_5P(0x51,0x32,0x16,0x2b,0x25,0x31);  //159.191.211.227.235

    Generic_Long_Write_4P(0x69,0x38,0x44,0x56,0x7f);  //243.247.251.255
    Generic_Long_Write_4P(0x56,0x38,0x44,0x56,0x7f);  //243.247.251.255
   
    Generic_Short_Write_1P(0xee,0x70);  
    // STV0   stv1
    Generic_Long_Write_5P(0x00,0x02,0x05,0x00,0x01,0x0C);  // 0205/// 09
    Generic_Long_Write_5P(0x05,0x0F,0x55,0x01,0x00,0x00);  //
     Generic_Long_Write_2P(0x0C,0x02,0x5d);
   // CYC0
      Generic_Long_Write_5P(0x10,0x04,0x07,0x00,0x00,0x00);  //0407
     Generic_Long_Write_5P(0x15,0x00,0x2f,0x0d,0x08,0x00);  
    Generic_Long_Write_2P(0x29,0x05,0x5d);

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

    //gip22-gip43=gipR1-gipR22 (UPscan)
    Generic_Long_Write_5P(0x80,0x10,0x10,0x16,0x16,0x14);  
     Generic_Long_Write_5P(0x85,0x14,0x00,0x02,0x12,0x3c);  
    Generic_Long_Write_5P(0x8a,0x3c,0x3c,0x3c,0x3c,0x3c);  
    Generic_Long_Write_5P(0x8f,0x12,0x3c,0x3c,0x3F,0x3f);
    Generic_Long_Write_2P(0x94,0x04,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 (120);
    DCS_Short_Write_NP(0x29);      // display on
    Delay (100);






















使用特权

评论回复

相关帖子

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

本版积分规则

26

主题

26

帖子

0

粉丝