Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

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.

SN65DSI83-Q1: SN65DSI83TPAPRQ1 DSI Interface

Part Number: SN65DSI83-Q1

FPD Link Team,

customer is facing an issue w DSI interface of SN65DSI83TPAPRQ1. The static image sent to the display is losing vertical sync. In the Bridge mode (test mode), which disables the DSI and sends veritcal bars in different collors for LVDS tests, there is no issue. So customer undertands that LVDS if is ok. When operating w DSI, issue comes. 

 

Modo teste LVDS:

 

DSI para LVDS:

attached sch and a short video DSI-LVDS PRIX7i.pdf 


Pls, let me have your commments asap

 

Thanks,

 

Raphael Marchi

TI Brazil FAE

  • Hi Raphael,

    Failure mode:
    Is the static screen issue happening continuously on every power cycle or is happening every cycle?
    Can you tell us how many units were tested and how many show this issue? 

    From these images it looks like the screen has horizontal lines during the issue. Is there any flickering or black screen?

    Does the issue happen right when it is powered or is it also seen during runtime? Runtime would be if the output works correctly at first, but then shows issue after a while.

    Error checking:
    Please check the 0xE5 register when the issue occurs and when it's working correctly. Are there any error reported? 

    Based on the errors seen, please also ensure that the Initialization Sequence is followed. The datasheet shows the sequence including programming, resets, and video data and clock input. It is important to follow the sequence for keeping the DSI clock in HS mode, and the DSI data lanes should switch from LP to HS mode as noted.

    Register comparison:
    Please compare the register settings for working case, issue case, and test pattern mode. You could also share the register dumps with us to help compare them.

    Since the test pattern mode is working consistently, please ensure that the SoC (video source) timings match the display and test pattern timings exactly.

    Timing mismatch: 
    The horizontal and vertical active, total, blankings (front porch, back porch, sync width) and sync polarity should match between SoC video and display datasheet specifications.

    The line time (period for horizontal line, which is PCLK* HTotal pixels) for video input and what the device is programmed to should match and be within the datasheet specs.

    Best regards,
    Ikram

  • here is a refresh from the customer w new results

     

    Parameter

    Manufacturer Spec

    External REFCLK  (Working)

    DSI Clock  (Oscillation)

    hactive

    1024

    1024

    1024

    hfront-porch

    160

    160

    160

    hback-porch

    160

    160

    160

    hsync-len

    10

    10

    10

    vactive

    768

    768

    768

    vback-porch

    23

    22 (even — datasheet)

    22 (even — datasheet)

    vfront-porch

    10

    10

    10

    vsync-len

    10

    10

    10

    hsync-active

    0 (LOW)

    0 (LOW) via reg 0x18

    0 (LOW) via reg 0x18

    vsync-active

    0 (LOW)

    0 (LOW) via reg 0x18

    0 (LOW) via reg 0x18

    de-active

    1 (HIGH)

    1 (HIGH) via reg 0x18

    1 (HIGH) via reg 0x18

    pixelclk-active

    1 (rising latch)

    DriveOnFalling = rising latch

    DriveOnFalling = rising latch

    H_total

    1354

    1354

    1354

    V_total

    811

    810 (VBP=22)

    810 (VBP=22)

    Refresh Rate

    59.1 Hz

    59.7 Hz

    59.7 Hz

    LVDS Clock Source

    —

    FlexPWM3 (21.82 MHz × 3)

    DPHY ÷ 7 (912 Mbps / 14)

    LVDS Frequency

    65 MHz

    65.45 MHz

    65.14 MHz

    Image

    —

    Stable

    Oscillation

    Answers in line for quenstions

    Failure mode:

    Is the static screen issue happening continuously on every power cycle or is happening every cycle?

    R: Independente da situação sempre é apresentado o comportamento de oscilação vertical da imagem; (no matter the situation, the  vertical oscilation behaviour is always present) 

     

    Can you tell us how many units were tested and how many show this issue? Testamos 1 unidade de placa com 2 unidades de displays.

     1 pcb unit with 2 displays

     

    let me know if you can help move forward w this data or if need more data ?

    thanks

    Raphal

  • Hi Raphael,

    1. Is the external REFCLK (working) case for test pattern or with DSI video while using external clock?

     

    DSI para LVDS:

    Can you tell us what the working case of the left image here is working with? Is it using DSI video input with external REFCLK?

    2. Register dumps and error flags: Please share the register dumps of the working and issue cases so that we can verify the timings and also any errors detected on 0xE5 register.


    3. DSI clock timings:

    Please share the DSI clock rate, number of DSI lanes, and bpp used.

    The DSI clock frequency = (LVDS clock rate * bpp) / (2 * number of DSI lanes)

    For reference:[FAQ] SN65DSI84: SN65DSI83, SN65DSI84, and SN65DSI85 resolution guide 



    What is the DSI clock range register 0x12 set to? This will depend on the clock rate. Based on what it is set to, if the range is close to marginal, you could change it by 1 and check if the issue persists. For example, if it is currently set to 0x39, you could change to 0x38 or 0x3A.


    4. Please check the initialization sequence from the datasheet (Table 7-2. Initialization Sequence) and ensure the mode for DSI clock and DSI data lanes are applied at the right steps.


    Best regards,
    Ikram

  • hello, here are the answers to the questions 

    Failure mode:
    Is the static screen issue happening continuously on every power cycle or is happening every cycle? The effect occurs in every cycles; however, in some power cycles, it is more noticeable.
    Can you tell us how many units were tested and how many show this issue? 
    We only have one unit under test.

    From these images it looks like the screen has horizontal lines during the issue. Is there any flickering or black screen? Only flickering screen

    Does the issue happen right when it is powered or is it also seen during runtime? Runtime would be if the output works correctly at first, but then shows issue after a while. Runtime

    Error checking:
    Please check the 0xE5 register when the issue occurs and when it's working correctly. Are there any error reported? 

    Based on the errors seen, please also ensure that the Initialization Sequence is followed. The datasheet shows the sequence including programming, resets, and video data and clock input. It is important to follow the sequence for keeping the DSI clock in HS mode, and the DSI data lanes should switch from LP to HS mode as noted.

    Register comparison:
    Please compare the register settings for working case, issue case, and test pattern mode. You could also share the register dumps with us to help compare them. We are programming the same register settings

    Since the test pattern mode is working consistently, please ensure that the SoC (video source) timings match the display and test pattern timings exactly.

    Timing mismatch: 
    The horizontal and vertical active, total, blankings (front porch, back porch, sync width) and sync polarity should match between SoC video and display datasheet specifications.

    The line time (period for horizontal line, which is PCLK* HTotal pixels) for video input and what the device is programmed to should match and be within the datasheet specs.

     

    they generated an external clock for REFCLK instead of using DSI CLK and it worked. They will move forward w this HW (but not clear the reason that worked). Can you let us know what could be happening ? attached sch

    7711.DSI-LVDS PRIX7i.pdf

  • Hi Raphael,

    1. Can you please read the 0xE5 register? Please share full register dumps as this will help us to compare the results for each case: test pattern, DSI clock video, external REFCLK video.


    What is the DSI clock range register 0x12 set to? This will depend on the clock rate. Based on what it is set to, if the range is close to marginal, you could change it by 1 and check if the issue persists. For example, if it is currently set to 0x39, you could change to 0x38 or 0x3A.

    2. Also, did you try setting the 0x12 as we mentioned? This could clear the issue and remove the noise.

    3. For the display timings, why is VBP changed from panel manufacturer's spec to this test? Can you set to VBP = 23 and try this.

    Also, for the PCLK rates, and DSI clock rate, calculate as follows:
    PCLK or LVDS clock rate = Htotal * Vtotal * refresh rate
    DSI clock rate = (PCLK * bpp)/(2* number of DSI lanes)

    V_total

    811

    810 (VBP=22)

    810 (VBP=22)

    Best regards,
    Ikram