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: TPS25751: power bank mode (power role source/sink configuration)

Part Number: TPS25751

Tool/software:

Hello,

We use the TPS25751 as a PD controller in our BT audio speaker. One of the features of the product is power bank mode. This means we can configure the unit to either charge its internal battery or charge an external device, such as a phone.

An additional requirement from our UI/UX department is to disable power bank mode if the internal battery level drops below 30%. In this case, we need to adjust the power port to prevent charging external devices.

Here’s what I’ve tried so far:

  1. Plug in the phone. It starts charging from the unit.
  2. The battery level drops below 30%.
  3. The MCU switches the port role from DRP to Sink state machine only.
  4. The phone switches to source mode and starts charging the unit.

This is incorrect because we only want to stop charging the phone and prevent the phone from switching to the power source role.

Of course, I cannot disable the state machine completely, because MCU should be able to detect and the unit should start charging when we connect it back to the power supply.

Another idea was to set the source current to 0. This way, the phone would remain in sink mode, "charging" from the speaker, but the current would be 0, and we would not lose battery energy.

It would be great if you could provide support and a simple solution to implement this feature.

Thank you!

Best regards,
Anton Glukhov

  • Hi Anton, 

    Thank you for reaching out!

    Another idea was to set the source current to 0. This way, the phone would remain in sink mode, "charging" from the speaker, but the current would be 0, and we would not lose battery energy.

    I agree with the approach above in order for the phone to remain in sink mode, but not actually charge. 

    Please let me know if you have additional questions/concerns. 

    Best Regards, 

    Aya Khedr 

  • Hi Aya,

    Thank you for the quick feedback! If we go with the "set current to 0" approach then I need to understand how to set the current. There are "capabilities" registers but I don't have information on how to use them. Could you please clarify how to control the current for the source mode?

    Best regards,
    Anton Glukhov

  • Hi Anton, 

    See Transmit Source Capabilities register below from TRM

    I suggest using the GUI tool register for a better visual of the register content. To set the maximum current in PDO1, write to register 0x32 [24:33].

    Please let me know if you have additional questions/concerns. 

    Best Regards, 

    Aya Khedr