SLUUBD4A April 2016 – November 2022 BQ27220
There are two ways the user can program custom configurations/profiles into the BQ27220 device:
The BQ27220 fuel gauge has RAM-based data memory parameters that can be updated if needed by the host processor. This prevents external communication access to the fuel gauge to allow updating with external tools. It may be useful that the application system main processor perform the actual firmware updating, rather than having an external tool do it. The Battery Management Studio (BQStudio) software can export gauge mode FlashStream (gm.fs) files that can be used by the host to program the profiles in the device RAM.
On subsequent power cycles, the device uses the programmed profile for gauging. This appendix describes the process of generating ot.fs files from BQStudio and using the SmartFlash tool to program the OTP with the generated ot.fs file.