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.

TPS65988: About 0x28 Port configuration in Firmware Tool of TPS65988DH

Part Number: TPS65988


Hi,

I found difference between “FW tool” and “TPS65987DDH Host Interface Technical Reference Manual (Rev. B)”.

FW tool descripts UFP or DFP but the manual descripts SINK or SOURCE.

Which word is correct ?

  • Hi Yasuhide,

    Here UFP = Sink, and DFP = Source, they are the same.

    Thanks.

    Bing

  • Hi Bing,

    Thank you for your reply.

    Do you mean that Power Role become sink when I set UFP in FW tool ?

    Do you mean that Power Role become Source when I set DFP in FW tool ?

    In case of I set DRP, What do the PD become ? Dual Role Power & Dual Role Data ?

  • Hi Yasuhide,

    Please notice that this is Type-C state machine. It determines the behavior for the first connection.

    That is, UFP -> Sink state machine, the port will go into Sink when connect;

                 DFP -> Source state machine, the port will go into Source when connect..

                 DRP -> Dual Role state machine, the port executes Dual Role state machine, the role will be determined by both state machine setting for both port.

    More details you may refer to the Type-C Spec.

    Thanks.

    Bing

  • Hi, Bing. 

    Thank you for your cooperation.

    I pushed "resolved button" but I have additional questions. 

    I confirmed Type-C Spec and PD Spec.

    I think that your comment are interactions between Non-PD and PD devices.(I referred PD Spec. 2.7.7 Interactions between Non-PD, BC and PD devices)

    PD Spec describes Power Role(Source, Sink, Dual-Role Power) and Data Role(DFP, UFP, Dual-Role Data).

    I referred 2.7.4 Power supply and 2.7.5 DFP/UFP of PD Spec.

    Question: I want to set Data Role by the firmware tool. How do I set Data Role(UFP/DFP/Dual Role Data) by the firmware tool ?

    I want to set "Power Role is source and Data Role is UFP" without Dual-Role Power and Dual-Role Data.

  • Hi Yasuhide,

    The setting is only for Type-C state machine, Type-C & PD are two different Specs; and in Type-C spec, the power role and data role keeps the same when the first connection is executed, and after that PD spec will engage in to do power/ data role swap.

    The setting you mentioned only determines the role the first time device is connected.

    If you want to set  Source & UFP, you can set the state machine as DFP; and in 0x29 Port Control Register, you can set it as:

    Process swap to UFP + Initiate swap to UFP.

    In this setting, after connection, the port is Source + DFP, and after power contract, PD will automatically request swap to UFP.

    Thanks.

    Bing

  • Thank you for your cooperation.

    I could understand completely.

    Your advices are great.