观海微BOE8.0(TV080WXQ-N86) (B5-TV080WXQ-N88)搭配原理及代码

电子说

1.3w人已加入

描述

观海微BOE8.0’’(TV080WXQ-N86) (B5-TV080WXQ-N88)搭配原理如下,此款为N86/N88通用原理;

芯片

观海微BOE8.0’’(TV080WXQ-N86)搭配代码如下;

//        Model  -  TV080WXQ-N86
//        IC     - GH8555BL
//        Width  - 800
//        Height - 1280
//        PHONE  - 
//        ver    - V4.0  for every one
//       DATA    - 2021-08-10  
//    vsync:5 
//    VBP:5 
//    VFP:10   
//    hsync:20 
//    hbp:20 
//    hfp:80


    //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(0x24,0x20);            //    mirror te
    Generic_Short_Write_1P(0x30,0x00);            // bist=1               
     Generic_Long_Write_3P(0x39,0x02,0x07,0x10);    // vsa vbp vfp    
    Generic_Short_Write_1P(0x79,0x08);            // zigzag
     Generic_Short_Write_1P(0x7a,0x20);
    Generic_Short_Write_1P(0x7b,0x00);            // rgb seq
     Generic_Short_Write_1P(0x7d,0x00);  
    Generic_Long_Write_2P(0x90,0x50,0x10);        // ss_tp location
    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(0x99,0x00);            // ss_tp de ndg
    
    //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(0x33,0xC3);    
    Generic_Short_Write_1P(0x34,0x3f);            // dsi_ihrs<1:0>
    Generic_Short_Write_1P(0x3a,0x24);            // 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,0x22);            // 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);
    Generic_Long_Write_5P(0x05,0x0F,0x55,0x01,0x00,0x00);
     Generic_Long_Write_2P(0x0C,0x05,0x5d);
    // CYC0
      Generic_Long_Write_5P(0x10,0x04,0x07,0x00,0x00,0x00);
     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 (10);
 

观海微BOE8.0(B5-TV080WXQ-N88)搭配代码如下;

//---------------------------------------------------------------------------
// 
//        Model  -  TV080WXQ-N88
//        IC     - GH8555BL
//        Width  - 800
//        Height - 1280
//        PHONE  - 
//        vsync:  4
//        VBP:       6
//        VFP:       15
//        HSYNC:  20
//        HBP:       20
//        HFP:       90


    //enter page1
    Generic_Short_Write_1P(0xee,0x50);                // ENTER PAGE1
    Generic_Long_Write_2P(0xea,0x85,0x55);    // write enable
    Generic_Short_Write_1P(0x22,0x00);  
    Generic_Short_Write_1P(0x24,0x20);        //    mirror te
    Generic_Long_Write_3P(0x39,0x02,0x07,0x10); // vsa vbp vfp    
    Generic_Short_Write_1P(0x56,0x83);
    Generic_Short_Write_1P(0x79,0x08);        // zigzag
    Generic_Short_Write_1P(0x7a,0x20);        // column invertion
    Generic_Short_Write_1P(0x7b,0x00);        // rgb seq
    Generic_Short_Write_1P(0x7d,0x00);  
    Generic_Long_Write_2P(0x90,0x50,0x20);   // ss_tp location
    Generic_Short_Write_1P(0x93,0x10);        //ss chop
    Generic_Short_Write_1P(0x95,0x74);        // column invertion
    Generic_Short_Write_1P(0x97,0x38);        //smart gip disable 37,07 enable
    Generic_Short_Write_1P(0x99,0x00);        // ss_tp de ndg

