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.

TPS65982: Task status when DR swap is rejected

Part Number: TPS65982

Hi,

In the technical reference manual, when DR swap is rejected, the task response should be 0x3 as below table.

So I did a test with EVMs and Host Interface Tool, but it seems the task response is 0x1 when DR swap is rejected.

And I read the Data1 register (0x09), the value is also 0x1, not 0x3. Is there anything wrong I did?

And one more question, If the DR swap or PR swap is rejected, is there any register or way for the system who sends PR swap or DR swap request to know that it is rejected?

Best regards,

  • Sean,

    In general, any host command that is rejected by the device will have a return-code of 0x03, and that information is captured in Table 4-1 of TRM that you pointed above - Ex: 'DBfg' will be rejected by the device if dead-battery flag was not set.

    In the context of DR/PR swaps however, the return code shall as well indicate if the far-end rejected the command. Thanks for pointing out the issue - We'll work on it and the fix for the same will be part of the next firmware release.

    Event PRSwapComplete/DRSwapComplete of IntEventX register indicates if a PR-Swap/DR-Swap is completed successfully.

    -/Praneet
  • Sean, I'm closing this thread - The fix will be part of our next firmware release. For additional queries on the topic, please start a new thread w/ references to the current one for us to track it better.

    -/Praneet