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: The SWUF command success but Data1 response is 0x05.

Part Number: TPS65987D
Other Parts Discussed in Thread: TPS65987

Now, TPS65987D is started with Power fixed as Source and Data as DFP. DataRole is set Swap = Yes.
When connecting a device compatible with USB-PD, execute DR Swap after connecting.
4CC command 'SWUF' is sent, the command is Success, and the response value of Data1 is 0x05. I think that is probably something of an error, but what should I check?
Thank you.

  • I will supplement the question.
    When observed with a protocol analyzer, no packet is sent out even if I throw a SWUF command in I2C.

    It is iPadPro that is connected.
    Power of TPS65987 is fixed at Source, PDO is 5V / 3A.
    The iPad is charged in response to the TPS65987 SourceCapability. If you send DR-Swap in this state, you should be able to swap Data Role, but packets will not be sent.

    What's wrong?
  • Hello,

    My first question is why would you want for the TPS65987D to start as a DFP and then transition to a UFP after a period of time?

    As far as why the you are receiving an error, it could be due to the fact that the iPad does not support data role swaps.

  • Thank you for your reply.

    The product I'm currently considering is that the product wants to act as a device while charging the tablet.
    iPad supports data roll swap. It is clear from operation experiments with other manufacturers' control ICs.
    After the SWUF command, TPS56987 does not send out DR-Swap packet, so I think that it is different from rejecting the command or not responding.

    Thank you.

  • I think that I could probably solve it. Thank you.

    DR_Swap packets are now sent by setting ProcessSwapToDFP and ProcessSwapToUFP in the Port Control register (0x29).

    In the settings of CustomizationTool, I chose Dreferr Data DFP because I wanted to be DFP as the initial value in the Dara Swap Strategy field value, but I could not understand the difference from No Preference, support All Swaps.