//enter page2 
    Generic_Short_Write_1P(0xee,0x60);     // enter page2
    Generic_Short_Write_1P(0x30,0x01);     // 4 LANE
    Generic_Short_Write_1P(0x32,0xd9); //vrs_tldo
    Generic_Short_Write_1P(0x33,0xc3); 
    Generic_Short_Write_1P(0x34,0x2f); 
    Generic_Short_Write_1P(0x3a,0x24);     
    Generic_Short_Write_1P(0x3b,0x00);       
    Generic_Short_Write_1P(0x3c,0x3a);       //VCOM SET
    Generic_Short_Write_1P(0x3d,0x11);       //vgl
    Generic_Short_Write_1P(0x3e,0x93);      //vgh
    Generic_Short_Write_1P(0x42,0x65);       //vspr   
    Generic_Short_Write_1P(0x43,0x65);       //vsnr 
    Generic_Short_Write_1P(0x8b,0x90);        // blkh,1
    Generic_Short_Write_1P(0x8d,0x40);        //
    Generic_Short_Write_1P(0x90,0x01);        // pm10
    Generic_Short_Write_1P(0x91,0x44);        // 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 
    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,0x05,0x11,0x1f,0x26,0x30);    //gamma n 0.4.8.12.20
    Generic_Long_Write_5P(0x47,0x05,0x11,0x1f,0x26,0x30);  ///gamma P0.4.8.12.20

Generic_Long_Write_5P(0x4c,0x40,0x35,0x47,0x29,0x2a);  //28.44.64.96.128. 
    Generic_Long_Write_5P(0x5f,0x40,0x35,0x47,0x29,0x2a); //28.44.64.96.128. 

Generic_Long_Write_5P(0x64,0x2b,0x11,0x25,0x20,0x2c);//159.191.211.227.235  
    Generic_Long_Write_5P(0x51,0x2b,0x11,0x25,0x20,0x2c);  //159.191.211.227.235 

Generic_Long_Write_4P(0x69,0x32,0x3f,0x50,0x7f);  //243.247.251.255
    Generic_Long_Write_4P(0x56,0x32,0x3f,0x50,0x7f);  //243.247.251.255

Generic_Short_Write_1P(0xee,0x70);
    
    // STV0
    Generic_Long_Write_4P(0x00,0x15,0x1a,0x55,0x01);
    Generic_Long_Write_4P(0x04,0x08,0x0c,0x00,0x01);
    Generic_Long_Write_2P(0x0C,0x05,0x5d);

// CYC0
    Generic_Long_Write_5P(0x10,0x0a,0x0d,0x00,0x00,0x00); 
    Generic_Long_Write_5P(0x15,0x00,0x21,0x0d,0x08,0x00);  
    Generic_Long_Write_2P(0x29,0x05,0x5d);  // 5d 5d

//film
    Generic_Long_Write_5P(0x30,0x19,0x18,0x55,0x9d,0x8d);  
    Generic_Long_Write_5P(0x35,0x3c,0x18,0x19,0x55,0x9d); 
    Generic_Long_Write_2P(0x3a,0x8d,0x3c); 

//gip0-gip21=gipL1-gipL22 (forward scan)
    Generic_Long_Write_5P(0x80,0x12,0x12,0x10,0x10,0x16);  
    Generic_Long_Write_5P(0x85,0x16,0x14,0x14,0x04,0x3c);  
    Generic_Long_Write_5P(0x8a,0x3c,0x3c,0x3c,0x3c,0x3c);  
    Generic_Long_Write_5P(0x8f,0x3c,0x3c,0x20,0x60,0x00);
    Generic_Long_Write_2P(0x94,0x3c,0x3c);

//gip22-gip43=gipR1-gipR22 (forward scan)
    Generic_Long_Write_5P(0x60,0x13,0x13,0x11,0x11,0x17);  
    Generic_Long_Write_5P(0x65,0x17,0x15,0x15,0x05,0x3c);  
    Generic_Long_Write_5P(0x6a,0x3c,0x3c,0x3c,0x3c,0x3c);  
    Generic_Long_Write_5P(0x6f,0x3c,0x3c,0x20,0x60,0x00);
    Generic_Long_Write_2P(0x74,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 (120);
    DCS_Short_Write_NP(0x29);      // display on
    Delay (20);

审核编辑 黄昊宇

打开APP阅读更多精彩内容
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

全部0条评论

快来发表一下你的评论吧 !

×
20
完善资料,
赚取积分