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: TPS65987D调试

Part Number: TPS65987D
Other Parts Discussed in Thread: TPS65987, BQ25703, ,

Tool/software:

我们使用TPS65987D,实现全功能type-c功能,请问下如何配置,目前我们自己做了硬件,请帮忙支持下,谢谢!

  • Hi Keqing,

    Due to the holiday in the US, many of the device experts are currently out of the office. When they return they will look into this and provide a response. Please expect some delay accordingly.

    Thanks,
    Field

  • Hi Field ,

    when an engineer be available to provide support? Our project is on a very fast schedule,please help me to solved it,thanks。

  • Hi Keqing, 

    Can you help translate your original query so we can look into your issue? 

    Thanks and Regards,

    Raymond Lin

  • Hi Raymond,

    The project needs to use TPS65987D. At present, USB_VBUS power is input through pins 13 and 14. However, there is no power output on pins 11 and 12. I need PP_HV1, PP_HV2_2 to be able to output USB_VBUS power for the system to use.

    please tell me how to set?

  • Hi Keqing, 

    Have you configured TPS65987D using the Application Customization Tool and load the configuration onto a SPI flash? TPS65987D relies on the GUI generated config to know certain settings such as which power path to use for outputting power to the VBUS. 

    Also what is being used to test for output USB_VBUS power? Are you using a PD sink device, legacy Type-C, something else? 

    Thanks and Regards,
    Raymond Lin

  • Hi Raymond,

         I have not load the configuration onto a flash,Beacuse USB to I2C tool have some problem, ch341 I2C tools can use it to load configuration?

    I use multimeter to test vbus_in(11,12 pin).

  • Hi Keqing, 

    Without a proper PD config loaded onto the flash, TPS65987D will not be able to operate normally. Have you tested your config on a TPS65987D EVM and see if the same issue persist?
    TPS65987D requires a SPI flash, not I2C flash. Refer to section 8.3.13 from the datasheet for more details (see screenshot below):

    Thanks and Regards,

    Raymond Lin

  • Hi Raymond,

    We do not have a EVM board for verification. The schematic we designed uses the SPI flash chip MX25Q128. Could you please advise how I can flash the firmware and how to obtain it? Additionally, after the firmware is flashed, is it still necessary to configure it through software via I2C?

  • Hi Keqing,

    Raymond is OoO and I am helping cover this thread.

    The SPI Flash needs what we call the "Full Flash Binary" programmed to it. You will need a SPI flash programming tool to flash the binary file to the Flash chip.

    The Full Flash Binary can be obtained through the TPS65987 GUI.

    https://www.ti.com/product/TPS65987D

    Once you have the GUI, you can use the attached app note to get started.

    https://www.ti.com/lit/ug/slvub60c/slvub60c.pdf?ts=1718740218979&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FTPS65987D


    Within the GUI, you can configure the TPS65987 with certain behaviors, which depend on the customers use case. Once done, use the Binary -> Save Binary and select the Full Flash option to save the binary file needed.


    Additionally, after the firmware is flashed, is it still necessary to configure it through software via I2C?

    It depends on the use case. For the key functionality, no, it is not necessary to configure the PD controller via I2C. The PD is capable of operating without an I2C host. But, some behaviors may require intervention of an external I2C host if the PD is not capable of the behavior itself.

    Thanks and Regards,

    Chris

  • Hi 

    Can I use a USB to I2C tool? I have a USB to I2C tool (CH341) on hand. Is this one okay?

    In addition, I also use the bq25703 on the board. The issue I am facing now is that after setting the current register(0x02 0x03), the battery can charge, but after a while, this register will turn to zero. At this point, the battery stops charging. Can you help me with this issue? I can't raise a new case on my account. I appreciate your help.

  • Hi Keqing,

    Can I use a USB to I2C tool? I have a USB to I2C tool (CH341) on hand. Is this one okay?

    I'm not familiar with that tool, but if it capable of flashing a SPI Flash using a binary file, it should be good.

    In addition, I also use the bq25703 on the board. The issue I am facing now is that after setting the current register(0x02 0x03), the battery can charge, but after a while, this register will turn to zero. At this point, the battery stops charging. Can you help me with this issue? I can't raise a new case on my account. I appreciate your help.

    I'm not too sure, are you seeing the PD controller send a message over I2C, or does the BQ register zero out without any external part programming it? Unfortunately, I'm not a BQ expert, but if it is related to the USB-C PD controller, I can try to help. If not, I can assign this thread to the BQ team and have them take a look, or you can submit a new thread to that team.

    Thanks and Regards,

    Chris

  • Hi

    The project uses the TPS65987, and I've found an issue with the TPEC-C charger. The voltage is always at 5V 2A, and it's unable to switch the Type-C charger voltage to 9V 2A or 12V 2A, etc. Could you please advise on how to set it up?

  • Hi Keqing,

    In the GUI, check the Transmit Sink Capabilities register and make sure there are sink PDOs for 9V and 12V. Also, make sure the charger supports those voltages.

    Thanks and Regards,

    Chris

  • Hi 

    Could you please tell me if TPS65987 has any registers datasheet? I would like to configure it according to the register manual.

  • Hi Keqing,

    See the TRM on the product page.

    You should configure the registers first in the GUI and generate the binary that is loaded on boot, so that the PD controller can load the correct image on boot.

    Thanks and Regards,

    Chris

  • Hi 

         I create project using application customization gui,device list:

       1、TPS65987DDH,

       2、TPS65987DDK,

    but the chip on  board is TPS65987DDJ, I want to konw how to select ?

    Thanks!

  • Hi Keqing, 

    TPS65987DDJ is specifically only for TBT3 applications, if you're not designing an application for TBT3 then it's recommend to switch over to TPS65987DDK. GUI version 6.0.4 does not include TPS65987DDJ because of its TBT application. 

    Is this project meant for a TBT3 application? If so which Intel reference design are you referring to? 

    Thanks and Regards,

    Raymond Lin

  • Hi Raymond,

    I don't what TBT3 is, but I want to konw how to work with TPS65987DDJ,I need to have the USB configured to output 12V,So I should load firmware to flash,now I don‘t know how to do.

  • Hi Keqing, 

    As mentioned in my previous post, TPS65987DDJ is designed specifically only for TBT3 applications, for non-Thunderbolt 3 applications you'll need to switch to TPS65987DDK. GUI 6.0.4 will have the correct firmware and configuration to support the DK version of this PD controller. Both devices (DJ and DK) are pin to pin compatible and doesn't require any hardware changes. 

    If you do not have an Intel Reference Design we cannot provide access to the DJ GUI, the best path to move forward is to switch over to TPS65987DDK. 

    Thanks and Regards,
    Raymond Lin