The MAX1730x/MAX1731x parts are limited to 7 writes to NV memory. As such, it is useful during design to be able to test numerous configuration settings to optimize performance.
In order to test configurations without using an NV write, please follow the following procedure:
Note: You need a Evaluation kit and the companion software installed
- Go through the configuration wizard (in the EVKit software) step by step. In the last step, save the INI file to a local directory. The INI file should have all parameters from 0x180 to 0x1EF. Note: The EVKIT can perform the NVM write or save the INI files without using up the NVM writes. We suggest to not used the writes unless you are confident of the register settings.
- In the application, the host MCU will write all values in INI file from 0x180 to 0x1EF to shadow memory.
- If a value of 0x8000 is written to register 0xAB, this will perform a fuel gauge reset without restoring NVM values into the shadow RAM.
- Wait for POR_CMD bit (bit 15) of the Config2 register to be cleared to indicated POR sequence is complete.