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.

TPS65988: Firmware and programming clarification?

Part Number: TPS65988
Other Parts Discussed in Thread: TPS65987D

Hello Team,

I had a question in regards to the TPS65988 programming.

 

1. External SPI/EEPROM memory needed for configuration? then how to program the memory and let us know the availability of the tools for both HUB and PD controller.

2. Is it possible to configure the upstream and downstream port without the external memory?

 3.  Does the Existing Firmware Handle charging the upstream port and simultaneous data transfer from Upstream to the downstream port 

 

 4.  Does the Existing Firmware Handle External Power to VBUS Power switching without Resetting the device ?

 

  • Hello Julio,

    1. External SPI/EEPROM memory needed for configuration? then how to program the memory and let us know the availability of the tools for both HUB and PD controller.

    • Yes, you must have an external SPI flash populated in your system for the PD controller to load the configuration. You use the application configuration tool generate the binary image which you then program to the external flash for the PD controller to read. If you go to the webpage for the TPS65987EVM, you will find list, stating the steps on how to evaluate and use the TPS65988 and TPS65987D

    2. Is it possible to configure the upstream and downstream port without the external memory?

    • No, you must use an external SPI flash for the TPS65988 to load

    3.  Does the Existing Firmware Handle charging the upstream port and simultaneous data transfer from Upstream to the downstream port

    • Yes, the TPS65988 is capable of being a power sink and DFP. The only time this would not be possible is if TPS65988 is in a dead battery condition (powered from VBUS) and the dead battery flag has not been cleared. The TPS65988 will reject and data role swaps since it cannot source VCONN through the CC lines

     4.  Does the Existing Firmware Handle External Power to VBUS Power switching without Resetting the device ?

    • Would you be able to elaborate on this? Not sure I understand the question

  • Hi Adam,

    Thanks for the help. Regarding question 4: 

    The device will operate with an 5V External Supply , Where the  Host in the upstream port  (DRP)is  charging from 5V supply and data transfer is happening between Upstream and downsreamport device (pen drive) simultaneously.In case an external Power supply is suddenly turned off, the Board should continue working with VBUS Power from the upstream port and continue transferring data without reset occurrence due to power swap.
          Will this use case be handled by the firmware ?

  • Hello,

    Yes, this is what we call fast role swap (FRS). Here are some documents that go over FRS functionality and behavior

    https://www.ti.com/lit/wp/slyy147/slyy147.pdf?ts=1591278212074 

    https://www.ti.com/lit/an/slvae20/slvae20.pdf?ts=1591278386347 

    In the example you gave, the TPS65988 is the original source, and after an FRS, will become the new sink. It is up to the connected device to follow an FRS architecture and switch over quick enough to become the new source.