This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] SN65DSI86:关于 SN65DSI86的问题

Guru**** 2538950 points
Other Parts Discussed in Thread: SN65DSI86

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1402010/sn65dsi86-question-about-the-sn65dsi86

器件型号:SN65DSI86

工具与软件:

尊敬的 TI 工程师:

我们将 SN65DSI86用于13英寸 LCD 显示屏、 原理图如下所示:

e2e.ti.com/.../SN65DSI86-Schematic.pdf

LCD 屏幕的规格如下:

我们发现、当0x30寄存器写入0x10时、只能显示色条。  添加以下两个代码、打印 PLL 和链接也可以。  

static void pll_polling_status(void)
{
int i = 0;
u8 val =0;
for(i = 0; i < 10; i++){
sn65dsi86_i2c_read_byte(0x2c, 0x0A, &val);
if ((val & 0x80)) {
break;
}
}
if (i >= 10) {
printf("\n >>>>>>>>>>>>>>>>>>>>>>>>>>> SN65DSI86 PLL not ready!\n");
}
}

static void sn_linking_tuning(void)
{
int i = 0;
u8 val = 0;
for(i=0;i<5;i++) {
sn65dsi86_i2c_write_byte(0x2c, 0x96, 0x0a);
mdelay(110);
val =0;
sn65dsi86_i2c_write_byte(0x2c, 0x96, &val);
printf("\n >>>>>>>>>>>>>>>>>>>>>> 0x96 = %X\n", val);
val =0;
mdelay(7);
sn65dsi86_i2c_read_byte(0x2c, 0xF8, &val);
printf(">>>>>>>>>>>> 0xF8 = %X\n", val);
if ((val & 1) == 1) {
printf("\n ======== ## Link setup success ##\n");
break;
}else
printf("\n ====## Link setup FAILED ##\n");
}
}

您能帮助分析问题的原因吗? 或者 对于这个问题有什么好的建议吗?

谢谢!

此致