打印
[资料干货]

观海微GH8555BL+HSD7.0(HSD070BWW5-A00)/8.0(HSD0802WW2-A10/HSD080BWW5-A00) /10.1(HSD101HWW4/ HSD101HWW7)

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

观海微GH8555BL可通配HSD7.0(HSD070BWW5-A00)/8.0(HSD0802WW2-A10/HSD080BWW5-A00)/10.1(HSD101HWW4/ HSD101HWW7)各尺寸代码,且原理通用这三款pannel;通用原理如下:










观海微GH8555BL+HSD7.0(HSD070BWW5-A00)代码:

//---------------------------------------------------------------------------
//
//        Model  -  HSD070BWW5-A00
//        IC     - GH8555BL
//        Width  - 800
//        Height - 1280
//        PHONE  -
//        VER    - V03  for every one
//       DATA    - 2021-09-12  //
//       VBP:4
//       VFP:12
//       VSYNC:6
//       HBP:30
//       HFP:90
//       HSYNC:24

    //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,0x06,0x04,0x0c);            // vsa vbp vfp   
    Generic_Short_Write_1P(0x56,0x83);
    Generic_Short_Write_1P(0x7a,0x00);
    Generic_Short_Write_1P(0x7d,0x00);
    Generic_Long_Write_2P(0x90,0x50,0x20);                // ss_tp location
    Generic_Short_Write_1P(0x93,0x4a);                    // ss chop
    Generic_Short_Write_1P(0x95,0x74);                    // column invertion
    Generic_Short_Write_1P(0x97,0x09);
    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,0x70);
    Generic_Short_Write_1P(0x27,0x21);                    // vddd
    Generic_Short_Write_1P(0x29,0x87);                    // Sd_i_set<3:0>
    Generic_Short_Write_1P(0x2a,0x25);//25                    // Sd_trim<2:0>
    Generic_Short_Write_1P(0x30,0x01);                    // 4 LANE
    Generic_Short_Write_1P(0x34,0x2f);
    Generic_Short_Write_1P(0x3a,0x24);                    // gas off
    Generic_Short_Write_1P(0x3b,0x00);
    Generic_Short_Write_1P(0x3c,0x3b);
    Generic_Short_Write_1P(0x3d,0x11);                    // vgl
    Generic_Short_Write_1P(0x3e,0x93);                    // vgh
    Generic_Short_Write_1P(0x42,0x55);                    // vspr   
    Generic_Short_Write_1P(0x43,0x55);                    // vsnr  
    Generic_Short_Write_1P(0x7f,0x24);                    // vcsw delay
    Generic_Short_Write_1P(0x80,0x24);
    Generic_Short_Write_1P(0x86,0x20);
    Generic_Short_Write_1P(0x89,0x20);
    Generic_Short_Write_1P(0x8b,0x90);
    Generic_Short_Write_1P(0x8d,0x41);
    Generic_Short_Write_1P(0x91,0x22);
    Generic_Short_Write_1P(0x92,0x22);
    Generic_Short_Write_1P(0x93,0x9f);
    Generic_Short_Write_1P(0x9a,0x00);                    // s_out=800
    Generic_Short_Write_1P(0x9c,0x80);                    // vlength=1280   

    // gamma 2.2  2020/07/15
    Generic_Long_Write_5P(0x5a,0x15,0x2f,0x38,0x42,0x47);        // gamma n 0.4.8.12.20
    Generic_Long_Write_5P(0x47,0x15,0x2f,0x38,0x42,0x47);        // gamma P0.4.8.12.20
   
    Generic_Long_Write_5P(0x4c,0x56,0x50,0x64,0x49,0x4a);        // 28.44.64.96.128.
    Generic_Long_Write_5P(0x5f,0x56,0x50,0x64,0x49,0x4a);        // 28.44.64.96.128.
   
    Generic_Long_Write_5P(0x64,0x4e,0x36,0x4c,0x47,0x55);        // 159.191.211.227.235  
    Generic_Long_Write_5P(0x51,0x4e,0x36,0x4c,0x47,0x55);        // 159.191.211.227.235
   
    Generic_Long_Write_4P(0x69,0x56,0x61,0x6d,0x7f);            // 243.247.251.255
    Generic_Long_Write_4P(0x56,0x56,0x61,0x6d,0x7f);            // 243.247.251.255
     /*
    // gamma 2.5  2020/07/15
    Generic_Long_Write_5P(0x5a,0x15,0x2a,0x2f,0x36,0x3c);        // gamma n 0.4.8.12.20
    Generic_Long_Write_5P(0x47,0x15,0x2a,0x2f,0x36,0x3c);        // gamma P0.4.8.12.20

    Generic_Long_Write_5P(0x4c,0x47,0x43,0x5a,0x3f,0x42);        // 28.44.64.96.128.
    Generic_Long_Write_5P(0x5f,0x47,0x43,0x5a,0x3f,0x42);        // 28.44.64.96.128.

    Generic_Long_Write_5P(0x64,0x46,0x2e,0x45,0x42,0x50);        // 159.191.211.227.235  
    Generic_Long_Write_5P(0x51,0x46,0x2e,0x45,0x42,0x50);        // 159.191.211.227.235

    Generic_Long_Write_4P(0x69,0x53,0x5e,0x6b,0x7f);            // 243.247.251.255
    Generic_Long_Write_4P(0x56,0x53,0x5e,0x6b,0x7f);            // 243.247.251.255

*/   

    Generic_Short_Write_1P(0xee,0x70);  
   
    // STV0   stv1
    Generic_Long_Write_5P(0x00,0x00,0x02,0x00,0x01,0x0f);  
    Generic_Long_Write_5P(0x05,0x11,0x55,0x01,0x00,0x00);  
    Generic_Long_Write_5P(0x0a,0x00,0x00,0x05,0x6d,0x00);  
    //gip-cyc0
    Generic_Long_Write_5P(0x10,0x00,0x02,0x00,0x01,0x00);  
    Generic_Long_Write_5P(0x15,0x00,0x15,0x0d,0x08,0x00);  
    Generic_Long_Write_2P(0x29,0x05,0x6d);
    //gip-flm0
    Generic_Long_Write_5P(0x30,0x0f,0x0e,0x55,0x7d,0x5d);  
    Generic_Long_Write_5P(0x35,0x3c,0x0e,0x0f,0x55,0x7d);
    Generic_Long_Write_2P(0x3a,0x5d,0x3c);

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

    //gip22-gip43=gipR1-gipR22 (UPscan)
    Generic_Long_Write_5P(0x80,0x3f,0x3c,0x20,0x21,0x11);  
    Generic_Long_Write_5P(0x85,0x13,0x15,0x17,0x01,0x3c);  
    Generic_Long_Write_5P(0x8a,0x3c,0x3c,0x3c,0x3c,0x3c);  
    Generic_Long_Write_5P(0x8f,0x03,0x3c,0x3c,0x3c,0x3c);
    Generic_Long_Write_2P(0x94,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 (10);





观海微8.0(HSD0802WW2-A10代码:

//---------------------------------------------------------------------------
//
//        Model  - HSD0802WW2-A10
//        IC     - GH8555BL
//        Width  - 800
//        Height - 1280
//        PHONE  -
//        ver    - V1.0
//        DATA    - 2020-11-27  test in
//        vsync:6
//        vbp:10
//        vfp:9
//        hsync:24
//        hbp:30
//        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(0x30,0x00);      // bist=1
    Generic_Short_Write_1P(0x32,0x2f);      // bist pause               
     Generic_Long_Write_3P(0x39,0x02,0x06,0x08); // 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,0x38);        // ss chop
    Generic_Short_Write_1P(0x95,0x70);        // column invertion
    Generic_Short_Write_1P(0x97,0x08);       //  smart gip
     Generic_Short_Write_1P(0x7a,0x00);        //
     
    //enter page2
    Generic_Short_Write_1P(0xee,0x60);     // enter page2
      Generic_Short_Write_1P(0x21,0x01);        // OSC
    Generic_Short_Write_1P(0x25,0x70);       //vref_apf1[2:0]
    Generic_Short_Write_1P(0x27,0x24);       //vddd
    Generic_Short_Write_1P(0x29,0x89);       //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);       //Flicker画面水波纹改为0x00有改善
    Generic_Short_Write_1P(0x3c,0x25);       //VCOM SET
    Generic_Short_Write_1P(0x3d,0x11);       //vgl
    Generic_Short_Write_1P(0x3e,0x93);      //vgh
    Generic_Short_Write_1P(0x42,0x55);       //vspr   
    Generic_Short_Write_1P(0x43,0x55);       //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(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   
    Generic_Short_Write_1P(0x32,0xd9);

// gamma 2.5  2020/09/30
    Generic_Long_Write_5P(0x5a,0x15,0x2d,0x37,0x40,0x40);    //gamma n 0.4.8.12.20
    Generic_Long_Write_5P(0x47,0x15,0x2d,0x37,0x40,0x40);    ///gamma P0.4.8.12.20

     Generic_Long_Write_5P(0x4c,0x4b,0x43,0x56,0x3b,0x3e);  //28.44.64.96.128.
     Generic_Long_Write_5P(0x5f,0x4b,0x43,0x56,0x3b,0x3e); //28.44.64.96.128.

    Generic_Long_Write_5P(0x64,0x41,0x2b,0x43,0x40,0x50);//159.191.211.227.235  
    Generic_Long_Write_5P(0x51,0x41,0x2b,0x43,0x40,0x50);  //159.191.211.227.235

    Generic_Long_Write_4P(0x69,0x52,0x5f,0x6c,0x7f);  //243.247.251.255
    Generic_Long_Write_4P(0x56,0x52,0x5f,0x6c,0x7f);  //243.247.251.255


    Generic_Short_Write_1P(0xee,0x70);  
    // STV0   stv1
    Generic_Long_Write_5P(0x00,0x00,0x03,0x00,0x01,0x05);  
     Generic_Long_Write_5P(0x05,0x08,0x55,0x02,0x00,0x00);  
    Generic_Long_Write_5P(0x0a,0x00,0x00,0x05,0x6a,0x00);  
    //gip-cyc0
    Generic_Long_Write_5P(0x10,0x03,0x05,0x00,0x01,0x00);  
     Generic_Long_Write_5P(0x15,0x00,0x0d,0x0d,0x08,0x00);  
    Generic_Long_Write_2P(0x29,0x05,0x6a);
    //gip-flm0
    Generic_Long_Write_5P(0x30,0x08,0x07,0x55,0x7d,0x5d);  
    Generic_Long_Write_5P(0x35,0x08,0x07,0x08,0x55,0x7d);
    Generic_Long_Write_2P(0x3a,0x5d,0x08);

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

    //gip22-gip43=gipR1-gipR22 (UPscan)
    Generic_Long_Write_5P(0x80,0x3f,0x3c,0x20,0x21,0x15);  
     Generic_Long_Write_5P(0x85,0x17,0x11,0x13,0x01,0x3c);  
    Generic_Long_Write_5P(0x8a,0x3c,0x3c,0x3c,0x3c,0x3c);  
    Generic_Long_Write_5P(0x8f,0x03,0x3c,0x3c,0x3c,0x3c);
    Generic_Long_Write_2P(0x94,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 (10);



观海微GH8555BL+8.0HSD080BWW5-A00)代码:

//---------------------------------------------------------------------------
//
//        Model  -  HSD080BWW2-A10
//        IC     - GH8555BL
//        Width  - 800
//        Height - 1280
//       VBP:8
//       VFP:16
//       VSYNC:8
//       HBP:20
//       HFP:20
//       HSYNC:80

    //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(0x7a,0x20);        //
     Generic_Short_Write_1P(0x7b,0x00);        //
     Generic_Short_Write_1P(0x7d,0x00);        //
    Generic_Long_Write_2P(0x90,0xa0,0xc0);   // ss_tp location
    Generic_Short_Write_1P(0x93,0x38);        // ss chop
    Generic_Short_Write_1P(0x95,0x74);        // column invertion
    Generic_Short_Write_1P(0x97,0x05);       //  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,0x72);       //vref_apf1[2:0]
    Generic_Short_Write_1P(0x27,0x22);       //vddd
    Generic_Short_Write_1P(0x29,0x8c);       //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,0x83);
    Generic_Short_Write_1P(0x34,0x2f);       //dsi_ihrs<1:0>
    Generic_Short_Write_1P(0x3a,0xa4);       //gas off
    Generic_Short_Write_1P(0x3b,0x00);       //Flicker画面水波纹改为0x00有改善
    Generic_Short_Write_1P(0x3c,0x45);       //VCOM SET
    Generic_Short_Write_1P(0x3d,0x11);       //vgl
    Generic_Short_Write_1P(0x3e,0x93);      //vgh
    Generic_Short_Write_1P(0x42,0x55);       //vspr   
    Generic_Short_Write_1P(0x43,0x55);       //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,0x93);        //   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,0x2f,0x38,0x41,0x42);    //gamma n 0.4.8.12.20
    Generic_Long_Write_5P(0x47,0x15,0x2f,0x38,0x41,0x42);    ///gamma P0.4.8.12.20

     Generic_Long_Write_5P(0x4c,0x4f,0x4a,0x5f,0x47,0x49);  //28.44.64.96.128.
     Generic_Long_Write_5P(0x5f,0x4f,0x4a,0x5f,0x47,0x49); //28.44.64.96.128.

    Generic_Long_Write_5P(0x64,0x4b,0x2f,0x41,0x39,0x43);//159.191.211.227.235  
    Generic_Long_Write_5P(0x51,0x4b,0x2f,0x41,0x39,0x43);  //159.191.211.227.235

    Generic_Long_Write_4P(0x69,0x45,0x4f,0x5e,0x7f);  //243.247.251.255
    Generic_Long_Write_4P(0x56,0x45,0x4f,0x5e,0x7f);  //243.247.251.255

    Generic_Short_Write_1P(0xee,0x70);  
    // STV0   stv1
    Generic_Long_Write_5P(0x00,0x01,0x04,0x00,0x01,0x05);  
     Generic_Long_Write_5P(0x05,0x08,0x55,0x01,0x00,0x00);  
    Generic_Long_Write_5P(0x0a,0x00,0x00,0x05,0x5a,0x00);  
    //gip-cyc0
    Generic_Long_Write_5P(0x10,0x03,0x06,0x00,0x01,0x00);  
     Generic_Long_Write_5P(0x15,0x00,0x0f,0x0d,0x08,0x00);  
    Generic_Long_Write_2P(0x29,0x05,0x8a);
    //gip-flm0
    Generic_Long_Write_5P(0x30,0x08,0x07,0x55,0x7d,0x5d);  
    Generic_Long_Write_5P(0x35,0x08,0x07,0x08,0x55,0x7d);
    Generic_Long_Write_2P(0x3a,0x5d,0x08);


     //gip0-gip21=gipL1-gipL22 (UPscan)
    Generic_Long_Write_5P(0x60,0x3f,0x3c,0x20,0x21,0x10);  
     Generic_Long_Write_5P(0x65,0x12,0x14,0x16,0x00,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);

    //gip22-gip43=gipR1-gipR22 (UPscan)
    Generic_Long_Write_5P(0x80,0x3f,0x3c,0x20,0x21,0x11);  
     Generic_Long_Write_5P(0x85,0x13,0x15,0x17,0x01,0x3c);  
    Generic_Long_Write_5P(0x8a,0x3c,0x3c,0x3c,0x3c,0x3c);  
    Generic_Long_Write_5P(0x8f,0x05,0x3c,0x3c,0x3c,0x3c);
    Generic_Long_Write_2P(0x94,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 (10);



观海微GH8555BL+10.1(HSD101HWW4/ HSD101HWW7)代码:

//---------------------------------------------------------------------------
//
//        Model  -  HSD101hww7-a00
//        IC     - GH8555BL
//        Width  - 800
//        Height - 1280
//       DATA    - 2021-08-10  //
//"Vfp" value="9" />
//"Vbp" value="8" />
//"Vsync" value="4" />
//"Hfp" value="80" />
//"Hbp" value="20" />
//"Hsync" value="20" />

    //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_2P(0x90,0x40,0x20);   // ss_tp location  90 07
    Generic_Short_Write_1P(0x24,0x20);        //    mirror te
    Generic_Short_Write_1P(0x99,0x00);        // ss_tp de ndg
    Generic_Short_Write_1P(0x95,0x74);        // column invertion
                Generic_Short_Write_1P(0x97,0x07);       //  smart gip
    Generic_Short_Write_1P(0x79,0x08);        // zigzag
     Generic_Short_Write_1P(0x7a,0x00);        //
    Generic_Short_Write_1P(0x56,0x03);
    Generic_Short_Write_1P(0x7d,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      22
                 Generic_Short_Write_1P(0x29,0x88);       //Sd_i_set<3:0> 8d
                 Generic_Short_Write_1P(0x2a,0x26);       //Sd_trim<2:0>  26
                 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);       //Flicker
                 Generic_Short_Write_1P(0x3c,0x23);       //VCOM SET
                 Generic_Short_Write_1P(0x3d,0x11);       //vgl
                 Generic_Short_Write_1P(0x3e,0x93);      //vgh
                 Generic_Short_Write_1P(0x42,0x58);       //vspr   
                 Generic_Short_Write_1P(0x43,0x58);       //vsnr  
                 Generic_Short_Write_1P(0x7f,0x24);        // vcsw delay
                 Generic_Short_Write_1P(0x80,0x24);        //
      Generic_Short_Write_1P(0x86,0x10);
                  Generic_Short_Write_1P(0x89,0x33);        // blkh,1
                  Generic_Short_Write_1P(0x8b,0x90);        // blkh,1
                  Generic_Short_Write_1P(0x8d,0x45);        //
                  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,0x93);        //   
                  Generic_Short_Write_1P(0x9a,0x00);           //   s_out=800
                 Generic_Short_Write_1P(0x9c,0x80);           //  vlength=1280   

    // gamma 2.5  2020/07/25
                Generic_Long_Write_5P(0x5a,0x15,0x26,0x2f,0x35,0x30);    //gamma n 0.4.8.12.20
                Generic_Long_Write_5P(0x47,0x15,0x26,0x2f,0x35,0x30);    ///gamma P0.4.8.12.20

     Generic_Long_Write_5P(0x4c,0x3b,0x39,0x52,0x3d,0x43);  //28.44.64.96.128.
     Generic_Long_Write_5P(0x5f,0x3b,0x39,0x52,0x3d,0x43); //28.44.64.96.128.

    Generic_Long_Write_5P(0x64,0x47,0x2e,0x43,0x3d,0x4a);//159.191.211.227.235  
                Generic_Long_Write_5P(0x51,0x47,0x2e,0x43,0x3d,0x4a);  //159.191.211.227.235

    Generic_Long_Write_4P(0x69,0x4b,0x57,0x65,0x7f);  //243.247.251.255
                Generic_Long_Write_4P(0x56,0x4b,0x57,0x65,0x7f);  //243.247.251.255

    Generic_Short_Write_1P(0xee,0x70);  
                //STV0
    Generic_Long_Write_5P(0x00,0x03,0x06,0x00,0x01,0x00);  
     Generic_Long_Write_5P(0x05,0x00,0x00,0x00,0x00,0x00);  
    Generic_Long_Write_5P(0x0a,0x00,0x00,0x05,0x05,0x00);  
    //gip-cyc0
    Generic_Long_Write_5P(0x10,0x05,0x08,0x00,0x01,0x00);  
     Generic_Long_Write_5P(0x15,0x00,0x04,0x0d,0x08,0x00);  
    Generic_Long_Write_2P(0x29,0x05,0x05);
    //gip-flm0
    Generic_Long_Write_5P(0x30,0x12,0x13,0x55,0x4d,0x5d);  
    Generic_Long_Write_5P(0x35,0x3C,0x13,0x12,0x55,0x4d);
    Generic_Long_Write_2P(0x3a,0x5d,0x3C);

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

    //gip22-gip43=gipR1-gipR22 (UPscan)
    Generic_Long_Write_5P(0x80,0x3f,0x3c,0x20,0x21,0x11);  
     Generic_Long_Write_5P(0x85,0x13,0x15,0x17,0x01,0x3c);  
    Generic_Long_Write_5P(0x8a,0x3c,0x3c,0x3c,0x3c,0x3c);  
    Generic_Long_Write_5P(0x8f,0x03,0x3c,0x3c,0x3c,0x3c);
    Generic_Long_Write_2P(0x94,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 (10);




使用特权

评论回复

相关帖子

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

本版积分规则

26

主题

26

帖子

0

粉丝