void NV3030B_ BOE1.8 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); ////osc 11.2K 45.87M //NV3030B_MCU8_8080_CMD(0x60);// //NV3030B_MCU8_8080_DAT(0x03);//osc_user_adj[3:0] 77.6 //NV3030B_MCU8_8080_DAT(0x01);// //NV3030B_MCU8_8080_DAT(0x01);//01 NV3030B_MCU8_8080_CMD(0x61);// NV3030B_MCU8_8080_DAT(0x07);// NV3030B_MCU8_8080_DAT(0x04);// //bias NV3030B_MCU8_8080_CMD(0x62);//bias setting NV3030B_MCU8_8080_DAT(0x00);//01 NV3030B_MCU8_8080_DAT(0x04);//04 44 NV3030B_MCU8_8080_DAT(0x40);//44 65 40 //VSP NV3030B_MCU8_8080_CMD(0x65);//Pump1=4.7MHz //PUMP1 VSP NV3030B_MCU8_8080_DAT(0x08);//D6-5:pump1_clk[1:0] clamp 28 2b NV3030B_MCU8_8080_DAT(0x10);//6.26 NV3030B_MCU8_8080_DAT(0x21); //VSN NV3030B_MCU8_8080_CMD(0x66); //pump=2 AVCL NV3030B_MCU8_8080_DAT(0x08); //clamp 08 0b 09 NV3030B_MCU8_8080_DAT(0x10); //10 NV3030B_MCU8_8080_DAT(0x21); //add source_neg_time NV3030B_MCU8_8080_CMD(0x67);//pump_sel NV3030B_MCU8_8080_DAT(0x21);//21 20 NV3030B_MCU8_8080_DAT(0x40); //gamma vap/van NV3030B_MCU8_8080_CMD(0x68);//gamma vap/van NV3030B_MCU8_8080_DAT(0x9F);//78-90-af 9f NV3030B_MCU8_8080_DAT(0x30);// NV3030B_MCU8_8080_DAT(0x27);// NV3030B_MCU8_8080_DAT(0x21);// NV3030B_MCU8_8080_CMD(0xb1);//frame rate NV3030B_MCU8_8080_DAT(0x0f);//0x0f fr_h[5:0] NV3030B_MCU8_8080_DAT(0x02);//0x02 fr_v[4:0] NV3030B_MCU8_8080_DAT(0x01);//0x04 fr_div[2:0] NV3030B_MCU8_8080_CMD(0xB4); NV3030B_MCU8_8080_DAT(0x02); //2dot ////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); //display function NV3030B_MCU8_8080_DAT(0x44); //rev sm NV3030B_MCU8_8080_DAT(0x00); //gs norblack NV3030B_MCU8_8080_DAT(0x9f); NV3030B_MCU8_8080_DAT(0x00); NV3030B_MCU8_8080_DAT(0x02); //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(0x43);//47 ////gamme sel NV3030B_MCU8_8080_CMD(0xdf);// NV3030B_MCU8_8080_DAT(0x11);//gofc_gamma_en_sel=1 ////gamma_test1 A1#_wangly NV3030B_MCU8_8080_CMD(0xe0); //gmama set 2.2 NV3030B_MCU8_8080_DAT(0x06); //PKP0[4:0] NV3030B_MCU8_8080_DAT(0x05); //PKP1[4:0] NV3030B_MCU8_8080_DAT(0x0b); //PKP2[4:0] NV3030B_MCU8_8080_DAT(0x12); //PKP3[4:0] NV3030B_MCU8_8080_DAT(0x10); //PKP4[4:0] NV3030B_MCU8_8080_DAT(0x10); //PKP5[4:0] NV3030B_MCU8_8080_DAT(0x10); //PKP6[4:0] NV3030B_MCU8_8080_DAT(0x15); //PKP6[4:0] NV3030B_MCU8_8080_CMD(0xe3); NV3030B_MCU8_8080_DAT(0x15); //PKN0[4:0] NV3030B_MCU8_8080_DAT(0x10); //PKN1[4:0] NV3030B_MCU8_8080_DAT(0x11); //PKN2[4:0] NV3030B_MCU8_8080_DAT(0x0e); //PKN3[4:0] NV3030B_MCU8_8080_DAT(0x12); //PKN4[4:0] NV3030B_MCU8_8080_DAT(0x0d); //PKN5[4:0] NV3030B_MCU8_8080_DAT(0x06); //PKN6[4:0] NV3030B_MCU8_8080_DAT(0x06); //PKN6[4:0] NV3030B_MCU8_8080_CMD(0xe1); NV3030B_MCU8_8080_DAT(0x35); //PRP0[6:0] NV3030B_MCU8_8080_DAT(0x75); //PRP1[6:0] NV3030B_MCU8_8080_CMD(0xe4); NV3030B_MCU8_8080_DAT(0x74); //PRN0[6:0] NV3030B_MCU8_8080_DAT(0x35); //PRN1[6:0] NV3030B_MCU8_8080_CMD(0xe2); NV3030B_MCU8_8080_DAT(0x22); //VRP0[5:0] NV3030B_MCU8_8080_DAT(0x22); //VRP1[5:0] NV3030B_MCU8_8080_DAT(0x21); //VRP2[5:0] NV3030B_MCU8_8080_DAT(0x35); //VRP3[5:0] NV3030B_MCU8_8080_DAT(0x36); //VRP4[5:0] NV3030B_MCU8_8080_DAT(0x3f); //VRP5[5:0] NV3030B_MCU8_8080_CMD(0xe5); NV3030B_MCU8_8080_DAT(0x3f); //VRN0[5:0] NV3030B_MCU8_8080_DAT(0x35); //VRN1[5:0] NV3030B_MCU8_8080_DAT(0x34); //VRN2[5:0] NV3030B_MCU8_8080_DAT(0x21); //VRN3[5:0] NV3030B_MCU8_8080_DAT(0x22); //VRN4[5:0] NV3030B_MCU8_8080_DAT(0x22); //VRN5[5:0] NV3030B_MCU8_8080_CMD(0xF1); NV3030B_MCU8_8080_DAT(0x01);//TE NV3030B_MCU8_8080_DAT(0x01); NV3030B_MCU8_8080_DAT(0x02); NV3030B_MCU8_8080_CMD(0xF6); NV3030B_MCU8_8080_DAT(0x09);//01 NV3030B_MCU8_8080_DAT(0x30);//epf[1:0] 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(0x08);//c0 NV3030B_MCU8_8080_CMD(0x11); // exit sleep Delay_ms(200); NV3030B_MCU8_8080_CMD(0x29); // display on Delay_ms(10); }