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.

DM816x Video port not working

Hi All,

In one of our custom DM8168 based board, we have observed that the video ports are not working at all. The video capture, display including on-chip HDMI display are not happening and there is no clock output from the DM8168 display video port. We have measured the power supplies to DM8168 to be correct and have no clue what must be causing this issue. If any of you have come across similar issue please help us.


Regards,

Shareef

  • Did your other based board is OK? Have you ever changed the PLL clock in the u-boot?

  • Hi Shuai,

    Thanks for the response. Our other boards are working fine and we have the same U-Boot PLL settings in all of them.

    Regards,

    Shareef

  • If you're using dvrrdk,maybe you can run the mcfw demo and select " VCAP  + VDIS  - NO Encode or Decode",then you can put ' i ' to Print detailed system information.or hot plug the HDMI,if it can printf mesg:

    hdmi: -------------DEBUG-------------------
    hdmi: 1 hdmi_wp_irqstatus
    hdmi: 1 hdmi_core_intr_state
    hdmi: 40 hdmi_core_intr1
    hdmi: 1 hdmi_core_intr2
    hdmi: 1 hdmi_core_intr3
    hdmi: 85 hdmi_core_sys_sys_stat
    hdmi: -------------DEBUG-------------------
    hdmi: -------------DEBUG-------------------
    hdmi: 1 hdmi_wp_irqstatus
    hdmi: 1 hdmi_core_intr_state
    hdmi: 60 hdmi_core_intr1
    hdmi: 1 hdmi_core_intr2
    hdmi: 1 hdmi_core_intr3
    hdmi: 81 hdmi_core_sys_sys_stat
    hdmi: -------------DEBUG-------------------
    hdmi: -------------DEBUG-------------------
    hdmi: 1 hdmi_wp_irqstatus
    hdmi: 1 hdmi_core_intr_state
    hdmi: 40 hdmi_core_intr1
    hdmi: 1 hdmi_core_intr2
    hdmi: 1 hdmi_core_intr3
    hdmi: 81 hdmi_core_sys_sys_stat
    hdmi: -------------DEBUG-------------------
    hdmi: -------------DEBUG-------------------
    hdmi: 1 hdmi_wp_irqstatus
    hdmi: 1 hdmi_core_intr_state
    hdmi: 60 hdmi_core_intr1
    hdmi: 1 hdmi_core_intr2
    hdmi: 1 hdmi_core_intr3
    hdmi: 87 hdmi_core_sys_sys_stat
    hdmi: -------------DEBUG-------------------
    hdmi: Enter DSS_HDMI_CORE_SW_RESET_ASSERT ()
    hdmi: Enter HDMI_W1_StopVideoFrame()
    hdmi: Enter HDMI_W1_StopVideoFrame()
    found best resolution: 1440x900 (25)
    Extension block present db 2 21
    84
    Extension block present db 1 21
    84
    Extension block present db 3 21
    84
    Extension block present db 3 21
    84
    Extension block present db 3 21
    84
    hdmi: Enter HDMI_W1_GlobalInitVars()
    hdmi: Enter HDMI_Core_GlobalInitVars()
    hdmi: Enter HDMI_W1_ConfigVideoResolutionTiming()
    hdmi: Enter HDMI_W1_ConfigVideoInterface()
    hdmi: HDMI_WP_AUDIO_CFG = 0x1030006
    hdmi: HDMI_WP_AUDIO_CFG2 = 0x20c0
    hdmi: HDMI_WP_AUDIO_CTRL = 0x20
    hdmi: Enter DSS_HDMI_CORE_SW_RESET_ASSERT ()
    hdmi: Enter DSS_HDMI_CORE_POWER_DOWN_DISABLE()
    hdmi: Enter DSS_HDMI_CORE_SW_RESET_RELEASE()
    hdmi: Enter HDMI_W1_StartVideoFrame  ()
    hdmi: Irqenable 60000011
    hdmi: 40 hpd
    hdmi: -------------DEBUG-------------------
    hdmi: 1 hdmi_wp_irqstatus
    hdmi: 1 hdmi_core_intr_state
    hdmi: 60 hdmi_core_intr1
    hdmi: 3 hdmi_core_intr2
    hdmi: f hdmi_core_intr3
    hdmi: 87 hdmi_core_sys_sys_stat
    hdmi: -------------DEBUG-------------------

  • Hi Shuai

    I am Ayusman and am also working with Khader. We are using DVSDK 5.03.15. We are using OMX for video display and our app runs fine on all other custom boards. Only one board we do not get the display. On that board our app runs fine  but I do not get any display on the screen.

    Can you please guide us in detecting whether it is a software or hardware issue.

     

    Regards

    Ayusman

     

     

     

  • From the point of your description,i think it is a hardware issue possibly.Did you make sure the HDMI port is connect to the DM8168 well,even it's a little hard to test,may be the line was routed deep.

  • Hi Shuai

    We see the issue not only in its HDMI port but also on DVO2 port. And we have seen this in only 1 board and all of the other board are fine. Had it been something to do with routing then we should have seen in all the boards. My guess is that there is some basic issue with the M3 at hardware level thiough I am not sure. My theory is based on the fact that from software point of view everything is fine. And it is not just display but capture is also not working. 

    Regards

    Ayusman

     

  • Is there any debug message in the UART when running program,it's same with other good board? M3 core is in the DM8168,i think  it is difficult to have problems in the CPU itself.

  • Hi,

    I dont think software can make that difference .If  software works on one board it should work on all boards. Please debug your board.

    Regards,

    Hardik Shah