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: USB-C PD Controller for systems where power and data roles are opposite

Part Number: TPS65987D
Other Parts Discussed in Thread: TPS65987, TPS25751, TPS55288, BQ25758

Tool/software:

Hi, 

 

we want to design a system where power and data roles are opposite. It means, USB-C PD Port will be configured as a Source (DFP), but at the same time it will feature either, USB 2.0 only or both 2.0/3.0 and it will be configured as Device (UFP). It is clear to me that CC lines are used to establish a valid source-to-sink connection and determine the attached device mode (source, sink or accessory). However, I can't figure out, how is determined, whether one USB-C PD port is USB Communications capable, and which role the port has, device or host. 
Is this also negotiated over CC lines? 

In the USB-C PD Standard there is a chapter 6.4.1.2.1.4 USB Communications Capable, that says: "The USB Communications Capable bit Shall only be set for Sources capable of communication over the USB data
lines (e.g., D+/- or SS Tx/Rx)." This means there should be some bits in the USB-C PD Controller, that should be set, either as Device or Host. In the presentation "USB Power Delivery, USB Developer Days 2019 – Taipei, Taiwan November 20, 2019" there is a chapter USB4TM: Enter USB info with a table. In that table there are bits like B25 that says whether the interface is capable of operating as a [USB 3.2] Device or not.     

My question is, whether this information about USB Communications Capability is enclosed in every data sheets or TRM of power delivery controllers and how to search for the USB-C PD controller that supports this? 
Is this information for example enclosed in 0x5F Data Status Register Bit Field Definitions for the TPS65987D? 

Since TPS65987D has the NRND status, is there any replacement for this part? 


BR

