The BQ28Z610 implements a QMax and Fast QMax check prior to saving the value to data flash. This improves the robustness of the QMax update in case of potential QMax corruption during the update process.
The verifications are as follows:
- Verify that the updating QMax or Fast QMax value is within QMaxDelta, which is the maximum allowed QMax change for each update. If the updating value is outside of this data flash parameter, the BQ28Z610 caps the change to QMaxDelta of the Design Capacity.
- Bound the absolute QMax value, QMax Upper Bound. This is the maximum allowed QMax value over the lifetime of the pack.
- Ensure that QMax is greater than 0 before saving to data flash.