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: config error?

Part Number: TPS65987D
Other Parts Discussed in Thread: TPS65988

We have a new problem with configuration of the PD-controller TPS65987D.

 

After the short circuit test below we have changed the configuration of the TPS65987D. This has caused erroneous behavior, verified on several boards. Initially, after configuration, the behavior is correct. When connecting a device first time it is ok. After that when disconnecting the USB-cable the VBUS voltage remains +5V despite the configuration status is ‘No plug present’! See the attached document. (The same board works well with another configuration of the TPS65987D.)

 

The complete configuration downloaded from the CPU is defined in the second document. (The flash IC34 is empty.)

Is this a configuration that should be ok?

 SHub_USB_config.pdfUSB-config error.pdf

  • Hello,

    It seems you are using a project file for the TPS65988. When using the configuration tool, please use the default templates given as a starting point.

    First make sure that you are using the latest GUI v6.1.1

    Then click Project -> New Project -> TPS65987DDH and then which ever configuration works best for your system.

    Then save this binary using the Full flash image and upload it to the connected EEPROM on your system

  • HI Adam

    We want the USB-port to be a source with two source PDOs, one 5V 3A via PPHV2 and one PDO with 20V 1A via PPHV1.

    We plan to use TPS65987D without a flash and download the configuration from a CPU via the I2C interface.

    • Is it necessary to download a complete configuration or is it possible to only change some registers?

    We have tried the latter letting the TPS6597D start in safe configuration and then writing to some registers to change the configuration. It almost work, but we have the strange behavior that the power is not switch of when the connector is disconnected. +5V is present on the USB-connector with no cable connected.

    After debugging we have discovered that it is disabling of Sleep Mode, writing 0x0 to register 0x70, that causes this error. With Sleep mode enabled it works as expected.

     

    • Is it possible to write to the flash via TPS65987D?
    • We have two USB-connectors with one TPS65987D to each port. Is it possible to use the same flash for both TPS65987D? With different configurations at different addresses?

     

    I have now downloaded the latest version of the Application tool.

  • Hello,

    You need to load a full configuration to our PD controller either through the use of an external flash or through the use of the PTCx commands from an external EC. If you do want to use an external flash, you can use I2C commands to update the image associated to the flash using I2C commands. I've attached two app notes for you reference. One showcases how to update an external flash while the other showcases how to load the application configuration without a flash.

    https://www.ti.com/lit/an/slvae21a/slvae21a.pdf

    https://www.ti.com/lit/an/slva972a/slva972a.pdf

     Yes, you can use the same flash for two different PD controllers. When you create your project file in the application customization tool, under the general settings tab, there is a text box saying number of connected devices with a drop down bar next to it. Click the drop down bar and select 2, and assign the relevant I2C addresses for whatever you have configured on your board. This will allow you to flash two unique configurations using the same flash