Josko

  • Hi Josko,

    However, I can't figure out, how is determined, whether one USB-C PD port is USB Communications capable, and which role the port has, device or host. 
    Is this also negotiated over CC lines? 

    All type-C connections initially in one of two ways, as a Data DFP and Power Source, or as a Data UFP and Power Sink. The initial connection is determined by pullup and pulldown resistors on the CC lines.

    To obtain a port where the power roles are "opposite", USB-PD is required. CC line communication using the PD spec will negotiate data or power role swaps to enter these mixed port roles when possible.

    My question is, whether this information about USB Communications Capability is enclosed in every data sheets or TRM of power delivery controllers and how to search for the USB-C PD controller that supports this? 

    There is not a good way to determine if the PD controller supports the bit outside of seeing support for USB communication in the datasheet.

    Is this information for example enclosed in 0x5F Data Status Register Bit Field Definitions for the TPS65987D? 

    The Data Status register is a status register that describes the active contract. In this case, it only reports what USB speed the active connection is in, if it is one at all. It does not configure the USB Comms capable bit as it is a read only register.

    For the TPS65987, the communication capable bit is directly set in the source PDO 1 field of the Transmit Source Capabilities register, and can be done through the GUI. It is bit 90 of that register.

    Since TPS65987D has the NRND status, is there any replacement for this part?

    You may want to explore using the TPS25751. 

    The USB Comms Capable bit for this part is actually bit 11 of the port config register90x28). The public TRM has the bit "reserved" but we are in the process of updating it to match the image below.

    Thanks and Regards,

    Chris

  • Hi Chris, 

    For the TPS65987, the communication capable bit is directly set in the source PDO 1 field of the Transmit Source Capabilities register, and can be done through the GUI. It is bit 90 of that register.

    So the bit 90 says that USB-C Port with "TPS65987" is capable to communicate over USB data lines. Is this enough?  I can't figure out, how the other side knows which data role the USB-C Port  has, Host or Device,  and whether the USB-C Port is USB2.0 capable only, USB3.0 only, or both? In which register is this defined? 
         

    You may want to explore using the TPS25751. 

    The USB Comms Capable bit for this part is actually bit 11 of the port config register90x28). The public TRM has the bit "reserved" but we are in the process of updating it to match the image below.

    Actually the same question for the TPS25751: how the other side knows which data role the USB-C Port with TPS25751 has, Host or Device,  and whether the USB-C Port is USB2.0 capable only, USB3.0 only, or both? In which register is this defined? 
         
    The TPS65987D was paired with TPS55288 DC-DC converter and there were some reference designs for that.TPS25751 is usually advertised with BQ batterie chargers. 
    Few months ago I asked regarding alternative solution for the TPS25751 and got the answer: "BQ25758 is a dc/dc converter only.  It very similar registers to the BQ2575x devices.  There is firmware for TPS25751D and one of the BQ2575x devices."
    TPS65987D: not recommended for new design and alternatives - Power management forum - Power management - TI E2E support forums

    Is there any updates here regarding the reference desing? 

    Our goal is to achieve USB-C PD port configured as Power Source (DFP)  and is USB2.0 communication capable as Device (UFP). 

    Best regards
    Josko

  • Hi Josko,

    So the bit 90 says that USB-C Port with "TPS65987" is capable to communicate over USB data lines. Is this enough?  I can't figure out, how the other side knows which data role the USB-C Port  has, Host or Device,  and whether the USB-C Port is USB2.0 capable only, USB3.0 only, or both? In which register is this defined? 

    When acting as source, yes, bit 90 in TX Source caps indicates USB comms support.

    When acting as sink, bit3 in autonegotiate sink (0x37) needs to be used.

    Data role is determined by a couple things, and should be managed by the ports individually. On initial connect, the CC line termination for the ports determines the data role. The port with the RP pull up resistors is the data DFP, and the port with the RD pulldown resistors is the data UFP. For type-C only, data roles are limited to this initial connection. For Type-C PD, Data role swaps can be negotiated using the CC-line PD communication, and each port will keep track of the data roles that are negotiated.

    Two of the first messages sent when USB-C PD communication begins is the source caps message(sent by the source) and the request message(sent by the sink).

    The source caps message uses bit 90 in TX source caps to indicate if the source is capable of USB communications.

    The request message uses bit 3 of autonegotiate sink to indicate if the sink is also capable of USB communications.

    There are additional messages that can be sent to see the highest USB speed that each port supports, but these are not required to be used. The PD controllers do not directly interact with the USB data lines for data purposes, so it is up to the USB endpoints to enumerate.

    Data role can be checked in the status register. If the additional data speed communication occurs, the data will be in the data status register. Please look through the device TRM for more information on the status registers.

    Actually the same question for the TPS25751: how the other side knows which data role the USB-C Port with TPS25751 has, Host or Device,  and whether the USB-C Port is USB2.0 capable only, USB3.0 only, or both? In which register is this defined? 

    The TPS25751 uses the USB comms capable bit in the port configuration register (mentioned in an earlier response).

    The TPS25751 does not support the usb data speed reporting. 

    As a UFP, you can check the status register, USB host present field to see if the far end is USB communications capable

    As a DFP, you can check the Active RDO contract -> USB Communication Capable field to see if the far end is USB communications capable.

    Is there any updates here regarding the reference desing? 

    There are no updates regarding the reference design.

    and is USB2.0 communication capable as Device (UFP).

    For USB 2.0 communication, you should only need to set and check the USB comms capable bit.

  • Hi Chris, 

     thank you for detailed answers and sorry for delayed response. 

    Since I am not allowed to publish it here, would it be possible to send our connection block diagram through the private message?  
    Would we like to hear your opinion here, does TI have any products that can fit to our concept, or we should move on and check other manufacturers. 

    My company has NDA with TI-a signed. 

    Best regards

    Josko

  • Hi Josko,

    Since I am not allowed to publish it here, would it be possible to send our connection block diagram through the private message?  
    Would we like to hear your opinion here, does TI have any products that can fit to our concept, or we should move on and check other manufacturers. 

    Sure, I sent you a friend request for private messaging.

    If the TPS25751 does not meet your needs from the earlier reply, you may need to check other manufacturers.

    Thanks and Regards,

    Chris