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.

TPS6521815: How to leverage the IPGUI export the CSV file

Part Number: TPS6521815
Other Parts Discussed in Thread: USB2ANY, TPS65218EVM-100, BOOSTXL-TPS65218, IPG-UI,

Hi Sir,

We are the off-line programmer manufacturer and for the previous TI TPS devices. We can get the CSV file which exported from "Fusion Digital Power Designer" to understand how the program the TPS device. Can you advise how to export or transfer the .json(project file) on IPGUI to CSV file?

Thank you. 

  • Ricky,

    You would need to connect the BOOSTXL-TPS65218 + MSP430 LaunchPad (or TPS65218EVM-100 + USB2ANY) to your laptop running the IPG-UI software.

    When the software is connected to the PMIC you can do a Register Dump to get a .txt/.csv file of the register map that is currently stored in the device.

    There is not a direct method to turn a .json file into a .csv file without the hardware connected.

  • Hi Brian, 

    Thanks for your reply. I can find the dump registers function in the IPGUI but it's the register and value in txt format only. 

    Can you advise how to export the CSV file? (Just like the CSV file which export by Fusion Power Designer)?

    Thank you. 

  • Ricky,

    The text file is formatted as tab-delimited (instead of comma-separated) and this is easy to view in a smart text editor, like NotePad++ or Sublime or Atom.

    You can also open .txt file in Excel and re-save as .csv if you want. When you open .txt in Excel, you can select the following options to get 2 columns (column 1 = Register Address, column 2 = Data Value)

  • Hi Brian, 

    Thanks for your reply. The TI fusion power design GUI can export the programmer script file as CSV file format. 

    The programmer will extract the write/read command/data from the script to do the off-line device programming. 

    This txt file has command but only register/value. 

    Can you advise is there any function to export the programmer script just like Fusion Power Designer?

    Thanks for your time and assistance. 

    TPS546D24A 16384.0 Address 25 PMBus Programmer Script.csv

  • Fusion Power GUI and IPG-UI are not related. Fusion Power GUI is for PMBus and they have script for generating CSV.

    IPG-UI is for I2C and performs register dump with .txt file.

  • Rickey,

    Can you attach the .json file you are trying to program? I can provide details on how to program the device.

  • Hi Brian, 

    Sorry for the delay. This system is not allowed to upload the .jason file. 

    As you know, the programmer script CSV file will specify the read/write address and it's contents. 

    It seems the IPGUI can't export the programmer script file just like the Fusion Power Designer. 

    Or can you share with the NVM programming specification and specify which address are NVM.

    We can follow this document to implement the programmer algorithm and import the register dump txt file for programming. 

    Thanks for your assistance.

  • Rickey,

    The TPS6521815 datasheet has a section (8.5 Programming) dedicated to Programming NVM and Register Map section (8.6 Register Maps) lists all Registers that are NVM ("E2", or backed by EEPROM).

    The BOOSTXL-TPS65218 User's Guide has Appendix A, a section dedicated to explaining the procedure.

    Register addresses 0x13, 0x14, 0x16,-0x19, and 0x20-0x26 all contain bits which are backed by EEPROM memory.

    Specific bytes of data must be sent to Register 0x10 (PASSWORD) in order to overwrite all NVM registers and complete the programming.

    I also recommend writing data 0x00 to ENABLE1/2 (Registers 0x11 and 0x12) before writing to the NVM registers.

  • Hi Brian, 

    Thanks for your information. The data sheet on the TI web site is the draft version only and there is no 8.6 register maps. 

    May I apply for the completed version data sheet? We can sign the dedicated NDA for this device if necessary. 

    Thank you. 

  • Rickey,

    This was a publishing error. It should not have a "Draft Only" watermark on it and we are working to resolve the issue. This is the official version of the document, but the watermark needs to be removed.

    However, I can still confirm that even this copy of the TPS6521815 datasheet has a section title "8.6 Register Maps" starting on page 46.