Mipi screen parameter debugging

Time:2021-10-4
static char ili9881c_n5s_dijing_cpt_720p_video_on_cmd0[]={
0x06, 0x00, 0x39, 0xc0,
0xff, 0x77, 0x01, 0x00,
0x00, 0x10, 0xff, 0xff
}
  • 0x06 indicates length (number of comm + data)
  • Four four in a row. Fill up the excess with 0xff
  • 0x39 0xc0 is a write command; Or 0x29 0xc0

1. lk:

The following is the CMD command of LK

static char ili9881c_n5s_dijing_cpt_720p_video_on_cmd0[]={
    0x04,0x00,0x39,0xC0,
    0xFF,0x98,0x81,0x03,
};

1.1 examples

The general supplier will write as follows:

WriteComm (0xFF);
WriteData (0x77);
WriteData (0x01);
WriteData (0x00);
WriteData (0x00);
WriteData (0x10);
WriteComm (0xC0);
WriteData (0xE9);
WriteData (0x03);
WriteComm (0xC1);
WriteData (0x0A);
WriteData (0x02);
WriteComm (0xC2);
WriteData (0x31);
WriteData (0x08);
WriteComm (0xCC);
WriteData (0x10);

01 represents cmd0;

1.2 start code:

Code given by the supplier:

xx,xx,0x05,0x80

The format of this paragraph is fixed;

1.3 end code:

End code:

0x29,0x00,0x05,0x80

lane_ Configuration requires debugging:

The lane line of Mipi. It’s useless to see the data manual and schematic diagram

  • msm8909:

  • msm8953

Recommended Today

How to perform data segmentation for MySQL sub tables and sub databases

Relational database itself is easy to become a system bottleneck, and the storage capacity, connection number and processing capacity of a single machine are limited. When the data volume of a single table reaches 1000W or 100g, due to the large number of query dimensions, the performance still degrades seriously even when adding slave databases […]