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.

TPS25751: Question of 5V/3A and 5V/1.5A with DRP role(disable PD)

Part Number: TPS25751
Other Parts Discussed in Thread: , BQ25792, BQ25792EVM

Tool/software:

Hi Team,

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1379751/tps25751-can-t-sink-3a-current/5293464#5293464

I asked the question in E2E, but no response for two weeks. And so I raise this E2E. Please help assign the person who has bandwidth to reply me.

Background : We use TPS25751 as typeC controller. And our use cases are 5V/3A and 5V/1.5A with DRP role.

Originally, we plan to use the 0x29[1:0] to switch the current. For the description, we need to satisfy two conditions

1. Source role enable and active.

2. No explicit USB PD contract. 

So after TPS25751 entering into APP mode, we disable the PD by using 0x28[10]

And then we connect to our cell phones. (iPhone and Samsung)

1.iPhone : Initial charge current is 3A and the charge current can be switched to 1.5A when 0x29[1:0] = 01b, but the charge current can't be recover to 3A when 0x29[1:0] set to 10b

2.Samsung: No initial charge current. Unless, I enable the PD by using 0x28[10].

Ps. If we don't disable PD, both of iPhone and Samsung can be charged and 0x3F[3:2] = 11b. 0x29[1:0] can't limit the typeC current.

Do you have recommended sequence for my use case? Our application is power bank. 

{
  "questionnaire": {
    "device": "TPS25751",
    "answers": [
      null,
      1,
      0,
      0,
      0,
      0,
      3,
      0,
      1,
      1,
      1,
      null,
      0,
      0,
      0,
      0,
      0,
      0,
      0
    ],
    "vendorId": "0000",
    "productId": "0000",
    "version": "1.0.0.2"
  }
}

Regards,

