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: Docking station - 100W source + USB 3.2 hub

Part Number: TPS65987D
Other Parts Discussed in Thread: TPS65987

Tool/software:

Hello TI,

Need application help with correct TCPC configuration of TPS65987D for my application: Docking station - 100W source + USB 3.2 hub. (OPN:TPS65987DDHRSHR, Otherwise all parts bought on Mouser)

USB Hub controller - USB7206C

Buck-boost controller - TPS552882RPMR

SuperSpeed mux - HD3SS3212IRKSR

So, according to my application need to configure USB-C port data role as UFP because of USB Hub and my board works as only source (max. 20V/5A/100W).

I am using both internal switches for source path, so using Power Duo Mode. Buck-boost feedback is controlled with events "Port0 Source PDO x Negotiated" where connect correct resistance to feedback network.

I found some problem with correct TCPC configuration and don't understand what is the problem. I tried two different configs below.

1. Device - TPS65987DDH, than Standard, than Upstream facing port (UFP only). In this configuration sourcing not working. Internal switches did not turn on and also PDOx didn't trigger the feedback of Buck-boost. The only thing that worked was that the USB hub controller was recognized in the computers and connected. Project file VisionV3_config1 in attachment.

VisionV3_config1.pjt

2. Device - TPS65987DDH, than Standard, than Dual role port (DRP) (and I am not sure if I choose prefer data host or power source). In this configuration sourcing works! But I noticed that USB Hub had problem with connection with Dell latitude (1year old laptop). With my old HP ProBook 450 G6 sourcing and USB Hub works correctly. Project file VisionV3_config_DRP in attachment.

VisionV3_config_DRP.pjt

So, I have question what is different in these two configuration? Also, can you tell me how to setup correct configuration for my application? Also, you can try to pre-configure it for me and share with me.

I believe you can help me. Thank you.

Best regards,
Martin

  • Hi Martin,

    The DRP config is more accurate, since the TPS65987 requires the capability to be a power source and data UFP at the same time. The non-DRP config you uploaded did not have the capability to swap its power role to source after making a connection as the UFP Sink.

    Please try the below config project. I have modified a few settings related to data capability. The power settings are correct.

    VisionV3_config_DRP_modified.pjt

    Can you elaborate on the failure seen between USB Hub and the Dell laptop? Typically, we do not control anything on the USB Hub.

    Are you able to access the TPS65987 using I2C? If so, can you read and dump the contents of the TPS65987's I2C1 IntEvent1 register 0x14 and Data Status register 0x5F? This can give us some more information. Do you have a PD analyzer by chance?

    Best,

    Alex

  • Hi Alex,

    Thank you for explanation. I understand better now. 

    I'll try to test your config today and get back to you.

    Can you elaborate on the failure seen between USB Hub and the Dell laptop? Typically, we do not control anything on the USB Hub.

    I can't specify this error. I'll try to debug it better and find out where the problem might be. If DRP config set correctly, the port role is UFP. I think that the only thing that needs to be set correctly here is the role of the port on the UFP. When I test your config, I let you know if I have some updates.

    Are you able to access the TPS65987 using I2C? If so, can you read and dump the contents of the TPS65987's I2C1 IntEvent1 register 0x14 and Data Status register 0x5F? This can give us some more information. Do you have a PD analyzer by chance?

    Yes, I am able to access the TPS65987D via I2C. I will check this as well. I just have to prepare the code for MCU - I2C driver for communication. Also, I don't have PD analyzer.

    Thank you.

    Best regards,
    Martin

  • Hi Martin,

    If you have access to TPS65987D via I2C, you can also use a TIVA or Aardvark tool to connect the I2C to your computer. You can then use the application customization GUI tool to read the TPS65987D's registers.

    Best,

    Alex

  • Hi Alex, 

    I solved the problem with my board. 

    Board successfully connect USB PD and USB hub with that Dell latitude which I mentioned in previous post. 

    I did it without i2c debuging or PD analyzer. Just focus on the configuration and try to use "advanced" setup in configuration app. I don't know what is different in background between "standard and advanced". But I noticed that in advanced there is different possibilities how to configure the swaping between power and data role.

    And I think that this was certainly a problem in my case too, that collisions occurred on the CC line when negotiating the data and power role - Not accepted or rejected swap or I don't know.

    Configuration using advanced mode saved me :D

    Regards, 

    Martin

  • Hi Martin,

    That's great. The advanced mode exposes more configurable settings and registers for users to change. You are probably correct, either the data or power role was conflicting.

    Best,

    Alex

  • Hi Alex, 

    Just one thing.. 

    I noticed that in config which I made not working charging when I plug mobile phone. Laptops worked without problem. I will try to analyze this and contact you if I still have a problem with it.

    Regards, 

    Martin

  • Hi Alex,

    Do you still support this case even if it is marked as resolved?

    Because I noticed that when my laptop is in OFF state, the USB PD not working. 

    Can you tell me which parameter in advanced configuration affects charging when the connected device is turned off?

    Thank you

    Best regards,
    Martin

  • Hi Martin,

    There is not necessarily a setting for when the connected device is off, because that will largely depend on the behavior of that connected device. However, you would want to make sure that in the 0x28 Port Config register, the port role is set to DRP. When the connected device is off, you will always connect to it as the DFP Source, after which you will need to swap to UFP.

    I recommend opening a new E2E thread for this, as it is more difficult for us to track resolved threads.

    Best,

    Alex

  • Ok, thank you for information. I will try to check my config and resolve it.

    If not, I open a new E2E thread. 

  • Ok, sounds good.