void NV3030B_ BOE1.47-IPS_Initial(void) { RST=1; Delay_ms(10); RST=0; Delay_ms(200); RST=1; Delay_ms(120); NV3030B_MCU8_8080_CMD(0xfd);//private_access NV3030B_MCU8_8080_DAT(0x06); NV3030B_MCU8_8080_DAT(0x08); NV3030B_MCU8_8080_CMD(0x62);//bias setting NV3030B_MCU8_8080_DAT(0x00);//01 NV3030B_MCU8_8080_DAT(0x44);//04 44 NV3030B_MCU8_8080_DAT(0x40);//44 65 40 NV3030B_MCU8_8080_CMD(0x63);// NV3030B_MCU8_8080_DAT(0x41);// NV3030B_MCU8_8080_DAT(0x07);// NV3030B_MCU8_8080_DAT(0x12);// NV3030B_MCU8_8080_DAT(0x12);// NV3030B_MCU8_8080_CMD(0x64);// NV3030B_MCU8_8080_DAT(0x37);// //VSP NV3030B_MCU8_8080_CMD(0x65);//Pump1=4.7MHz //PUMP1 VSP NV3030B_MCU8_8080_DAT(0x09);//D6-5:pump1_clk[1:0] clamp 28 2b NV3030B_MCU8_8080_DAT(0x17);//6.26 NV3030B_MCU8_8080_DAT(0x21); //VSN NV3030B_MCU8_8080_CMD(0x66); //pump=2 AVCL NV3030B_MCU8_8080_DAT(0x09); //clamp 08 0b 09 NV3030B_MCU8_8080_DAT(0x17); //10 NV3030B_MCU8_8080_DAT(0x21); //add source_neg_time NV3030B_MCU8_8080_CMD(0x67);//pump_sel NV3030B_MCU8_8080_DAT(0x20);//21 20 NV3030B_MCU8_8080_DAT(0x40); //gamma vap/van NV3030B_MCU8_8080_CMD(0x68);//gamma vap/van NV3030B_MCU8_8080_DAT(0x90);//90 NV3030B_MCU8_8080_DAT(0x4c);//30 NV3030B_MCU8_8080_DAT(0x1d);//17 NV3030B_MCU8_8080_DAT(0x26);// NV3030B_MCU8_8080_CMD(0xb1);//frame rate NV3030B_MCU8_8080_DAT(0x0F);//0x0f fr_h[5:0] 0F NV3030B_MCU8_8080_DAT(0x02);//0x02 fr_v[4:0] 02 NV3030B_MCU8_8080_DAT(0x01);//0x04 fr_div[2:0] 03 NV3030B_MCU8_8080_CMD(0xB4); NV3030B_MCU8_8080_DAT(0x01); //00 ////porch NV3030B_MCU8_8080_CMD(0xB5); NV3030B_MCU8_8080_DAT(0x02);//0x02 vfp[6:0] NV3030B_MCU8_8080_DAT(0x02);//0x02 vbp[6:0] NV3030B_MCU8_8080_DAT(0x0a);//0x0A hfp[6:0] NV3030B_MCU8_8080_DAT(0x14);//0x14 hbp[6:0] NV3030B_MCU8_8080_CMD(0xB6); NV3030B_MCU8_8080_DAT(0x04);// NV3030B_MCU8_8080_DAT(0x01);// NV3030B_MCU8_8080_DAT(0x9f);// NV3030B_MCU8_8080_DAT(0x00);// NV3030B_MCU8_8080_DAT(0x02);// ////gamme sel NV3030B_MCU8_8080_CMD(0xdf);// NV3030B_MCU8_8080_DAT(0x11);//gofc_gamma_en_sel=1 ////gamma_test1 A1#_wangly //3030b_gamma_new_12.18 //GAMMA---------------------------------///////////// NV3030B_MCU8_8080_CMD(0xE2); NV3030B_MCU8_8080_DAT(0x00);//vrp0[5:0] V0 NV3030B_MCU8_8080_DAT(0x02);//vrp1[5:0] V1 NV3030B_MCU8_8080_DAT(0x01);//vrp2[5:0] V2 NV3030B_MCU8_8080_DAT(0x29);//vrp3[5:0] V61 NV3030B_MCU8_8080_DAT(0x2e);//vrp4[5:0] V62 NV3030B_MCU8_8080_DAT(0x3f);//vrp5[5:0] V63 NV3030B_MCU8_8080_CMD(0xE5); NV3030B_MCU8_8080_DAT(0x3f);//vrn0[5:0] V63 NV3030B_MCU8_8080_DAT(0x2e);//vrn1[5:0] V62 NV3030B_MCU8_8080_DAT(0x29);//vrn2[5:0] V61 NV3030B_MCU8_8080_DAT(0x01);//vrn3[5:0] V2 NV3030B_MCU8_8080_DAT(0x01);//vrn4[5:0] V1 NV3030B_MCU8_8080_DAT(0x00);//vrn5[5:0] V0 NV3030B_MCU8_8080_CMD(0xE1); NV3030B_MCU8_8080_DAT(0x0B);//prp0[6:0] V15 NV3030B_MCU8_8080_DAT(0x52);//prp1[6:0] V51 NV3030B_MCU8_8080_CMD(0xE4); NV3030B_MCU8_8080_DAT(0x57);//prn0[6:0] V51 NV3030B_MCU8_8080_DAT(0x0B);//prn1[6:0] V15 NV3030B_MCU8_8080_CMD(0xE0); NV3030B_MCU8_8080_DAT(0x06);//pkp0[4:0] V3 NV3030B_MCU8_8080_DAT(0x06);//pkp1[4:0] V7 NV3030B_MCU8_8080_DAT(0x10);//pkp2[4:0] V21 NV3030B_MCU8_8080_DAT(0x0e);//pkp3[4:0] V29 // NV3030B_MCU8_8080_DAT(0x0f);//pkp4[4:0] V37 NV3030B_MCU8_8080_DAT(0x0e);//pkp5[4:0] V45 NV3030B_MCU8_8080_DAT(0x10);//pkp6[4:0] V56 NV3030B_MCU8_8080_DAT(0x16);//pkp7[4:0] V60 NV3030B_MCU8_8080_CMD(0xE3); NV3030B_MCU8_8080_DAT(0x15);//pkn0[4:0] V60 NV3030B_MCU8_8080_DAT(0x14);//pkn1[4:0] V56 NV3030B_MCU8_8080_DAT(0x0f);//pkn2[4:0] V45 NV3030B_MCU8_8080_DAT(0x0f);//pkn3[4:0] V37 NV3030B_MCU8_8080_DAT(0x0e);//pkn4[4:0] V29 // NV3030B_MCU8_8080_DAT(0x10);//pkn5[4:0] V21 NV3030B_MCU8_8080_DAT(0x06);//pkn6[4:0] V7 NV3030B_MCU8_8080_DAT(0x05);//pkn7[4:0] V3 //GAMMA---------------------------------///////////// //source NV3030B_MCU8_8080_CMD(0xE6); NV3030B_MCU8_8080_DAT(0x00); NV3030B_MCU8_8080_DAT(0xff);//SC_EN_START[7:0] f0 NV3030B_MCU8_8080_CMD(0xE7); NV3030B_MCU8_8080_DAT(0x01);//CS_START[3:0] 01 NV3030B_MCU8_8080_DAT(0x04);//scdt_inv_sel cs_vp_en NV3030B_MCU8_8080_DAT(0x03);//CS1_WIDTH[7:0] 12 NV3030B_MCU8_8080_DAT(0x03);//CS2_WIDTH[7:0] 12 NV3030B_MCU8_8080_DAT(0x00);//PREC_START[7:0] 06 NV3030B_MCU8_8080_DAT(0x12);//PREC_WIDTH[7:0] 12 NV3030B_MCU8_8080_CMD(0xE8); //source NV3030B_MCU8_8080_DAT(0x00); //VCMP_OUT_EN 81-vcmp/vref_output pad NV3030B_MCU8_8080_DAT(0x70); //chopper_sel[6:4] NV3030B_MCU8_8080_DAT(0x00); //gchopper_sel[6:4] 60 ////gate NV3030B_MCU8_8080_CMD(0xEc); NV3030B_MCU8_8080_DAT(0x52);//47 43 NV3030B_MCU8_8080_CMD(0xF1); NV3030B_MCU8_8080_DAT(0x00);//te_pol tem_extend NV3030B_MCU8_8080_CMD(0xfd); NV3030B_MCU8_8080_DAT(0xfa); NV3030B_MCU8_8080_DAT(0xfc); NV3030B_MCU8_8080_CMD(0x3a); NV3030B_MCU8_8080_DAT(0x55);//SH 0x66 NV3030B_MCU8_8080_CMD(0x35); NV3030B_MCU8_8080_DAT(0x00); NV3030B_MCU8_8080_CMD(0x36);//bgr_[3] NV3030B_MCU8_8080_DAT(0x00);//c0 NV3030B_MCU8_8080_CMD(0x11); NV3030B_MCU8_8080_CMD(0x21); Delayms(200); NV3030B_MCU8_8080_CMD(0x29); Delayms(20); }