Roy

  • Hi Roy, 

    Thank you for reaching out!

    I have some clarifying questions/comments: 

    • Type-C current advertisement setting is used in the case when the PD controller (source) is connected to a legacy (non-PD) sink port.
      • Do you require BC1.2?  
    • You mention that the port's power role is DRP, hence PD contracts (explicit) are needed in order to negotiate with a PD port-partner. 
      • Could you elaborate on the power bank's requirement? Is the USB-C port needed to charge the power bank and supply power to peripherals?
    • Are you testing with a TPS25751EVM? Do you have a PD analyzer? 

    Best Regards, 

    Aya Khedr 

  • Do you require BC1.2? 

    Yes.

      • Could you elaborate on the power bank's requirement? Is the USB-C port needed to charge the power bank and supply power to peripherals?

    Yes. The comment hint me. DRP needs to use PD, is it correct?

    Are you testing with a TPS25751EVM? Do you have a PD analyzer? 

    No, we use customer board, we only use MSPM0 to R/W the CMD.

    Is it possible to maintain PD(enable PD) with adjusting the typeC current? In short, we would like to limit the typeC source current in some specific scenario.

    Regards,

    Roy

  • Hi Roy, 

    Yes. The comment hint me. DRP needs to use PD, is it correct?

    That is correct. The power bank will advertise its sourcing capabilities and request power according to its sink capabilities with a PD port-partner. This communication/negotiation occurs on the CC lines with PD port partners only. 

    Is it possible to maintain PD(enable PD) with adjusting the typeC current? In short, we would like to limit the typeC source current in some specific scenario.

    In the case where your device is connected to a legacy (non-PD) sink, it will use the TypeC Current setting as the advertised current. 

    The TypeC current setting is not relevant when both devices are PD capable. A PD sink will only request voltage/current that the PD source advertises. 

    Best Regards, 

    Aya Khedr 

  • Hi Aya,

    Currently, I think most of cell phone support PD. At least, iPhone and Samsung. The typeC current status that we read after connecting to iPhone/Samsung are "Explicit PD contract sets current." I believe it means that the TPS25751 connected to a PD sink, is it correct?

    So in my scenario, do you have suggestion to lower down the typeC current? 

    Regards,

    Roy

  • Hi Aya,

    We did some tests today and would like to share with you. 

    We power on the TPS25751 and connect to iPhone. The power status that we read was "Explicit PD contract sets current" 0x3F=1Dh. (Charge current = 1.6A)

    And we disabled the PD by using 0x28[10]. The 0x3F became 0x3F=19h. (Charge current = 1.6A)

    And then we issue the command on 0x29[1:0] from 2h to 1h and check the 0x3F content is still 19h. (Charge current = 1.6A)

    And then we issue the command on 0x29[1:0] from 1h to 0h and check the 0x3F content is still 19h. (But the charge current = 0A)

    And the charge current can't be recovered when 0x29[1:0] change back to 1h or 2h and even enable the PD(0x28[10]).

    Our purpose would like to lower down the type C current in source role.

    Regards,

    Roy

  • Hi Roy, 

    Which battery charger are you using in the above test? 

    "Explicit PD contract sets current" is referring to the Operating Current setting in Transmit Source Capabilities in which the PD controller advertises.

    You should not need to disable PD or change the Type-C current on the fly. 

    The battery charger actually delivers the charge current to the iPhone. I would double check the battery charger's settings. 

    Best Regards, 

    Aya Khedr 

  • Hi Aya,

    We use the BQ25792, but we use below setup.

    Do you mean that we need to limit the current provided by charger? But the 5V generated by charger is not only provide the typeC current, but also the system power.


    Regards,

    Roy

  • Hi Roy, 

    For battery charger applications, please select the first option in question #1 that includes a "BQ" in the block diagram. 

    The TPS25751 has integrated control for the BQ25792 based on the questions 11-17. You can set the desired charge current and current limit percentage. 

    Please see the TPS25751 EVM user guide Section 4.2.2.2 Software Setup with BQ25792/8EVM. 

    Best Regards, 

    Aya Khedr 

  • Hi Aya,

    But my question is that how to limit the TPS25751 typeC current when TPS25751 typeC port is source role. I have no idea how the setup help me. May you help explain more detailed?

    Regards,

    Roy

  • Hi Roy, 

    Could you provide a list of your requirements in detail? I will help generate a json file for you to test with. 

    My understanding is that this is a DRP power bank application (TPS25751 + BQ25792).

    1- What are the PD source capabilities that you would like the power bank to advertise?

    2- What is the power bank's sinking power requirement? 

    3- In terms of sinking, how many battery cells? What is the target battery charge voltage?

    4- What is the battery charge current? 

    5- Do you have a BQ25792EVM? This will be needed for testing (see hardware setup below)

    Best Regards, 

    Aya Khedr 

  • Hi Aya,

    We don't connect the BQ part to TPS25751 by I2Cc bus. That's why I said I used below config to generate low region binary file to let TPS25751 enter the APP mode from PTCH mode.

    Below is our block diagram and TPS25751 circuit.

    Below is the TPS25751 circuit. We use MCU to control BQ25792 and TPS25751.

    Our power bank is a DRP application. (source and sink can be up to 5V/3A. No need more power.)

    1. 5V/3A, but in some conditions, we want to lower the source current to 5V/1.5A and 5V/0.5A. My support need is how to lower the typeC source current in real time. For example, the power bank provide the 5V/3A to my cell phone and currently, we sensed the power bank's temp is high and so we want to immediately lower the source current from 3A to 1.5A. How can we do?

    2. 5V/3A

    3. Battery cell is 3S1P. Charge voltage is 11.2V.

    4. 700mA

    5. We used our own board. 

    For 3/4, we've used the MCU to set the BQ25792. It's ok.

    Ps. BQ25792

    Regards,

    Roy

  • Hi Roy, 

    Thank you for the clarification. 

    The sink (phone) will only request PDOs that are advertised by the source (power bank). 

    In that case, you would need to change the "maximum current" advertised to the sink. This is achieved by writing to register 0x32 followed by the "SSrC" command to send the updated source capabilities to the port partner. I suggest setting PDO1 to a lower current level initially and then updating to higher capabilities. I also suggest checking the layout of the board for proper heat dissipation. You may open a new thread to the battery charger team addressing that aspect. 

    Best Regards, 

    Aya Khedr 

  • Hi Aya,

    Thank you for your comments. If we want to lower down the source current from 5V/3A to 5V/0.5A

    1. Do you mean that we need to add 5V/0.5A Transmit Source Capabilities (0x32) / Source PDO 1 in advance and generate the low region binary file to let TPS2751 use the file from PTCH mode to APP mode? May you help provide me the .json file for our reference?

    2. If above setting finished, I'm not sure the step to change the source capability by using 4CC commands "SSrC". Just issue the CMD1 = 'SSrC' ? Not clearly understand the step in TRM, may you help list the step for us?

    Regards,

    Roy

  • Hi Aya,

    Do you have any update? Thank you.

    Regards,

    Roy

  • Issue fixed. See below steps.

    How to decrease the source current in specific using scenario. (5V/3A to 5V/0.5A)

    1. TypeC source 3A current to sink device.

    2. Write 0x32(PDO) from 

    5V/3A:0x641f40006412c0004b12c0002d12c2201 91 2c 2a a8 01

    to 

    5V/0.5A:0x641f40006412c0004b12c0002d12c2201 90 32 2a a8 01

    3. Write 4CC command "SSrC" to re-build the source cap

    Roy