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.

TPS65987D: Samsung S10e does not go into DP Alt Mode

Part Number: TPS65987D
Other Parts Discussed in Thread: TPS65988, TPS65987

Hello everyone.

On our development process of DP over USB-C sink device we are having a issue of TPS65987D does not get into DP Alt mode configuring with Samsung S10e.
However, with off the shelf USB-C to HDMI cable,  same phone outputs video every time. 

Here are two files from PD analyzer for both scenario. 
5707.SamsungS10eLog.xlsx

3515.SamsungCable.xlsx

Thanks

Aleksey

  • One more thing that I want to mention; that our TPS65987D based device in Discover Identity message says that it is a Product type "Periferal".

    But the cable is responding as Alternate Mode Adapter.


    My question is, is this a source of the problem, and if it is, how we can change the Prodct Type.

    Thanks

    Aleksey

  • Hey Aleksey,

    It would help more if I could see your GUI configurations for TPS65987D, could you please attach a project file so I can take a look at that as well as the PD analyzer files so I can get a more in depth look at the communications?

    Thank you,

    Hari 

  • Thanks Hari, for the answer.

    Here is the project file;

    4643.EvmBased_06_17_19_BaseForPS171IO4ctr.pjt

    Thanks 

    Aleksey

  • For some reason I have not able insert analyzer files here.
    So here is the link to my Google drive with files;

    Thanks

    Aleksey

  • Hi Aleksey,

    I am looking at your GUI configurations and see that you didn't check the "Supports DP v1.3 signalling" box, I would recommend checking that as the Samsung S10e might require it for proper DP functionality and testing it again.

    As for the logs, what's your process for collecting them, do you first collect the log by connecting the cable to the monitor and then collect a separate log after you connect the S10e? You should be able to record and collect one full log together instead of two.

    Thank you,

    Hari

  • Hi Hari,

    I did test that, if "Supports DP v1.3 signalling"  box was would it work; and it is behave exactly same. However, if you recommend, we will have it checked.
    About logs; there is a log called "SamsungS10eLog", it is log when I did connect the phone to our TPS65987D based device.
    Another log, which called SamsungDexCable" is the log from same phone connected to TV via off the shelf USB-C to HDMI cable.
    I am bringing this as an example of how we need the phone to behave with our device.

    Thank you.

    Aleksey

  • Hi Aleksey,

    What is the TPS65987D based device that you are using? Does the TV that you are connecting to via off the shelf USB-C to HDMI cable also use a TI PD controller?

    Thank you,

    Hari

  • Hello Hari.

    TPS65987D based device is our own design device that we have issue with. 
    Off the shelf USB-C to HDMI cable have some PD controller, but we have never investigate what brand is it.
    Our main question is how to modify Product Type in Discover Identity message.

    Thanks

    Aleksey

  • Hi Aleksey,

    To eliminate the cause being your device itself, could you please reproduce this issue using a TPS65987D EVM and collect the logs? The PD controller should determine the Product Type based on the PD communication and contract that happens.

    Thank you,

    Hari

  • Hi Hari,

    Unfortunately, we have no TPS65987D EVM available in house.
    As I remember, when advanced mode is used in TPS6598x configuration tool, there are one of the option box for Product Type.
    However, as I see advanced mode is made for TPS65988 device, or may be I am not right, but I was not successful in implementing it for our design.

    Thanks,

    Aleksey

  • Hi Aleksey,

    The advanced mode is also available for TPS65987 device. I was able to select that device and configure it as a DFP. Once that's loaded in the GUI, you can configure the "Product Tpe" in the "Transmit Identity Data Object register (0x47). Here is a screenshot of the option in the GUI where you can select it as a peripheral. 

    Thank you,

    Hari

  • Hi Hari.

    That is great info that you have advanced mode for TPS65987D.
    However, for some reason in the version that I have on my computer, like I said advanced mode is available only for TPS65988.
    Thus, may I ask you a favor to provide us a copy of the project file for TPS65987D advanced mode.

    Thank you.

    Aleksey

  • Hi Aleksey,

    You may have an older version of the GUI, I was able to access the advanced configurations using the GUI from TI's website that I can link below. You should see an option to select TPS65987DDH on the GUI and configure it accordingly. From there, you should be able to create your own project file for the particular device.

    http://www.ti.com/tool/TPS6598X-CONFIG

    Thank you,

    Hari

  • Hi Hari,

    Thanks for the link. I was able to load advanced mode project file for TPS65987D and made it work for CromeBook.
    Now it responds as Alternate Mode Adapter in Discover Identity message to CromeBook.
    However, with Samsung S10e nothing have change. In same massage it responds as Peripheral, also I have unchecked to boxed for USB Device and Host in GUI, but in the message it stays present.
    Another interesting behavior that I have noised; with CromeBook it is doing DR_Swap before correct Discover Identity message.
    But, with Samsung phone its doing Discover Identity immediately after getting a power.
    Any idea how we can correct that?

    I am adding CromeBook connection log to the GoogleDrive.

    Thanks 

  • One more thing Hari,

    A I see from the picture you provided, GUI version is 5.21, from the link that you gave I was able ti download GUI Version 5.13.
    Your GUI have two select box for UFP and DFP. The one that I have access to has only one select box.

    How can we get Ver 5.21?

    Thanks

    Aleksey

  • Hi Aleksey,

    The Discover Identity congifuration will not impact the DisplayPort Alternate Mode entry. The issue may be in the Samsung S10e. From looking at the logs, it seems that the Samsung S10e never offers the DisplayPort Alternate Mode and therefore it's not entered. You may need to enable the Alternate Mode in the S10e's PD controller somehow, possibly via an app. Also, when you connected the Dex cable to the monitor though, it was operating as a UFP and the Samsung S10e was the DFP in that scenario. 

    You could try to configure your TPS65987D the same way and see if the Samsung S10e will go into the DisplayPort Alternate Mode that way. You could do this in the GUI by going to the "Port Control" 0x29 register and checking the box labeled "Initiate Swap To UFP" and this will change the Samsung S10e mode so that the TPS65987D will be UFP and the Samsung S10e will be DFP, which is the way it's configured when you connected it to a monitor via Dex cable.

    As for the GUI, the version 5.13 that you have is fine as it's the most updated version that is fully functional. The one that I provided in the screenshot is an internal prototype. Your GUI will be able to handle all the configurations successfully.

    Thank you,

    Hari

  • Hi Hari,

    "Initiate Swap To UFP" check box made it to work.

    Thanks

    Aleksey