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.

TPS25750: Get_Battery_Status reported on CC Line

Part Number: TPS25750
Other Parts Discussed in Thread: TPS65987, BQ40Z50

I am looking for a USB-C PD Device that will respond correctly to the command from section 9.3 "PD Specific Requests and Events", Extended Message, (0 0100 Get_Battery_Status Source or Sink See Section 6.5.4)

Is there any way of implementing this in off the shelf devices such as the: TPS25750 or the TPS65987.  This information would need to be placed into EEPROM at the correct location so it can be returned on command from the CC Line.

(From Universal Serial Bus Power Delivery Specification Rev3.1)

  • Hi Andrew,

    Yes, the TPS65987 support battery status messages.

    Please look into the TPS65987 TRM registers:

    • 0x7B Transmit Battery Status Data Objects
    • 0x42 PD3.0 Config register bit 19

    What other requirements do you have for PD?

    • How many ports?
    • Power, Voltage, and Current requirements
    • Data requirements (USB3? USB4? DP?)

    Thanks and Regards,

    Chris

  • Hi Chris,

    Thank you for replying that is very useful.  We are designing something that will use the TPS65987DDHR and I have prototyped this and all is working well.  We have now been asked if we can provide battery status information back over the CC line and it sounds like by setting up form the configuration tool (this is saving config data to the SPI Flash device) we can set the 0x42 to allow battery status messages.

    In terms of requirement, we (at this point) do not have data requirements for USB3 or 4 (just PD).  The requirements for this are up to 20V, 3A, 15V, 3A (most likely).  This is all OK and tested.

    We are likely to have something like the BQ40Z50 from the battery (to a MCU) that could retrieve the SOC etc, the next question is how to get this data to the TPS65987DDH so it can pass it back over the CC when required.  Could this be done via another of the I2C ports?

    Looking further into the TRM it looks like a MCU connected to the fuel gauge and then working as a master could be used to pass this information back to the TPS65987DDH, using the Unique Address Interface, is that correct?

    Best regards

    Andrew

  • Hi Andrew,

    Thanks for providing your PD requirements, we wanted to make sure the recommended device met your needs. It sounds like you already tested them which is great.

    Looking further into the TRM it looks like a MCU connected to the fuel gauge and then working as a master could be used to pass this information back to the TPS65987DDH, using the Unique Address Interface, is that correct?

    Yes, you are correct. You should verify this working on your end, but you will need to (1) enable the battery status messages bit and (2) load the battery status data into register 0x7B by writing to the PD register over I2C using the unique address interface.

    Thanks and Regards,

    Chris