观海微GH8555BL+BOE10.1’’(TV101WXU-N90)搭配代码参考如下:
//---------------------------------------------------------------------------
//
// Model - GH8558BL_TV101WXU-N90
// IC - GH8558BL
// Width - 800
// Height - 1280
//
// ver - V05 for BNS v15_wislink
// DATA - 2021-04-08
// vsync:4
// vbp:8
// vfp:12
// hsync:20
// hbp:20
// hfp:40
//enter page1
Generic_Short_Write_1P(0xee,0x50); //
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,0x90,0xe0); // ss_tp
Generic_Short_Write_1P(0x24,0x20); // mirror off
Generic_Short_Write_1P(0x99,0x00); // ss_tp de ndg
Generic_Short_Write_1P(0x97,0x0b);
Generic_Short_Write_1P(0x95,0x74); //
Generic_Short_Write_1P(0x7a,0x00); //
Generic_Short_Write_1P(0x7b,0x00);
//Generic_Short_Write_1P(0x7d,0x18);
Generic_Short_Write_1P(0x56,0x83); // auto
//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,0x8c); //Sd_i_set<3:0>
Generic_Short_Write_1P(0x2a,0xa6); //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);
Generic_Short_Write_1P(0x3c,0x20);
Generic_Short_Write_1P(0x3d,0x11);
Generic_Short_Write_1P(0x3e,0x93);
Generic_Short_Write_1P(0x42,0x5a);
Generic_Short_Write_1P(0x43,0x5a); //vsnr
Generic_Short_Write_1P(0x86,0x03); //
Generic_Short_Write_1P(0x89,0x03);
Generic_Short_Write_1P(0x8b,0x90); //
Generic_Short_Write_1P(0x8d,0x45);
Generic_Short_Write_1P(0x91,0x11); //
Generic_Short_Write_1P(0x92,0x22); //
Generic_Short_Write_1P(0x93,0x9f); //
Generic_Short_Write_1P(0x9a,0x00); //
Generic_Short_Write_1P(0x9c,0x80); //
//Generic_Short_Write_1P(0x30,0x00); // 3 LANE
//gamma 2.2 2020/05/05
Generic_Long_Write_5P(0x47,0x00,0x31,0x3b,0x42,0x47); ///gamma P0.4.8.12.20
Generic_Long_Write_5P(0x5a,0x00,0x21,0x3b,0x42,0x47); //gamma n 0.4.8.12.20
Generic_Long_Write_5P(0x4c,0x53,0x49,0x58,0x36,0x35); //28.44.64.96.128.
Generic_Long_Write_5P(0x5f,0x53,0x49,0x58,0x36,0x35); //28.44.64.96.128.
Generic_Long_Write_5P(0x51,0x35,0x19,0x2e,0x29,0x36); //159.191.211.227.235
Generic_Long_Write_5P(0x64,0x35,0x19,0x2e,0x29,0x36);//159.191.211.227.235
Generic_Long_Write_4P(0x56,0x3c,0x49,0x5b,0x7f); //243.247.251.255
Generic_Long_Write_4P(0x69,0x3c,0x49,0x5b,0x7f); //243.247.251.255
Generic_Short_Write_1P(0xee,0x70);
Generic_Short_Write_1P(0xa2,0x00);
// STV0
Generic_Long_Write_5P(0x00,0x03,0x06,0x00,0x01,0x16); //
Generic_Long_Write_2P(0x0C,0x12,0x8d);
// CYC0
Generic_Long_Write_5P(0x10,0x05,0x08,0x00,0x00,0x00);
Generic_Long_Write_5P(0x15,0x00,0x0b,0x0D,0x08,0x00);
Generic_Long_Write_2P(0x29,0x12,0x8d);
//gip0-gip21=gipL1-gipL22 (downscan)
Generic_Long_Write_5P(0x60,0x3f,0x3f,0x01,0x01,0x3c);
Generic_Long_Write_5P(0x65,0x3c,0x3c,0x3c,0x3c,0x3c);
Generic_Long_Write_5P(0x6a,0x3f,0x3f,0x3c,0x13,0x13);
Generic_Long_Write_5P(0x6f,0x11,0x11,0x17,0x17,0x15);
Generic_Long_Write_2P(0x74,0x15,0x3c);
//gip22-gip43=gipR1-gipR22 (downscan)
Generic_Long_Write_5P(0x80,0x3f,0x3f,0x00,0x00,0x3c);
Generic_Long_Write_5P(0x85,0x3c,0x3c,0x3c,0x3c,0x3c);
Generic_Long_Write_5P(0x8a,0x3f,0x3f,0x3c,0x12,0x12);
Generic_Long_Write_5P(0x8f,0x10,0x10,0x16,0x16,0x14);
Generic_Long_Write_2P(0x94,0x14,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+BOE10.1’’(TV101WXU-N91)搭配代码参考如下:
//---------------------------------------------------------------------------
//
// Model - TV101WXU-N91
// IC - GH8558BL
// Width - 800
// Height - 1280
// DATA - 2022-03-31
// vsync:4
// vbp:8
// vfp:12
// hsync:20
// hbp:20
// hfp:40
//Set_SPI(9, 9);
//enter page1
Generic_Short_Write_1P(0xee,0x50);
Generic_Long_Write_2P(0xea,0x85,0x55); // write enable
Generic_Short_Write_1P(0x22,0x00); // mirror off
Generic_Short_Write_1P(0x24,0x20); // mirror off
Generic_Short_Write_1P(0x30,0x00); // bist=1
Generic_Long_Write_3P(0x39,0x02,0x07,0x10); // vsa vbp vfp
//Generic_Short_Write_1P(0x56,0x83); // auto
Generic_Short_Write_1P(0x7a,0x00);
Generic_Short_Write_1P(0x7b,0x00);
//Generic_Short_Write_1P(0x7d,0x18);
Generic_Long_Write_2P(0x90,0x90,0xe0); // ss_tp
Generic_Short_Write_1P(0x95,0x74);
Generic_Short_Write_1P(0x97,0x0b);
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,0x22); // vddd
Generic_Short_Write_1P(0x29,0x8c); // Sd_i_set<3:0>
Generic_Short_Write_1P(0x2a,0xa6); // Sd_trim<2:0>
//Generic_Short_Write_1P(0x30,0x00); // 3 LANE
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,0xa4); // gas off
Generic_Short_Write_1P(0x3b,0x00);
Generic_Short_Write_1P(0x3c,0x20);
Generic_Short_Write_1P(0x3d,0x11);
Generic_Short_Write_1P(0x3e,0x93);
Generic_Short_Write_1P(0x42,0x5a);
Generic_Short_Write_1P(0x43,0x5a); //vsnr
Generic_Short_Write_1P(0x86,0x03);
Generic_Short_Write_1P(0x89,0x03);
Generic_Short_Write_1P(0x8b,0x90);
Generic_Short_Write_1P(0x8d,0x45);
Generic_Short_Write_1P(0x91,0x11);
Generic_Short_Write_1P(0x92,0x22);
Generic_Short_Write_1P(0x93,0x9f);
Generic_Short_Write_1P(0x9a,0x00);
Generic_Short_Write_1P(0x9c,0x80);
//gamma 2.2 2020/05/05
Generic_Long_Write_5P(0x47,0x00,0x31,0x3b,0x42,0x47); // gamma P 0.4.8.12.20
Generic_Long_Write_5P(0x5a,0x00,0x31,0x3b,0x42,0x47); // gamma n 0.4.8.12.20
Generic_Long_Write_5P(0x4c,0x53,0x44,0x53,0x31,0x2f); // 28.44.64.96.128.
Generic_Long_Write_5P(0x5f,0x53,0x44,0x53,0x31,0x2f); // 28.44.64.96.128.
Generic_Long_Write_5P(0x51,0x2e,0x13,0x28,0x24,0x31); // 159.191.211.227.235
Generic_Long_Write_5P(0x64,0x2e,0x13,0x28,0x24,0x31); // 159.191.211.227.235
Generic_Long_Write_4P(0x56,0x38,0x43,0x58,0x7f); // 243.247.251.255
Generic_Long_Write_4P(0x69,0x38,0x43,0x58,0x7f); // 243.247.251.255
Generic_Short_Write_1P(0xee,0x70);
// STV0
Generic_Long_Write_5P(0x00,0x03,0x06,0x00,0x01,0x10);
Generic_Long_Write_5P(0x05,0x14,0x55,0x00,0x00,0x00);
Generic_Long_Write_2P(0x0C,0x12,0x8d);
// CYC0
Generic_Long_Write_5P(0x10,0x05,0x08,0x00,0x00,0x00);
Generic_Long_Write_5P(0x15,0x00,0x0b,0x0D,0x08,0x00);
Generic_Long_Write_2P(0x29,0x12,0x8d);
//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 (downscan)
Generic_Long_Write_5P(0x60,0x02,0x02,0x04,0x04,0x3F);
Generic_Long_Write_5P(0x65,0x3F,0x3c,0x3c,0x3c,0x20);
Generic_Long_Write_5P(0x6a,0x20,0x21,0x21,0x13,0x13);
Generic_Long_Write_5P(0x6f,0x11,0x11,0x17,0x17,0x15);
Generic_Long_Write_2P(0x74,0x15,0x3c);
//gip22-gip43=gipR1-gipR22 (downscan)
Generic_Long_Write_5P(0x80,0x01,0x01,0x04,0x04,0x3F);
Generic_Long_Write_5P(0x85,0x3F,0x3c,0x3c,0x3c,0x20);
Generic_Long_Write_5P(0x8a,0x20,0x21,0x21,0x12,0x12);
Generic_Long_Write_5P(0x8f,0x10,0x10,0x16,0x16,0x14);
Generic_Long_Write_2P(0x94,0x14,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 (600);
DCS_Short_Write_NP(0x29); // display on
Delay (200);