//*************************************************************** // //***** Focus LCDs ***** //***** LCDs Made Simple ***** //***** www.FocusLCDs.com ***** // //*************************************************************** // // NOTE:VCI=3.3V,IOVCC=1.8V, //Update Gamma JDEVB_RSOX(1024); JDEVB_RSOY(600); JDEVB_VS(4); JDEVB_VBP(30); JDEVB_VFP(10); JDEVB_HS(4); JDEVB_HBP(200); JDEVB_HFP(80); JDEVB_DSILANE(4);//DSI Lane params->dsi.PLL_CLOCK=(340)//Mbps for MTK params->MIPI_CLOCK=(680)Mbps params->RGB_CLOCK=(51)M Frame Rate=60HZ //********************************** void initi(void) { res=1; delay(1);//MS res=0; delay(10);//MS res=1; delay(120);//MS //************************* regw(0xB2,0x50); // 4LANE, 0x50: 2LANE regw(0x80,0x8B); regw(0x81,0x78); regw(0x82,0x84); regw(0x83,0x88); regw(0x84,0xA8); regw(0x85,0xE3); regw(0x86,0x88); }