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.

AM5718: HDMI Hardware issue

Part Number: AM5718
Other Parts Discussed in Thread: TPD12S016

Hello All;

We have designed our custom board in which we have used the AM5718 Processor. During the testing we found "omapdss error: HDMI I2C timeout reading EDID" error.


Please check the below image of HDMI connection of our board. we have doubts on hardware so can check and guide us if any hardware issue?

Thanks & Best Regards;

Nikunj Patel

  • Hi,

    Do you have a display connected on the HDMI? Have you checked the signal levels on the HDMICONN_I2C signals?
  • Hi Biser;

    We check during the power on/off the boot but there was no any signal on those pins.
    can you help me for how to check the signal?
    Have you check our HDMI connection? is it ok?


    Thanks & Best Regards;
    Nikunj Patel
  • Please answer my questions above:

    Do you have a display connected on the HDMI? Have you checked the signal levels on the HDMICONN_I2C signals?
  • Hi Biser.

    Do you have a display connected on the HDMI?
    Ans:Yes

    Have you checked the signal levels on the HDMICONN_I2C signals?
    Ans: There was no any signal on both pins [we measured at R795 and R796]

    Thanks

  • Hi Biser,

    gentle reminder.

    Thanks & Best Regards,

    Nikunj Patel

  • Hi Nikunj,

    Sorry for the delay, this has been discussed internally. Please refer to the AM572x GP EVM schematic: www.ti.com/.../tidria3 The HDMI schematic is on page 17 of the Processor Module board. Note that all pullup/pulldown resistors marked as DNI should be removed.
  • Hi Biser,

    We checked the page 17 of " www.ti.com/.../tidria3 " schematic but this schematic does not match with our configuaration.

    We have taken the reference of "www.ti.com/.../sprr242.pdf" Am5718 idk's Schematic for our board and We does not populate R556,R563,R804,R805,R562,R560 resistor on our board.

    can you one more help to provide us the full log of HDMI log with AM5718 idk board?

    Thanks & Best Regards;
    Nikunj Patel
  • This is the request I got from the factory team:

    "They need to capture the signal levels when the communication first starts. I assume that the Hot Plug Detect is used to trigger a query over the I2C bus. This initial query (and possible response) is what they need to capture on a scope for analysis. They need to clearly indicate on the scope where 0V is located and to then determine whether the I2C signals are going low enough to indicate a low level."
  • Hi Biser;

    We have checked the "HDMI_DDC_SCL" pin at R795 resistor. When we plug the HDMI Cable to the board this signal goes to low. as per attched images.

    1)  When HDMI Cable Plugged

    2)  When HDMI Cable UnPlugged

    Thanks & Best Regards;

    Nikunj Patel

  • Nikunj,

    The SCL pin should not go low and stay low.  This is invalid for I2C to function.  There must be a design or assembly issue causing this condition.  How many boards have you assembled?  Do they all behave the same?  Do you have a different HDMI display that you can plug in to see if the behavior is different?  Another test would be to use an AM571x IDK with the HDMI panel and to probe the signals to see what is different.

    Tom

  • Hi Tom;

    Thanks for your quick reply.

    There must be a design or assembly issue causing this condition.  How many boards have you assembled?  Do they all behave the same?  Do you have a different HDMI display that you can plug in to see if the behavior is different?

    Ans: We have checked with the 3 different boards and 3 different HDMI Display and all have the same issue.

    Another test would be to use an AM571x IDK with the HDMI panel and to probe the signals to see what is different.

    Ans: We does not have the AM571x IDK board so we can't measure this SCL pin. can you help us to probe the signals if you have AM571x IDK Board?

    Thanks & Best Regards;

    Nikunj Patel

  • Nikunj,

    Sorry, I clicked the wrong button.  I did not mean to indicate that the question is answered.

    Tom

  • Nikunj,

    We know that the IDK works.  SCL being held low is an invalid I2C bus condition.  It blocks all communication.  The point of having you probe the IDK was not to see if the SCL was held low.  It was for you to measure the various signals around the TPD12S016 to determine what is different in the various operating states.  I recommend that you acquire one for this purpose.

    Your HDMI schematic implementation is slightly different from the one on the IDK.  Have you cross-checked the differences to make sure that they meet your requirements and software driver?  Can you modify the connections on one of your boards to make it match the IDK implementation to see if that enabled success?

    Tom

  • Nikunj,

    I see that you had a previous E2E open on this topic at: 

    .  What was the resolution on the I2C in that thread?  You mentioned that you had functional communication in standard I2C pinmux mode.  I see that you asked about the pin definitions being reversed between standard I2C and HDMI I2C.  This reversal is known and it is true.  Do you have this connected incorrectly on your board for HDMI I2C use?

    Tom

  • Hi Tom;

    Your HDMI schematic implementation is slightly different from the one on the IDK.  Have you cross-checked the differences to make sure that they meet your requirements and software driver?  Can you modify the connections on one of your boards to make it match the IDK implementation to see if that enabled success?

    Answer: yes there was only one Change of gpio control differ from IDK. but we already change software configuration for that and we measured voltage and it was proper 3.29 volt. Also as per your suggestions I will check with removing gpio connection and change the R559 to 0 ohms.

    What was the resolution on the I2C in that thread?  You mentioned that you had functional communication in standard I2C pinmux mode.  I see that you asked about the pin definitions being reversed between standard I2C and HDMI I2C.  This reversal is known and it is true.  Do you have this connected incorrectly on your board for HDMI I2C use?

    Ans: we have correct connection on our board.

    You can check the image of HDMI connection's schematic which was post by me on staring of this thread.

    Thanks & Best regards;

    Nikunj Patel

  • Nikunj,

    In the other post, you show scope images of I2C data transfers.  What is different from then?  Now you are reporting that the SCL net is held low as soon as the HDMI is plugged in.

    Do you know which side is holding it low?  Can you provide the picture shown above for both the connector side and the processor side?

    Tom

  • Hi Tom,

    We have configured HDMI_DDC_SCL as normal I2C_SDA and HDMI_DDC_SDA as normal I2C_SCL mode using spl-uboot pin MUX configuration only for damage or proper soldering of pin checking as per describe in other post.

    Thanks & Best regards;

    Nikunj Patel

  • Nikunj,

    But how does that work with the pins swapped?

    Tom

  • Hi Tom;
    I am not saying that the HDMI-DDC-I2C is working.
    We test only these two pins using "i2cdetect" linux utility. During the utility run we have measured signals and we found signal as per previous post.

    Thanks & Best regards,
    Nikunj Patel
  • Nikunj,

    Were you able to communicate with an HDMI display while in the Linux I2C mode?  Or were these captures made while there was no display attached?

    Tom

  • Hi Tom;
    Without attached HDMI Display.

    And this is only just testing for pin connectivity.

    Thanks
  • Nikunj,

    OK, let's go back to this question:

    In the reported failure case - do you know which side is holding it low?  You may have to cut traces or lift IC pins to determine this.

    Can you provide the picture shown above (where the signal is pulled static low) for both the connector side and the processor side?  Please make sure that the 0V level and the vertical deflection (V/div) is clearly shown in the scope capture.

    Tom

  • Hi Tom,
    Yes I will capture images as per your suggestions.
    I will send you those after two days because I am out of office. Sorry for inconvenience.
    Thanks
  • Hi Tom,

    I have captured images as listed below .

    Now we have configured our board as similar to the IDK[De-Populate R561 and R1068,Changed R559 from 10K to 0 ohm].But still on SCL after connecting to HDMI connector we are not getting proper voltage output as well as it isn't looks a like clock.

    1. While HDMI not connected and measured at R795. 

    2) HDMI not connected and measured at R796.

    3) HDMI not connected and measured at R560.

    4) HDMI not connected and measured at R562.

    5) HDMI connected and measured at R796.

    6) HDMI connected and measured at R795.

    7) HDMI connected and measured at R560.

    8) HDMI connected and measured at R562.

    Is there still something that i need to update from harware pointof view please guid us.

    Thanks and Best Regards,

    Nikunj Patel.

  • Nikunj,

    Two comments here:

    1)  We know that the IDK works.  Therefore, if you make the connections and resistors match the IDK, your board will work.  This indicates that there is something in the design or the assembly that is not like the IDK.  You should get an IDK EVM to enable comparison during debugging.

    2.  You crossed my requests.  I was asking for scope captures to be taken from both sides of the TPD12S016 whith the board and test conditions same as shown in the post on Oct 18.

    Tom

  • Hi Tom;

    Sorry for late reply.

    We have done test as per below.

    We removed the "R795" resistor to check the issue of level shiftor ic. but after removing the "R795" Resistor still, the signal goes low of level shifter IC pin.

    Thanks & Best Regards;

    Nikunj Patel 

  • gentle reminder,

    Thanks & Best Regards;
    Nikunj Patel
  • Nikunj,

    As I stated in my 10/23 post.  I need to see the scope captures requested.

    Tom

  • Hi Tom,

    We does not captured the the scopes picture right now but we measured the voltage at both side as below. we have do some changes for another testing so i will captured the scope images after two days and then send to you.

    1. HDMI DISPLAY CABLE UNPLUGGED
      1. HDMI Connector Side
        1. HDMICONN_I2CSCL(J24-pin17) : 4.9Volt
        2. HDMICONN_I2CSDA(J24-pin18) : 4.9Volt
      2. Processor Side
        1. AM572X_HDMI_DDC_SCL(R795) : 3.29Volt
        2. AM572X_HDMI_DDC_SDA(R796) : 3.29Volt
    2. HDMI DISPLAY CABLE PLUGGED
      1. HDMI Connector Side
        1. HDMICONN_I2CSCL(J24-pin17) : 100-200 millivolt
        2. HDMICONN_I2CSDA(J24-pin18) : 4.83 Volt
      2. Processor Side
        1. AM572X_HDMI_DDC_SCL(R795) : 0.483 Volt
        2. AM572X_HDMI_DDC_SDA(R796) : 3.23 Volt

    Thanks & Best Regards;

    Nikunj Patel

  • Nikunj,

    I asked for the scope pictures as I want to see the low levels during data transfer.  The measurement provided are not sufficient.

    It is interesting to note that your static measurements show SCL static low.  This is a hung condition.  The SCL should always return high after a transfer is completed.

    Tom

  • HI Tom,
    Thanks for sharing your valuable time for our query.

    Actually, we found the issue in our board that the connector footprint does not match with standard A type connector. and thus HDMI does not work.

    Thanks & Best Regards;
    Nikunj patel

  • Nikunj,

    Since you will be redesigning your board to fix the connector, you should also reference this related E2E discussion: .

    Since you are using 3.3V signaling to the AM5718, all thresholds will be met.  However, if you choose to switch to 1.8V signaling on the processor side, the TPD12S016 does not meet worst case signaling thresholds for the DDC port.  I separate level shifting device would be needed for these signals in that case.

    Tom

  • Hi Tom,

    We will keep that thing in mind.

    Thanks & Best regards;
    Nikunj Patel