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: how to config CC with Ra/Rd

Part Number: TPS65987D

Hi TIs

How to config the register so that the CC1 or CC2 can tie to Ra/Rd according to my requirement.

My thought is to simulate the type c cable reverse plug-in action but not really do re-plug cable action

follow belows:

1 set the CC1 to tie to Rd and CC2 to tie to Ra, and change the mux status

2 set the CC2 to tie to Rd and CC1 to tie to Ra, and change the mux status

Is that possible?

  • Hi Cun,

    What'[s your actual need? It's not very clear from your description.

    Are you looking to configure the 87D device as a PD sink? If that's what you want then configure it as a sink. Do do this please choose UFP in the Port Configuration field of Port Configuration register.

    Thanks,
    Rahul

  • Hi Rahul
    Appreciate for your reply.
    Since I see some PD controller from other vendors that can set CC1/2 to tie to Ra/Rd directly by write some registers.
    So want to know if 65987D has the similar register?
    Or 65987D just can choose UFP/DFP... to impact the CC which tie to Ra or Rd?

    the purpose is that I want to make an application that simulate the type c cable reverse plug-in action but not really do re-plug cable action.
    Means if for the first time I connect the cable and the CC1 is tied to Ra and CC2 is tied to Rd.
    Then I want to set register to let CC2 is tied to Ra and CC1 is tied to Rd so that the host will detect the cable orientation is changed, but no need replug the cable actually.
  • Hi Cun,

    If you choose the setting as UFP then the PD controller will connect Rd on the CC lines and of it's set to DFP then it connects Rp on the CC lines. However, note that the PD controller can't apply Ra from inside, that's needs to be taken care by your system.

    Do let me know if you have further questions.

    Thanks,
    Rahul