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: Questions regarding a TPS65987D design

Part Number: TPS65987D
Other Parts Discussed in Thread: TPS65987, , BQ24192I, TPS65988

Hello all,
We are now working on rev 2. of our product which contains among other things, a USB type C connector and an internal 40Ah battery. In our current version of hardware we have a battery charger IC, the BQ24192L which we have used successfully and now we wish to add PD ability to the charging scheme by adding the TPS65987.
Our product will only act as a UFP, sinking currents of up to 5A @ 5 volts (from VBUS) used to charge the battery. 
We have the attached schematics in place and have the following questions (this is the first time we have been using the TPS65987)

1. Should C_USB_N and C_USB_P (pins 50,53) be tied to GND of left floating if BC1.2 support is not needed?

2. Is it OK to leave VIN_3V3 (pin 5) unconnected and power the IC from VBUS only?
3. Is the power path from the USB connector through the TPS65987 to the BQ24192L correct?
4. I have connected the SCL,SDA lines from my micro-controller to pins I2C1_SCL, I2C1_SDA (pins 27,28)  (pull up resistors are present but not shown)
5. Must we place an external eeprom to load a device configuration from? If not, should I set the resistor divider on ADCIN1 (pin 6) so that the Default Device Configuration # 3 so that we can sink 5-20V at 0.9A to 3A?
6. Must the PP_CABLE (pin 25) be fed from a 5V supply? Can we connect it to a 3V supply?
7. Is there a way to reach full 5A @ 5V sink capability from the TPS? if yes then how?
Any other insights/corrections we will gladly accepted!
Thank you,
Nir.
  • Hello,

    I've assigned this issue to the relevant expert who will get back to you shortly

  • Thank you Adam. Looking forward to hearing from the expert.

    Nir.

  • Dear Nir,

    1. The D+/D- lines can be left floating. As it stands, the battery charger part doesn’t even have D+/D- pins.
    2. According to Section 8.3.2 of the datasheet, “When VIn_3V3 power is unavailable and power is available on VBUS1 or VBUS2 , the TPS65987D is powered from VBUS.”
    3. Following the functional block diagram in Section 8.2 of the datasheet, VBUS1 is connected through PP_HV1 to provide power to the system. The power flow from VBUS1 to PP_HV1 of the TPS65987D to VBUS, SW, SYS, and BAT of the BQ24192I is correct.
    4. I2C1 Port 1 can be either a master or a slave, but the default behavior is a slave. Please make sure the pullup voltage is LDO_3V3. We also recommend 10 kOhm resistor for the pullup.
    5. Following Section 8.4.1 of the datasheet, the divider for ADCIN1 needs to be set between 0.40 and 0.48 in order to load Default Configuration 3. In addition, SPI_MISO needs to be 0. If you are fine with the Default Configuration you can use this method. If you want to load your own configuration you will need a SPI Flash or a host.
    6. The minimum recommended voltage to power Vconn output on C_CC pins is 2.95 V. I would however recommend the typical supply of 5 V.
    7. As shown in Section 6.7 of the datasheet, the continuous current limit on the power switch is 5 A.

     According to the datasheet, it is recommended to have 4.7uF on LDO_1V8.

     I would recommend having the battery charger part reviewed on the Battery Charging Forum.

    Thanks,

    Mike Emanuel

    Please click  "This resolved my issue" button if this post answers your question.

  • Thank you Mike.

    Just one thing is not yet clear to me: Say I wish to reach a 5A current sink on the TPS65987 (and I have the needed USB PD power supply for that)

    I understand I will need to use the application customization tool to generate a binary file but what do I need

    to have in terms of hardware and how do I download this file into the hardware is not clear to me yet.

    Thank you,

    Nir.

  • Adding to my last question:

    Assuming I connect my host micro-controller via the I2C to the TPS65987, will I be able to control all of the device features by following

    the "TPS65987DDH and TPS65988DH Host Interface Technical Reference Manual" (SLVUBH2B) document?

    Nir.

  • Dear Nir,

    You have two options.

    The first is to use a Flash memory and program it following the GUI video below.

    https://training.ti.com/tps6598x-application-customization-gui-tool-basic-introduction

    The second is to use I2C. The following application note describes how to program using I2C and the flash.

    "TPS65987 and TPS65988 SPI Flash Firmware Update Over I2C"

    In addition, using the mentioned, "TPS65987DDH and TPS65988DH Host Interface Technical Reference Manual" will help as well.

    Thanks,

    Mike Emanuel

    Please click  "This resolved my issue" button if this post answers your question.

  • Dear Mike,

    Thank you. Please find attached my updated schematics. 

    I have added connector J8 which will connect to the Aardvark I2C/SPI programmer's cable. I have also added U63 which is a flash device (same one as used in the Eval board of the TPS65987). I have

    connected the SPI lines from the J8 connector to the SPI lines of the TPS65987 and to the Flash device.

    My plan is to use the Application Customization Tool with the Aardvark programmer to program the Flash device with the needed TPS65987 configuration image.

    Will this setup work?

    Thank you,

    Nir.

    Power2.pdf

  • Dear Nir,

    This should work. Please follow the schematic on page 10 of the "TPS65987 Evaluation Module" User Guide to connect the flash. I noticed some pullup resistors missing on CS and MISO.

    Thanks,

    Mike Emanuel

    Please click  "This resolved my issue" button if this post answers your question.