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: Data role issue in CC communication

Part Number: TPS65982


Hi all,

 I have question in data role swap issue on tps6598x. If we set us as UFP data  like dock application, but host reject our DR swap requirement in CC communication (like Macbook/Pro in sleep mode), we'll be wrong data role and then the dock will failed in data transmission after Macbook/Pro power up. Is there any method to force dock side in data UFP side in type-c application? I think maybe we can set Dock as UFP at the beginning, but there might be some other issue occurred if start as UFP.  Thanks for your kindly help. I can provide log file for reference if necessary.

FW: 1.11.05 IC: TPS65986

Best regards,

Gary

  • Hi Gary,

    is "process swap to DFP" checked in 0x29?

  • Hi Jeff,

    I don't set DFP because I don't want to be data host. Why do I have to check that?

    Gary

  • Hi Gary,

    I may the wrong reasoning. To clarify, the UFP is macbook and DFP dock. On macbook wakeup, host sends a DR swap to DFP and dock is unable to accept the DR swap to UFP?

    In that case: 0x29 looks ok.

    Is 0x28 port info say data role/power role swaps are supported?

    Thanks

  • Hi Jeff,
    1. Generally our Dock is DRP with try source in system config.
    2. Macbook will accept DR swap after more asking when it in sleep mode...
    3. I've tried to change our dock's port info. as Rd (initial Rd with data/power role swap). The connection is correct between dock and Macbook (power on/off mode). But, in this setting, dell's xps can't be charged in sleep mode....
    4. I'm not sure the PD spec. definition about role change rule. But, if my dock is a UFP, is there any method to let it as UFP (maybe some retry in data role swap or...?)

    Best regards,
    Gary
  • Hi Gary,

    so the dock (DRP) starts as Source/DFP (we want it to be UFP), a DR swap request will be sent by the dock however macbook will only accept this request when in sleep mode. (is this correct?)

    Is there a way to force DR swap - dock to UFP while mac is awake? I will ask the team if we can modify this from the config tool.

    However when accessing the host interface via I2C a 4CC command can be sent, the following screenshot is from the HI-TRM (SLVUAN1A)

  • Hi Gary,

    To follow up with you, once we get a rejection we stop trying to swap.

    There is a bit in the sink/source capabilities PDO register - 'Dual-Role Data' - which determines if you will be able to accept role swaps or not.

    It would be nice if you could find out what changed on the macbook. What should be happening is that when the macbook goes from not accepting swaps to accepting swaps it should resend its source/sink capabilities to indicate that change. If you are able to read this then you could then make the swap request.

    But since this is not happening all you can do is keep pinging the SWUF request as often as you want (once per second I assume).

    Thanks