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.

Compiler/PROCESSOR-SDK-DRA7X: Display Flicker

Part Number: PROCESSOR-SDK-DRA7X

Tool/software: TI C/C++ Compiler

Hello TI team, 

ISSUE: DISPLAY FLICKER OBSERVED

Previous Reference Ticket: https://e2e.ti.com/support/processors/f/791/t/889397

Usecase

Path: vision_sdk/apps/src/rtos/usecases/weston_dualcamera_dsswb

UseCase: weston_dualcamera_dsswb


Capture -> Display_Video
Capture_1 -> Display_Video1
DispDistSrc_gfx -> Display_gfx
DispDistSrc_vid3 -> Display_vid3
Capture_dsswb -> Alg_SwCrc

Background: Previously we have observed DisplayFlicker in HU, but after switching to HDMI clock, we

did not observe this issue. (Switching to HDMI clock- Please see Reference Ticket). 

Current Situation: On Bootup we see HU is flickering and recovering after a short while. Issue is 

                               seen randomly and it is not always issue.

Best Regards,

Raghu Kadari

  • Please inform what logs required for analysis. 

  • Hi Raghu,

    When you say fiicker, does it mean display stops displaying within a frame? or blank frame in between? 

    Is display setup with the highest priority? Are you seeing any y underflow/sync lost error from DSS?

    Rgds,

    Brijesh

  • Hi Brijesh, ,

    Display does not stop, it jitters for short duration and recovers. Currently priorities are not changed for any DSS related tasks in VSDK. 

    we are awaiting logs from the Unit.  we have requested M4 Traces. 

    Background: Previously similar flicker issue was fixed after changing to HDMI clock., and previously we had plans to check HDMI PLL configuration

    if  HDMI Source Clock change was not fixing the issue. Do you have any specific registers need to check the HDMI PLL configuration ? 

    Best Regards,

    Raghu K

  • Hi Raghu,

    I am currently suspecting DSS priority, if it is not setup correctly and if there is high BW usecase, it might not be able to read fast enough and could flicker. But in this case, you should sync lost, or under flow error. can you please check if you are seeing underflow/sync lost error?

    Rgds,

    Brijesh

  • Hi Raghu,

    In Vision sdk, there are two APIs, Utils_setDssMflagMode and Utils_setDssMflagThreshold, which are used to set up priority. Could you please check if you are calling these APIs?

    Rgds,

    Brijesh

  • Hi Brijesh, 

    We are not calling below  function. 

    Utils_setDssMflagThreshold

    Utils_setDssMflagMode

    BR,

    RK

  • 8321.teraterm.logHI Brijesh, 

    FYI.

    please find logs attached. 

    BR,

    RK

  • Hi Raghu,

    This API is typically not directly called, so very difficult to figure out from the log. So could you please put breakpoint on these APIs in CCS and see if there is hit? 

    Rgds,

    Brijesh

  • Hi Raghu,

    As we discussed in the meeting today, there are few ioctls supported in the driver to get the underflow and sync lost status.

    The underflow status is available at the pipeline level. We can call IOCTL_VPS_DISP_GET_STATUS ioctl with the argument Vps_DispStatus to get underflow status of the video pipeline. I think display link already gets this status and prints it on API DisplayLink_drvPrintStatistics. So could you please call this API from the usecase to print underflow status?

    I am more interested in the sync lost status, as sync lost clearly means, display pipeline and output has gone out of sync. We can get the status of sync loss from the display controller ioctl IOCTL_VPS_DCTRL_GET_ERROR_STATS with the parameter Vps_DctrlErrorSyncLostStats. I think display controller link calls this ioctl and updates the list stats, but it calls this ioctl from the timer interrupt. If the interrupt does not come within 33ms, then timer interrupt gets triggered and then it calls this ioctl. Can you change to call this ioctl from some control command?

    Rgds,

    Brijesh   

  • Hi Brijesh, 

    After Setting DSS highest Priority still we are seeing the issue. 

    and There is no Sync loss observed. 

    BR, 
    RK

    flickering.txt.txt
    /tmp$ cat /sys/kernel/debug/remoteproc/remoteproc0/trace0
    .415024 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.070]     64.444549 s: -------------------------------------------------------------------
    [0][     64.070]     64.444854 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.100]     64.474562 s: -------------------------------------------------------------------
    [0][     64.100]     64.474897 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.130]     64.504544 s: -------------------------------------------------------------------
    [0][     64.130]     64.504849 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.160]     64.534557 s: -------------------------------------------------------------------
    [0][     64.160]     64.534862 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.190]     64.564539 s: -------------------------------------------------------------------
    [0][     64.190]     64.564875 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.220]     64.594552 s: -------------------------------------------------------------------
    [0][     64.220]     64.594857 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.250]     64.624565 s: -------------------------------------------------------------------
    [0][     64.250]     64.624870 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.280]     64.654578 s: -------------------------------------------------------------------
    [0][     64.280]     64.654883 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.310]     64.684560 s: -------------------------------------------------------------------
    [0][     64.310]     64.684865 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.340]     64.714573 s: -------------------------------------------------------------------
    [0][     64.340]     64.714908 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.370]     64.744555 s: -------------------------------------------------------------------
    [0][     64.370]     64.744891 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.400]     64.774568 s: -------------------------------------------------------------------
    [0][     64.400]     64.774873 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.430]     64.804550 s: -------------------------------------------------------------------
    [0][     64.430]     64.804886 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.460]     64.834563 s: -------------------------------------------------------------------
    [0][     64.460]     64.834868 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.490]     64.864576 s: -------------------------------------------------------------------
    [0][     64.490]     64.864881 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.520]     64.894680 s: -------------------------------------------------------------------
    [0][     64.520]     64.894985 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.550]     64.924571 s: -------------------------------------------------------------------
    [0][     64.550]     64.924876 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.580]     64.954584 s: -------------------------------------------------------------------
    [0][     64.580]     64.954919 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.610]     64.984566 s: -------------------------------------------------------------------
    [0][     64.610]     64.984871 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.640]     65.014548 s: -------------------------------------------------------------------
    [0][     64.640]     65.014884 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.670]     65.044561 s: -------------------------------------------------------------------
    [0][     64.670]     65.044866 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.700]     65.074574 s: -------------------------------------------------------------------
    [0][     64.700]     65.074879 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.730]     65.104556 s: -------------------------------------------------------------------
    [0][     64.730]     65.105044 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.760]     65.134966 s: -------------------------------------------------------------------
    [0][     64.760]     65.135271 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.791]     65.165985 s: -------------------------------------------------------------------
    [0][     64.791]     65.166290 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.822]     65.196577 s: -------------------------------------------------------------------
    [0][     64.822]     65.196882 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.852]     65.226621 s: -------------------------------------------------------------------
    [0][     64.852]     65.226956 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.882]     65.256572 s: -------------------------------------------------------------------
    [0][     64.882]     65.256877 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.912]     65.286555 s: -------------------------------------------------------------------
    [0][     64.912]     65.286890 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.942]     65.316720 s: -------------------------------------------------------------------
    [0][     64.942]     65.317025 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.972]     65.346580 s: -------------------------------------------------------------------
    [0][     64.972]     65.346885 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.002]     65.376593 s: -------------------------------------------------------------------
    [0][     65.002]     65.376898 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.032]     65.406941 s: -------------------------------------------------------------------
    [0][     65.032]     65.407277 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.063]     65.437564 s: -------------------------------------------------------------------
    [0][     65.063]     65.437869 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.093]     65.467577 s: -------------------------------------------------------------------
    [0][     65.093]     65.467913 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.123]     65.497590 s: -------------------------------------------------------------------
    [0][     65.123]     65.497895 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.153]     65.527755 s: -------------------------------------------------------------------
    [0][     65.153]     65.528060 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.183]     65.557585 s: -------------------------------------------------------------------
    [0][     65.183]     65.557890 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.213]     65.587567 s: -------------------------------------------------------------------
    [0][     65.213]     65.587903 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.243]     65.617580 s: -------------------------------------------------------------------
    [0][     65.243]     65.617916 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.273]     65.647593 s: -------------------------------------------------------------------
    [0][     65.273]     65.647898 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.303]     65.677575 s: -------------------------------------------------------------------
    [0][     65.303]     65.677911 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.333]     65.707619 s: -------------------------------------------------------------------
    [0][     65.333]     65.707924 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.363]     65.737570 s: -------------------------------------------------------------------
    [0][     65.363]     65.737906 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.393]     65.767583 s: -------------------------------------------------------------------
    [0][     65.393]     65.767888 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.423]     65.797596 s: -------------------------------------------------------------------
    [0][     65.423]     65.797901 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.453]     65.827578 s: -------------------------------------------------------------------
    [0][     65.453]     65.827914 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.483]     65.857591 s: -------------------------------------------------------------------
    [0][     65.483]     65.857896 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.513]     65.887604 s: -------------------------------------------------------------------
    [0][     65.513]     65.887909 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.543]     65.917586 s: -------------------------------------------------------------------
    [0][     65.543]     65.917891 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.573]     65.947599 s: -------------------------------------------------------------------
    [0][     65.573]     65.947904 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.603]     65.977581 s: -------------------------------------------------------------------
    [0][     65.603]     65.977886 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.633]     66.007655 s: -------------------------------------------------------------------
    [0][     65.633]     66.007960 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.663]     66.037607 s: -------------------------------------------------------------------
    [0][     65.663]     66.037912 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.693]     66.067589 s: -------------------------------------------------------------------
    [0][     65.693]     66.067925 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.723]     66.097602 s: -------------------------------------------------------------------
    [0][     65.723]     66.097907 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.753]     66.127615 s: -------------------------------------------------------------------
    [0][     65.753]     66.127920 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.783]     66.157597 s: -------------------------------------------------------------------
    [0][     65.783]     66.157902 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.813]     66.187610 s: -------------------------------------------------------------------
    [0][     65.813]     66.187946 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.843]     66.217592 s: -------------------------------------------------------------------
    [0][     65.843]     66.217897 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.873]     66.247605 s: -------------------------------------------------------------------
    [0][     65.873]     66.247910 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.903]     66.277587 s: -------------------------------------------------------------------
    [0][     65.903]     66.277923 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.933]     66.307600 s: -------------------------------------------------------------------
    [0][     65.933]     66.307905 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.963]     66.337583 s: -------------------------------------------------------------------
    [0][     65.963]     66.337918 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     65.993]     66.367595 s: -------------------------------------------------------------------
    [0][     65.993]     66.367931 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.023]     66.397608 s: -------------------------------------------------------------------
    [0][     66.023]     66.397913 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.053]     66.427621 s: -------------------------------------------------------------------
    [0][     66.053]     66.427957 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.083]     66.457603 s: -------------------------------------------------------------------
    [0][     66.083]     66.457908 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.113]     66.487616 s: -------------------------------------------------------------------
    [0][     66.113]     66.487952 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.143]     66.517598 s: -------------------------------------------------------------------
    [0][     66.143]     66.517903 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.173]     66.547611 s: -------------------------------------------------------------------
    [0][     66.173]     66.547916 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.203]     66.577594 s: -------------------------------------------------------------------
    [0][     66.203]     66.577929 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.233]     66.607606 s: -------------------------------------------------------------------
    [0][     66.233]     66.607972 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.263]     66.637619 s: -------------------------------------------------------------------
    [0][     66.263]     66.637924 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.293]     66.667632 s: -------------------------------------------------------------------
    [0][     66.293]     66.667968 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.323]     66.697614 s: -------------------------------------------------------------------
    [0][     66.323]     66.698102 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.353]     66.727597 s: -------------------------------------------------------------------
    [0][     66.353]     66.727902 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.383]     66.757640 s: -------------------------------------------------------------------
    [0][     66.383]     66.757945 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.413]     66.787622 s: -------------------------------------------------------------------
    [0][     66.413]     66.787927 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.443]     66.817605 s: -------------------------------------------------------------------
    [0][     66.443]     66.817910 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.473]     66.847617 s: -------------------------------------------------------------------
    [0][     66.473]     66.847922 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.503]     66.877630 s: -------------------------------------------------------------------
    [0][     66.503]     66.877935 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.533]     66.907643 s: -------------------------------------------------------------------
    [0][     66.533]     66.907979 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.563]     66.937625 s: -------------------------------------------------------------------
    [0][     66.563]     66.937930 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.593]     66.967638 s: -------------------------------------------------------------------
    [0][     66.593]     66.967943 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.623]     66.997620 s: -------------------------------------------------------------------
    [0][     66.623]     66.997956 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.653]     67.027633 s: -------------------------------------------------------------------
    [0][     66.653]     67.027938 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.683]     67.057616 s: -------------------------------------------------------------------
    [0][     66.683]     67.057921 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.713]     67.088055 s: -------------------------------------------------------------------
    [0][     66.714]     67.088360 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.744]     67.118617 s: -------------------------------------------------------------------
    [0][     66.744]     67.118953 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.774]     67.148661 s: -------------------------------------------------------------------
    [0][     66.774]     67.148966 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.804]     67.178643 s: -------------------------------------------------------------------
    [0][     66.804]     67.178978 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.834]     67.208625 s: -------------------------------------------------------------------
    [0][     66.834]     67.208930 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.864]     67.238638 s: -------------------------------------------------------------------
    [0][     66.864]     67.238943 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.894]     67.268620 s: -------------------------------------------------------------------
    [0][     66.894]     67.268925 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.924]     67.298633 s: -------------------------------------------------------------------
    [0][     66.924]     67.298938 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.954]     67.328646 s: -------------------------------------------------------------------
    [0][     66.954]     67.328951 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     66.984]     67.358628 s: -------------------------------------------------------------------
    [0][     66.984]     67.358964 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    --------------------------
    [0][     62.059]     62.433813 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.089]     62.463490 s: -------------------------------------------------------------------
    [0][     62.089]     62.463826 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.119]     62.493503 s: -------------------------------------------------------------------
    [0][     62.119]     62.493808 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.149]     62.523485 s: -------------------------------------------------------------------
    [0][     62.149]     62.523821 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.179]     62.553528 s: -------------------------------------------------------------------
    [0][     62.179]     62.553833 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.209]     62.583480 s: -------------------------------------------------------------------
    [0][     62.209]     62.583816 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.239]     62.613493 s: -------------------------------------------------------------------
    [0][     62.239]     62.613829 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.269]     62.643506 s: -------------------------------------------------------------------
    [0][     62.269]     62.643811 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.299]     62.673488 s: -------------------------------------------------------------------
    [0][     62.299]     62.673824 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.329]     62.703501 s: -------------------------------------------------------------------
    [0][     62.329]     62.703806 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.359]     62.733514 s: -------------------------------------------------------------------
    [0][     62.359]     62.733819 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.389]     62.763618 s: -------------------------------------------------------------------
    [0][     62.389]     62.764076 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.419]     62.793539 s: -------------------------------------------------------------------
    [0][     62.419]     62.793844 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.449]     62.823491 s: -------------------------------------------------------------------
    [0][     62.449]     62.823796 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.479]     62.853504 s: -------------------------------------------------------------------
    [0][     62.479]     62.853809 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.509]     62.883517 s: -------------------------------------------------------------------
    [0][     62.509]     62.883822 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.539]     62.913499 s: -------------------------------------------------------------------
    [0][     62.539]     62.913835 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.569]     62.943512 s: -------------------------------------------------------------------
    [0][     62.569]     62.943817 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.599]     62.973525 s: -------------------------------------------------------------------
    [0][     62.599]     62.973830 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.629]     63.003507 s: -------------------------------------------------------------------
    [0][     62.629]     63.003812 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.659]     63.033520 s: -------------------------------------------------------------------
    [0][     62.659]     63.033825 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.689]     63.063502 s: -------------------------------------------------------------------
    [0][     62.689]     63.063807 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.719]     63.093515 s: -------------------------------------------------------------------
    [0][     62.719]     63.093820 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.749]     63.123528 s: -------------------------------------------------------------------
    [0][     62.749]     63.123833 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.779]     63.153510 s: -------------------------------------------------------------------
    [0][     62.779]     63.153846 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.809]     63.183523 s: -------------------------------------------------------------------
    [0][     62.809]     63.183828 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.839]     63.213536 s: -------------------------------------------------------------------
    [0][     62.839]     63.213841 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.869]     63.243518 s: -------------------------------------------------------------------
    [0][     62.869]     63.243976 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.899]     63.273531 s: -------------------------------------------------------------------
    [0][     62.899]     63.273866 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.929]     63.303513 s: -------------------------------------------------------------------
    [0][     62.929]     63.303849 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.959]     63.333526 s: -------------------------------------------------------------------
    [0][     62.959]     63.333831 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     62.989]     63.363539 s: -------------------------------------------------------------------
    [0][     62.989]     63.363844 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.019]     63.393521 s: -------------------------------------------------------------------
    [0][     63.019]     63.393826 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.049]     63.423534 s: -------------------------------------------------------------------
    [0][     63.049]     63.423839 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.079]     63.453516 s: -------------------------------------------------------------------
    [0][     63.079]     63.453852 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.109]     63.483529 s: -------------------------------------------------------------------
    [0][     63.109]     63.483834 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.139]     63.513572 s: -------------------------------------------------------------------
    [0][     63.139]     63.513877 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.169]     63.543524 s: -------------------------------------------------------------------
    [0][     63.169]     63.543829 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.199]     63.573537 s: -------------------------------------------------------------------
    [0][     63.199]     63.573842 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.229]     63.603519 s: -------------------------------------------------------------------
    [0][     63.229]     63.603855 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.259]     63.633532 s: -------------------------------------------------------------------
    [0][     63.259]     63.633837 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.289]     63.663514 s: -------------------------------------------------------------------
    [0][     63.289]     63.663850 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.319]     63.693893 s: -------------------------------------------------------------------
    [0][     63.319]     63.694229 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.350]     63.724547 s: -------------------------------------------------------------------
    [0][     63.350]     63.724852 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.380]     63.754529 s: -------------------------------------------------------------------
    [0][     63.380]     63.754864 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.410]     63.784542 s: -------------------------------------------------------------------
    [0][     63.410]     63.784847 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.440]     63.814524 s: -------------------------------------------------------------------
    [0][     63.440]     63.814829 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.470]     63.844537 s: -------------------------------------------------------------------
    [0][     63.470]     63.844842 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.500]     63.874519 s: -------------------------------------------------------------------
    [0][     63.500]     63.874824 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.530]     63.904532 s: -------------------------------------------------------------------
    [0][     63.530]     63.904867 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.560]     63.934667 s: -------------------------------------------------------------------
    [0][     63.560]     63.935002 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.590]     63.964527 s: -------------------------------------------------------------------
    [0][     63.590]     63.964863 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.620]     63.994570 s: -------------------------------------------------------------------
    [0][     63.620]     63.994875 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.650]     64.024522 s: -------------------------------------------------------------------
    [0][     63.650]     64.024827 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.680]     64.054535 s: -------------------------------------------------------------------
    [0][     63.680]     64.054840 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.710]     64.084548 s: -------------------------------------------------------------------
    [0][     63.710]     64.084853 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.740]     64.114530 s: -------------------------------------------------------------------
    [0][     63.740]     64.114866 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.770]     64.144543 s: -------------------------------------------------------------------
    [0][     63.770]     64.144848 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.800]     64.174556 s: -------------------------------------------------------------------
    [0][     63.800]     64.174861 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.830]     64.204569 s: -------------------------------------------------------------------
    [0][     63.830]     64.204874 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.860]     64.234551 s: -------------------------------------------------------------------
    [0][     63.860]     64.234886 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.890]     64.264533 s: -------------------------------------------------------------------
    [0][     63.890]     64.264869 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.920]     64.294668 s: -------------------------------------------------------------------
    [0][     63.920]     64.294973 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.950]     64.324559 s: -------------------------------------------------------------------
    [0][     63.950]     64.324864 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     63.980]     64.354541 s: -------------------------------------------------------------------
    [0][     63.980]     64.354846 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.010]     64.384554 s: -------------------------------------------------------------------
    [0][     64.010]     64.384859 s: SyncLost1:0 SyncLost2:0, SyncLost3:0, SynclostTV:0, OCPError:0
    [0][     64.040]     64.414719 s: -------------------------------------------------------------------
    [0][     64.040]     64xL

  • Hi Raghu,

    ok, If there is no sync lost, it does not look like issue from DSS. DSS seems to be sending out frames correctly. Did you get the chance to look at the lock status of the SERDES link? 

    Regards,

    Brijesh 

  • HI Brijesh, 

    Can you please share info on how to check SERDES link ? . 

    Best Regards,

    Raghu Kadari

  • Hi Raghu,

    Someone in the meeting mentioned that there is a LED connected on the board to show lock status. So you could use this LED.

    Other way is, you need to periodically read lock status from SERDES. 

    Regards,

    Brijesh

  • Hi Brijesh, 

    Currently LOCK_LED Status is being checked, is there anything else we can check  on SW side in parallel ? 

    Best Regards,

    Raghu Kadari

  • Hi Raghu,

    Do you have i2c connection to the Ub921 serializer? If it is connected, i think you could even read lock status from serializer. May be periodically read the status of the lock from the serializer and see if it is still connected. 

    Regards,

    Brijesh

  • Hi Brijesh,

    Can you please confirm  below register to read. In the data sheet I could find this register with Lock status, Can you please confirm we need to read this reg ? 

    0x06 (Reg Address)  (RegName:DES ID)

    Description: 

    7-bit Deserializer Device ID
    Configures the I2C Slave ID of the remote Deserializer. A value of 0 in this
    field disables I2C access to the remote Deserializer. This field is
    automatically configured by the Bidirectional Control Channel once RX Lock
    has been detected. Software may overwrite this value, but should also
    assert the FREEZE DEVICE ID bit to prevent overwriting by the
    Bidirectional Control Channel.

    BR, 
    RK

  • Hi Raghu,

    That's one register. There is also General Status register at the offset 0xC, which provides status like Link Detect, PCLK Detect, etc..

    I could not find any generic lock status in register. There is a lock pin output, i am not sure if this is connected to input pin. Can you please check?

    Regards,

    Brijesh