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.

TPS65988EVM: SPI Flash firmware update over i2c

Part Number: TPS65988EVM

Hi,

I want to confirm if the code example on the document slva783a.pdf , can I use as reference on TPS65988 SPI flash firmware update over i2c ?

Thanks,
Sofian

  • Hi Sofian,

    The code example on the document is a sudo reference code example on how to operate a SPI flash firmware update over I2C. 

    There are several block diagrams that shows the process of how the code operates within the system (see figure below)

      

    Please let us know if you have any further questions or concerns!

    Thanks and Regards,

    Raymond Lin

    Document: https://www.ti.com/lit/an/slvae21a/slvae21a.pdf?ts=1663715442515&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FTPS65988  

  • Hi Raymond,

    I have further question, 

    1. About these documents, is about FW update from Embedded controller over i2c(slva783a.pdf ) and SPI flash firmware update over i2c (slvae21a.pdf)

         Looks similar, but in the slvae21a.pdf the flow there is no apply the import low_region binary file. is the slvae21a.pdf the update process only to apply               patch  ?

    2. the sample code in the slvae21a.pdf there are data structure type like s_AppContext , s_TPS_bootflag, s_TPS_portconfig, etc... are there any example code header files for reference ?

    Thanks,
    Sofian

  • Hi Sofian,

    Let me ask internally about the example code and the 783 document, I'll get back to you as soon as possible!

    Thanks and Regards,

    Raymond Lin

  • Hi Sofian,

    Apologies for the delay response. 

    1. The slvae21a document goes over the process for flashing the full flash (which contains the low region and high region binary) to provide code patch (FW patch updates) and configurations for the PD controller. This document is the more up-to-date version of slva783a.

    2. The example code is meant to be use only as a reference (treat it as sudo code). We do not have any example codes written as that is dependent on each application (i.e. the type of MCU, functionality, etc.). 

    Thanks and Regards,

    Raymond Lin