Dear experts:
I have some questions about sn65dsi86 ,attachment is my detailed descripition ,I will appreciate that if u can give me some suggestions .
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.
Dear experts:
I have some questions about sn65dsi86 ,attachment is my detailed descripition ,I will appreciate that if u can give me some suggestions .
Hello,
I need to have access to the complete EDID and all the DSI86 register values, to compare the timing descriptors against the DSI configuration.
I have attached a script that you can use as an reference to enable the color bar mode. These scripts are not for a your panel's resolution, but they can give you an idea of how to configure the pattern in the DSI86.
<aardvark> <configure i2c="1" spi="1" gpio="0" tpower="1" pullups="0"/> <i2c_bitrate khz="100"/> ======Single 4 DSI lanes====== <i2c_write addr="0x2D" count="1" radix="16">10 26 </i2c_write> <sleep ms="10"/> ======DSI CLK FREQ====== <i2c_write addr="0x2D" count="0" radix="16">12 </i2c_write> <sleep ms="10"/> <i2c_read addr="0x2D" count="2" radix="16">00</i2c_read> <sleep ms="10"/> ======enhanced framing====== <i2c_write addr="0x2D" count="1" radix="16">5A 04 </i2c_write> <sleep ms="10"/> ======ADDR 0x93 CFR====== <i2c_write addr="0x2D" count="0" radix="16">93</i2c_write> <sleep ms="10"/> ======Read====== <i2c_read addr="0x2D" count="6" radix="16">00</i2c_read> <sleep ms="10"/> ======Pre0dB 4 lanes no SSC====== <i2c_write addr="0x2D" count="1" radix="16">93 30</i2c_write> <sleep ms="10"/> ======L0mV HBR====== <i2c_write addr="0x2D" count="1" radix="16">94 80</i2c_write> <sleep ms="10"/> ======PLL ENABLE====== <i2c_write addr="0x2D" count="1" radix="16">0D 01</i2c_write> <sleep ms="10"/> <i2c_write addr="0x2D" count="0" radix="16">0A</i2c_write> <sleep ms="10"/> <i2c_read addr="0x2D" count="2" radix="16">00</i2c_read> <sleep ms="10"/> ======POST2 0dB ====== <i2c_write addr="0x2D" count="1" radix="16">95 00</i2c_write> <sleep ms="10"/> ======Semi-Auto TRAIN ====== <i2c_write addr="0x2D" count="1" radix="16">96 0A</i2c_write> <sleep ms="20"/> ======ADDR 0x0A CFR====== <i2c_write addr="0x2D" count="0" radix="16">96</i2c_write> <sleep ms="20"/> ======Read====== <i2c_read addr="0x2D" count="1" radix="16">00</i2c_read> <sleep ms="10"/> =====CHA_ACTIVE_LINE_LENGTH======= <i2c_write addr="0x2D" count="2" radix="16">20 00 0A</i2c_write> <sleep ms="10"/> =====CHB_ACTIVE_LINE_LENGTH======= <i2c_write addr="0x2D" count="2" radix="16">22 00 05</i2c_write> <sleep ms="10"/> =====CHA_VERTICAL_DISPLAY_SIZE======= <i2c_write addr="0x2D" count="2" radix="16">24 40 06</i2c_write> <sleep ms="10"/> =====CHA_SYNC_DELAY======= <i2c_write addr="0x2D" count="2" radix="16">28 00 00</i2c_write> <sleep ms="10"/> =====CHA_HSYNC_PULSE_WIDTH======= <i2c_write addr="0x2D" count="2" radix="16">2C 20 00</i2c_write> <sleep ms="10"/> =====CHA_VSYNC_PULSE_WIDTH======= <i2c_write addr="0x2D" count="2" radix="16">30 06 00</i2c_write> <sleep ms="10"/> =====CHA_HORIZONTAL_BACK_PORCH======= <i2c_write addr="0x2D" count="1" radix="16">34 50 </i2c_write> <sleep ms="10"/> =====CHA_VERTICAL_BACK_PORCH======= <i2c_write addr="0x2D" count="1" radix="16">36 25</i2c_write> <sleep ms="10"/> =====CHA_HORIZONTAL_FRONT_PORCH======= <i2c_write addr="0x2D" count="1" radix="16">38 30</i2c_write> <sleep ms="10"/> =====CHA_VERTICAL_FRONT_PORCH======= <i2c_write addr="0x2D" count="1" radix="16">3A 03</i2c_write> <sleep ms="10"/> =====COLOR BAR ======= <i2c_write addr="0x2D" count="1" radix="16">3C 10</i2c_write> <sleep ms="100"/> ======enhanced framing and Vstream enable====== <i2c_write addr="0x2D" count="1" radix="16">5A 0C </i2c_write> <sleep ms="100"/> ======DUMP CFR====== <i2c_write addr="0x2D" count="0" radix="16">20</i2c_write> <sleep ms="10"/> ======Read====== <i2c_read addr="0x2D" count="32" radix="16">00</i2c_read> <sleep ms="10"/> </aardvark>
Regards
Hi,Joel:
Attachment is the complete EDID and all the DSI86 register values, I hope it can help u to analysis my problem . It is very urgent, please reply as soon as possible,thank very much .
Hi,
The script uses semi-auto link training to attempt to train the DP link at specified data rate and number of lanes. If the process is successful you will be able to detect that ML_TX_MODE has change to Normal.
We don't have any sample script at 2150x1140 resolutions.
Make sure you ASSR is enabled in your panel. The attached scrpits shows how to enable ASSR.
<aardvark> <configure i2c="1" spi="1" gpio="0" tpower="1" pullups="0"/> <i2c_bitrate khz="100"/> ======Single 4 DSI lanes====== <i2c_write addr="0x2D" count="1" radix="16">10 26 </i2c_write> <sleep ms="10"/> ======DSI CLK FREQ====== <i2c_write addr="0x2D" count="0" radix="16">12 </i2c_write> <sleep ms="10"/> <i2c_read addr="0x2D" count="2" radix="16">00</i2c_read> <sleep ms="10"/> ======WRITE DPCD 0010A ASSR ====== <i2c_write addr="0x2D" count="1" radix="16">64 01 </i2c_write> <i2c_write addr="0x2D" count="5" radix="16">74 00 01 0A 01 81</i2c_write> <sleep ms="10"/> ======enhanced framing and ASSR enable====== <i2c_write addr="0x2D" count="1" radix="16">5A 05 </i2c_write> <sleep ms="10"/> ======ADDR 0x93 CFR====== <i2c_write addr="0x2D" count="0" radix="16">93</i2c_write> <sleep ms="10"/> ======Read====== <i2c_read addr="0x2D" count="6" radix="16">00</i2c_read> <sleep ms="10"/> ======Pre0dB 4 lanes no SSC====== <i2c_write addr="0x2D" count="1" radix="16">93 20</i2c_write> <sleep ms="10"/> ======L0mV RBR====== <i2c_write addr="0x2D" count="1" radix="16">94 20</i2c_write> <sleep ms="10"/> ======PLL ENABLE====== <i2c_write addr="0x2D" count="1" radix="16">0D 01</i2c_write> <sleep ms="10"/> <i2c_write addr="0x2D" count="0" radix="16">0A</i2c_write> <sleep ms="10"/> <i2c_read addr="0x2D" count="2" radix="16">00</i2c_read> <sleep ms="10"/> ======POST2 0dB ====== <i2c_write addr="0x2D" count="1" radix="16">95 00</i2c_write> <sleep ms="10"/> ======Semi-Auto TRAIN ====== <i2c_write addr="0x2D" count="1" radix="16">96 0A</i2c_write> <sleep ms="20"/> ======ADDR 0x0A CFR====== <i2c_write addr="0x2D" count="0" radix="16">96</i2c_write> <sleep ms="20"/> ======Read====== <i2c_read addr="0x2D" count="1" radix="16">00</i2c_read> <sleep ms="10"/> =====CHA_ACTIVE_LINE_LENGTH======= <i2c_write addr="0x2D" count="2" radix="16">20 80 07</i2c_write> <sleep ms="10"/> =====CHA_VERTICAL_DISPLAY_SIZE======= <i2c_write addr="0x2D" count="2" radix="16">24 38 04</i2c_write> <sleep ms="10"/> =====CHA_SYNC_DELAY======= <i2c_write addr="0x2D" count="2" radix="16">28 00 00</i2c_write> <sleep ms="10"/> =====CHA_HSYNC_PULSE_WIDTH======= <i2c_write addr="0x2D" count="2" radix="16">2C 20 80</i2c_write> <sleep ms="10"/> =====CHA_VSYNC_PULSE_WIDTH======= <i2c_write addr="0x2D" count="2" radix="16">30 05 80</i2c_write> <sleep ms="10"/> =====CHA_HORIZONTAL_BACK_PORCH======= <i2c_write addr="0x2D" count="1" radix="16">34 42 </i2c_write> <sleep ms="10"/> =====CHA_VERTICAL_BACK_PORCH======= <i2c_write addr="0x2D" count="1" radix="16">36 17</i2c_write> <sleep ms="10"/> =====CHA_HORIZONTAL_FRONT_PORCH======= <i2c_write addr="0x2D" count="1" radix="16">38 30</i2c_write> <sleep ms="10"/> =====CHA_VERTICAL_FRONT_PORCH======= <i2c_write addr="0x2D" count="1" radix="16">3A 03</i2c_write> <sleep ms="10"/> =====DP_18BPP_EN ======= <i2c_write addr="0x2D" count="1" radix="16">5B 01 </i2c_write> <sleep ms="100"/> =====COLOR BAR ======= <i2c_write addr="0x2D" count="1" radix="16">3C 10</i2c_write> <sleep ms="100"/> ======enhanced framing and Vstream enable====== <i2c_write addr="0x2D" count="1" radix="16">5A 0D </i2c_write> <sleep ms="100"/> ======DUMP CFR====== <i2c_write addr="0x2D" count="0" radix="16">20</i2c_write> <sleep ms="10"/> ======Read====== <i2c_read addr="0x2D" count="32" radix="16">00</i2c_read> <sleep ms="10"/> </aardvark>
I can provide you a reference code for SN65DSI86, contact me via email to joel.jimenez@ti.com
Regards