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.

IPG-UI: How to programming to EEPROM

Part Number: IPG-UI
Other Parts Discussed in Thread: TPS6521815, BOOSTXL-TPS65218, MSP-EXP430F5529LP,

Hi team,

Even if you change the TPS6521815 settings, the original values will be restored when the power is turned on again.

Do I need to do anything to program EEPROM?

Best regards,

  • Hi Hirotsugu,

    What steps are you taking to program the device?

    Some of the bits in the register bank are not programmable and will always reset after a power cycle. Only bit fields marked with "E2" in the datasheet can be reprogrammed.

    Regards,

    James

  • Hi James,

    I pressed the "Write ALL", and the data read back was rewritten, but when I turned off the power and read it again, it returned to the default.

    Does anything else need to be done?

    The tools used are BOOSTXL-TPS65218 and MSP-EXP430F5529LP.

    Best regards,

  • Hi Hirotsugu,

    In IPG-UI there should be a tab called "Device Controls". In this tab there is a sub-section called "PROGRAM". Inside this sub-section, there should be an area to "Re-program EEPROM".

    You need to click the "Do Action" button to commit the new settings to EEPROM memory as the new defaults.

    Regards,

    James

  • Hi James,

    Thank you, I was able to save it to EEPROM.
    However, the expected value will not be written until all the W buttons for each register are pressed.
    It takes a lot of time because it is written in mass production. Is there any way?

    Best regards,

  • Hi Hirotsugu,

    In IPG-UI you can use the "Write All" button to commit all pending writes to the registers. Then you can program the settings to EEPROM.

    In production, you will need a way to write all the registers that require changes. The TPS65218x can handle up to 400kHz I2C speeds so this would be the fastest option.

    If you are only talking about IPG-UI then the "Write All" button is your best bet. "Write Group" will write every register under the "Configuration Registers" tab, but since this is the only tab available it is functionally the same a "Write All" so either one will work.

    Regards,

    James

  • Hi James,

    My process is below.

     Set blank device to socket

     Open Project : Register value displayed on GUI

     Press Write ALL

     Press Do Action

     Power Off

     Power On, read and check but Fail.

    Is there a mistake in this process?

    Before Write All, press all registers W button then it success.

    Best regards,

  • Hi Hirotsugu,

    I don't see an issue with the first process. You should be able to make changes to the registers, press "Write All" to send those changes to the PMIC.

    Make sure to read back the changed registers after you click "Write All" to make sure the registers have the new values.

    Once you confirm that the write operation went through correctly, you can click "Do Action" and those settings should be the new defaults after a power cycle.

    Double check that the bit fields you are changing are marked with "E2" *in the datasheet register map.

    Regards,

    James