MIPI屏参调试
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
以上是 MIPI屏参调试 的全部内容, 来源链接: utcz.com/z/519957.html