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: Role detect function

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

Hello,

I would like you to confirm whether this device can output (GPIO or I2C) to external device for role detection result of attached device.

When I confirmed TRM of TPS65987, following GPIO event may resolve above requirement. However, there is no description in case of DRP, I can not understand what case this event can be used.. 

What I would like to do is control USB data line switch by using output from TPS65987.

Best Regards,

  • Hello,

    In the case of a DRP, you can still use this GPIO. This GPIO is determined based on the data role of the PD controller at that specific time. For example, if your system starts as a DFP, then this GPIO will be low. If your system is a DRP and capable of data role swaps, and swaps from a DFP to UFP, then this GPIO will toggle from low to high. 

    Hope this helps answer your question

  • Hello,

    Thank you for your reply.

    I have following questions.

    1. In case of DRP setting, what output state before transitioning attached state ?

    >For example, if your system starts as a DFP,

    Can user define initial state when user set DRP for CC port ?

    2. Can you show the time when result of role switch is reflected on GPIO output ?

    Best Regards,

  • Hello,

    Sorry, I have additional question.

    3. Let me confirm behavior of port power switch.

    Now, when I set global system configuration register(0x27) of PP1 switch config to sink only and PP2 switch config to source only, how gate switch will be opreated ?

    I assume as shown below.

    * In case of setting to DRP mode, when start as DFP, gate swich for PP1 is disable and gate switch for PP2 is enabled. And when role switch is performed PP1 is enabled and PP2 is disabled. Is my assumption correct ?

    BR,

  • Hello.

    The initial data role is directly related to the initial power role. For example if you system is connected as the source it will be the DFP and if it is the sink it will be the UFP. PD negotiation then lets you change your data role to where the data role is not determined base don the power role. There is no way to start as a Source/UFP or Sink/DFP. You must first start as either Source/DFP or Sink/UFP, and then you may change your data role if you wish.

    I do not know the exact timing or have this specific measurement, but it should be relatively instantaneous from your perspective. 

  • Hello Adam-san,

    Thank you for your reply.

    >You must first start as either Source/DFP or Sink/UFP, and then you may change your data role if you wish.

    According to Application Customization Tool, when user set project file, user can set DRP condition. However, I'm not sure what is different between "prefers data host" and "prefers power source".

    I assume that when I set "prefers data host", TPS65987D tends to DFP. So I think that this determines initial state of role.

    Can you explain difference about above two ?

    BR,

  • Both dual role port configurations accept a data role swap and are capable of being both a UFP and DFP.

    For the prefers data host configuration, the PD controller will try to initiate a data role swap if it starts as a UFP, but does not care about the power.

    For the prefers power source configuration, the PD controller will initiate a power role swap if it starts as the sink 

  • Hello,

    Sorry for my late reply.

    Understood.

    BTW, can you also answer of question about tps25750 ?

    I tried to post question on E2E, however this device did not show.

    Best Regards, 

  • Hello,

    The TPS25750 has not been released online yet which is why you cannot post a question on it. It is planned to have an early release next week. 

    Depending on your question, I may be able to answer it now

  • Hello Adam-san,

    Thank you for your reply.

    At first, I have quick question.

    * Do you have plan to release EVM for TPS25750S/D ?

    Best Regards,

  • Yes, there will be an EVM available for this device once it releases. For any further questions, please message me privately 

  • Hello,

    Thank you for your reply.

    I sent you private message since I have additional question. please approve my request and send me your feedback.

    I will close this thread because we move private message.

    BR,