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: USB-C-PD-DUO-EVM and TPS65987D: Issue in programming the device

Part Number: TPS65987D
Other Parts Discussed in Thread: TPS65981,

Hi Team,

I just got a USB-C PD-DUO EVM and as per the document USB-C-PD-DUO-EVMUser's Guide(SLVUBJ5). It uses the source.bin to flash it to the source controller and the sink.bin to the sink controller. I found those files from this thread.

I am using the TPS65981_2_6_7_8 Application Customization Tool GUI Version : 5.13 and I am able to flash the source.bin file, but unable to flash the sink.bin. It gives out an error that SPI Flash to Device failed Verification.

 

Can you please help me understand what is going wrong and how to get started with it?

Best

Siddharth

 

  • Hi Siddharth,

    You should not have to program the USB-C-PD-DUO-EVM out of the box, these boards come pre-programmed with the correct image. However, I would suggest double-checking that you have the SPI Chip Select Jumper set correctly to flash the Sink Board. 

    Thank you,
    Eric

  • Hi Eric,

    Thanks for replying. I tried flashing again as you mentioned and changed the jumper to sink. But, no luck. On the other hand, my whole purpose of flashing the device was to understand that how can I program the TPS65987D. I have some questions regarding it. I hope you don't mind me adding them to the thread.

    According to the datasheet(SVSES1B) section 9.1. "The TPS65987D firmware implements a host interface over I2C to allow for the configuration and control of all
    device options. Initial device configuration is configured through a configuration bundle loaded onto the device
    during boot. The bundle may be loaded via I2C or SPI."

    Question:

    1. Does the datasheet section that I referred above means that this board can also be programmed over SPI?  Say I have an external MCU and it has both I2C and SPI available. Can this MCU program the TPS65987D over SPI?

    Best

    Siddharth

  • Hi Siddharth,

    When using the SPI interface on the TPS65987D, only an SPI Flash can be used to boot the PD controller. When using the I2C interface on the TPS65987D, it is required to have a host controller on your system push the patch onto the PD controller over I2C. We have an application note on booting the TPS6597D through an I2C host controller here: http://www.ti.com/lit/an/slva972a/slva972a.pdf

    Thank you,
    Eric