观海微GH8555BL+BOE9.0’’(AV090HDQ-N19)/ Boe10.1’’(AV101HDQ-N19)搭配原理请参考如下AN:
观海微GH8555BL+BOE9.0’’(AV090HDQ-N19)搭配代码参考如下:
//---------------------------------------------------------------------------
//
// Model - AV090HDQ-N19-5QP0
// IC - GH8555BL
// Width - 720
// Height - 1280
//
// ver - V0.1
// DATA - 2020-12-29
// vsync:4 VBP:8 Vfp:9 Hsync:20 hbp:20 hfp:140
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,0x60); // bist=1
Generic_Long_Write_3P(0x39,0x02,0x07,0x10); // vsa vbp vfp
Generic_Long_Write_2P(0x90,0x30,0x40); // 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(0x95,0x74); // column invertion
Generic_Short_Write_1P(0x79,0x00); // zigzag
Generic_Short_Write_1P(0x7b,0x00); // rgb seq
Generic_Short_Write_1P(0x7a,0x00); // column invertion
Generic_Short_Write_1P(0x93,0x80); //ss chop
Generic_Short_Write_1P(0x97,0x0a); //smart gip disable 37,07 enable
Generic_Short_Write_1P(0x99,0x10);
Generic_Short_Write_1P(0xee,0x60); // enter page2
Generic_Short_Write_1P(0x90,0x00); // pm10
Generic_Short_Write_1P(0x91,0x33); // frq_vgh_clk frq_vgl_clk/
// Generic_Short_Write_1P(0x92,0x11); // frq_cp1_clk
// Generic_Short_Write_1P(0x93,0xfc); // vsp_sel vsn_sel
//Generic_Short_Write_1P(0x89,0xff); // blk0,1,inset black
Generic_Short_Write_1P(0x8b,0x90); // blkh,1
Generic_Short_Write_1P(0x8d,0x45); //
Generic_Short_Write_1P(0x9a,0x05); // s_out=720
Generic_Short_Write_1P(0x9c,0x80); // vlength=1280
Generic_Short_Write_1P(0x30,0x01); // 4 LANE
Generic_Short_Write_1P(0x32,0xd9); //vrs_tldo
Generic_Short_Write_1P(0x42,0x55); //vspr
Generic_Short_Write_1P(0x43,0x55); //vsnr
Generic_Short_Write_1P(0x3b,0x00);
Generic_Short_Write_1P(0x3c,0x54); //VCOM SET
Generic_Short_Write_1P(0x3d,0x12); //vgl
Generic_Short_Write_1P(0x3e,0x94); //vgh
Generic_Short_Write_1P(0x91,0x44); // fp7721 power
Generic_Short_Write_1P(0x92,0x22); // frq_cp1_clk[2:0]
Generic_Short_Write_1P(0x93,0x9f); // fp7721 power
Generic_Short_Write_1P(0x27,0x62);
// gamma 2.2 2020/04/08
Generic_Long_Write_5P(0x5a,0x05,0x27,0x39,0x4f,0x5a); //gamma n 0.4.8.12.20
Generic_Long_Write_5P(0x47,0x05,0x27,0x39,0x4f,0x5a); ///gamma P0.4.8.12.20
Generic_Long_Write_5P(0x4c,0x61,0x5a,0x6e,0x51,0x52); //28.44.64.96.128.
Generic_Long_Write_5P(0x5f,0x61,0x5a,0x6e,0x51,0x52); //28.44.64.96.128.
Generic_Long_Write_5P(0x64,0x55,0x3e,0x54,0x51,0x5d);//159.191.211.227.235
Generic_Long_Write_5P(0x51,0x55,0x3e,0x54,0x51,0x5d); //159.191.211.227.235
Generic_Long_Write_4P(0x69,0x5e,0x67,0x72,0x7f); //243.247.251.255
Generic_Long_Write_4P(0x56,0x5e,0x67,0x72,0x7f); //243.247.251.255
Generic_Short_Write_1P(0xee,0x70);
// STV0
Generic_Long_Write_4P(0x00,0x0e,0x17,0x55,0x01); //
Generic_Long_Write_4P(0x04,0x02,0x05,0x00,0x01); //
Generic_Long_Write_2P(0x0C,0x05,0x4d);
// CYC0
Generic_Long_Write_5P(0x10,0x03,0x06,0x00,0x00,0x00);
Generic_Long_Write_5P(0x15,0x00,0x19,0x0d,0x08,0x00);
Generic_Long_Write_2P(0x29,0x05,0x8d); // 5d 5d
//gip22-gip43=gipR1-gipR22 (UPscan)
Generic_Long_Write_5P(0x60,0x13,0x3c,0x3f,0x3f,0x00);
Generic_Long_Write_5P(0x65,0x3c,0x11,0x17,0x15,0x05);
Generic_Long_Write_5P(0x6a,0x07,0x3c,0x3c,0x3c,0x3c);
Generic_Long_Write_5P(0x6f,0x3c,0x3c,0x3c,0x3c,0x3c);
Generic_Long_Write_2P(0x74,0x3c,0x3c);
//gip0-gip21=gipL1-gipL22 (UPscan)
Generic_Long_Write_5P(0x80,0x12,0x3c,0x3f,0x3f,0x00);
Generic_Long_Write_5P(0x85,0x3c,0x10,0x16,0x14,0x04);
Generic_Long_Write_5P(0x8a,0x06,0x3c,0x3c,0x3c,0x3c);
Generic_Long_Write_5P(0x8f,0x3c,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(600);
DCS_Short_Write_NP(0x29); // display on
Delay(200);
观海微GH8555BL+BOE10.1’’(AV101HDQ-N19)搭配代码参考如下:
//---------------------------------------------------------------------------
//
// Model - B5 AV101HDQ-N19
// IC - GH8555BL
// Width - 720
// Height - 1280
// ver - V01
// DATA - 2021-07-09
// vsync:8 VBP:8 Vfp:16 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(0x30,0x00); // bist=1
Generic_Short_Write_1P(0x31,0x80); // 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,0xa0); // mirror te
Generic_Short_Write_1P(0x99,0x00); // ss_tp de ndg
Generic_Short_Write_1P(0x95,0x74); // column invertion
Generic_Short_Write_1P(0x79,0x00); // zigzag
Generic_Short_Write_1P(0x7b,0x00); // rgb seq
Generic_Short_Write_1P(0x7a,0x20); // column invertion
Generic_Short_Write_1P(0x93,0x80); //ss chop
Generic_Short_Write_1P(0x97,0x0a); //smart gip disable 37,07 enable
Generic_Short_Write_1P(0x99,0x00);
//enter page2
Generic_Short_Write_1P(0xee,0x60); // enter page2
Generic_Short_Write_1P(0x8b,0x90); // blkh,1
Generic_Short_Write_1P(0x8d,0x45); //
Generic_Short_Write_1P(0x9a,0x05); // s_out=720
Generic_Short_Write_1P(0x9c,0x80); // vlength=1280
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(0x42,0x46); //vspr
Generic_Short_Write_1P(0x43,0x46); //vsnr
Generic_Short_Write_1P(0x3a,0x26);
Generic_Short_Write_1P(0x3b,0x00);
Generic_Short_Write_1P(0x3c,0x63); //VCOM SET
Generic_Short_Write_1P(0x3d,0x11); //vgl
Generic_Short_Write_1P(0x3e,0x93); //vgh
Generic_Short_Write_1P(0x44,0x0c); //vgl -11.8V
Generic_Short_Write_1P(0x46,0x9e); //vgh 17.8V
Generic_Short_Write_1P(0x91,0x33); // 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
Generic_Short_Write_1P(0x27,0x22);
// gamma 2.2 2021/07/09
Generic_Long_Write_5P(0x5a,0x10,0x27,0x39,0x4f,0x5a); //gamma n 0.4.8.12.20
Generic_Long_Write_5P(0x47,0x10,0x27,0x39,0x4f,0x5a); ///gamma P0.4.8.12.20
Generic_Long_Write_5P(0x4c,0x6a,0x65,0x7c,0x5b,0x5d); //28.44.64.96.128.
Generic_Long_Write_5P(0x5f,0x6a,0x65,0x7c,0x5b,0x5d);//28.44.64.96.128.
Generic_Long_Write_5P(0x64,0x62,0x49,0x5b,0x58,0x64);//159.191.211.227.235
Generic_Long_Write_5P(0x51,0x62,0x49,0x5b,0x58,0x64); //159.191.211.227.235
Generic_Long_Write_4P(0x69,0x64,0x6c,0x75,0x7f); //243.247.251.255
Generic_Long_Write_4P(0x56,0x64,0x6c,0x75,0x7f); //243.247.251.255
Generic_Short_Write_1P(0xee,0x70);
// STV0
Generic_Long_Write_4P(0x00,0x0e,0x10,0x55,0x01); //
Generic_Long_Write_4P(0x04,0x02,0x06,0x00,0x01); //
Generic_Long_Write_2P(0x0C,0x05,0x05);
// CYC0
Generic_Long_Write_5P(0x10,0x04,0x07,0x00,0x00,0x00);
Generic_Long_Write_5P(0x15,0x00,0x19,0x0d,0x08,0x00);
Generic_Long_Write_2P(0x29,0x05,0x5d); // 5d 5d
//gip0-gip21=gipL1-gipL22 (forward scan)
Generic_Long_Write_5P(0x80,0x12,0x3c,0x3f,0x3f,0x00); //12
Generic_Long_Write_5P(0x85,0x3c,0x10,0x16,0x14,0x04); //10 16 14
Generic_Long_Write_5P(0x8a,0x06,0x3c,0x3c,0x3c,0x3c);
Generic_Long_Write_5P(0x8f,0x3c,0x3c,0x3c,0x3c,0x3c);
Generic_Long_Write_2P(0x94,0x3c,0x3c);
//gip22-gip43=gipR1-gipR22 (UPscan)
Generic_Long_Write_5P(0x60,0x13,0x3c,0x3f,0x3f,0x00);
Generic_Long_Write_5P(0x65,0x3c,0x11,0x17,0x15,0x05);
Generic_Long_Write_5P(0x6a,0x07,0x3c,0x3c,0x3c,0x3c);
Generic_Long_Write_5P(0x6f,0x3c,0x3c,0x3c,0x3c,0x3c);
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 (100);
DCS_Short_Write_NP(0x29); // display on
审核编辑 黄昊宇
评论
查看更多