How to load configuration through I2C,Our design don't have any SPI Flash TPS65987DDHRSHR
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.
How to load configuration through I2C,Our design don't have any SPI Flash TPS65987DDHRSHR
Hi Vandit,
You can refer to this app note on how to update the flash firmware over I2C: https://www.ti.com/lit/an/slvae21a/slvae21a.pdf?ts=1693954626250&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FTPS65987D
Updating via I2C will require an MCU in the system, for information on the 4cc commands listed in section 4.3 of the document, refer to the Technical Reference Manual: https://www.ti.com/lit/ug/slvubh2b/slvubh2b.pdf?ts=1693954825512&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FTPS65987D
Thanks and Regards,
Raymond Lin
Hi Raymond,
My design doesn't have any MCU on Board. Is there any alternate option for this?
Thanks and Regards,
Vandit
Hi Vandit,
The PD controller (TPS65987D) requires an SPI EEPROM or MCU (via I2C) to load the configuration into the PD. For SPI flash memory, see datasheet excerpt below for requirements:
Thanks and Regards,
Raymond Lin
Hi Raymond,
Can i use external FDTI module for load configuration?
and DRP mode will supported with default configuration. If yes how?
Thanks and Regards,
Vandit
Hi Vandit,
You can use any type of MCU/External Controller to communicate with the PD controller as long as the MCU has an I2C interface (MCU will be the controller/master, PD will be the target/slave).
To configure the PD to be DRP, you'll need to use the Application Customization Tool to configure PD behavior and then generate a flash image for MCU or EEPROM. We have a tutorial series on how to use the GUI tool linked here: https://www.ti.com/video/6122862051001
The PD by itself will not have any configuration loaded onto it out of the box, you will need to load a configuration onto the PD upon bootup to see PD activities.
Thanks and Regards,
Raymond Lin
Hi Raymond,
Is this correct way to load configuration in the PD?
Thanks and Regards,
Vandit
Hi Vandit,
That is one of the method to load configuration onto the PD controller, once your patch bundle (generated from the GUI) is selected you can click on 'Load' to load the bundle onto the PD controller. The PD controller will need to be in PTCH (patch) mode in order to load the configuration properly.
Thanks and Regards,
Raymond Lin
HI,
How to enable the patch mode in device through hardware.
FYI, I am not a software person so please guide me step by step
Hi Vandit,
Enabling patch mode is done in software, not hardware. You can execute a ‘GAID’ command to the PD to put it in patch mode. Not to be confused with lowercase ‘gaid’.
After that, you can try loading again.
By the way, are you using the EVM right now for testing?
Best,
Alex
Hi,
When we try to load a binary file into the PD through Aardvark (I2C1). The error message is in the image below.
Can you please suggest the solution for this also?
Hi Vandit,
Can you check and make sure the Aardvark adapter is selected in the Adapter tab?
Also on the EVM did you remove the SPI flash device or is it still on the board?
Thanks and Regards,
Raymond Lin
Hi Raymond,
Yes, Aardvark connector is selected, and SPI Flash is also on the board.
Thanks,
Vandit
In the adapter tab there is field in the bottom to check the SPI access. Can you check if you see any response in that.