Tool/software:
Dear TI Engineer,
We are using the SN65DSI86 for a 13 inch LCD display screen, and the schematic is as follows:
The specifications of the LCD screen are as follows:
We found that when the 0x30 register is written to 0x10, only color bar can be displayed. Adding the following two codes, printing PLL, and linking ting are also OK.
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"); } }
Can you help to analyze the cause of the problem? Or is there any good suggestions for this problem?
Thanks,
Kind Regards