static char ili9881c_n5s_dijing_cpt_720p_video_on_cmd0[]={
0x06, 0x00, 0x39, 0xc0,
0xff, 0x77, 0x01, 0x00,
0x00, 0x10, 0xff, 0xff
}
- 0x06表示長度 (comm+data的數量)
- 四個四個一排 多余的用0xff補上
- 0x39 0xc0為寫命令;或者0x29 0xc0
1. lk:
以下是LK的cmd命令
static char ili9881c_n5s_dijing_cpt_720p_video_on_cmd0[]={
0x04,0x00,0x39,0xC0,
0xFF,0x98,0x81,0x03,
};
1.1 實體
一般供應商會這樣寫:
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 則代表CMD0;
1.2 開始代碼:
供應商給的代碼:

xx,xx,0x05,0x80
這段格式是固定的吼;
1.3 結束代碼:
結束代碼:
0x29,0x00,0x05,0x80
lane_configuration這里需要除錯:
mipi的lane線,看資料手冊,看原理圖無用
- msm8909:


- msm8953
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/308088.html
標籤:其他
