SLUUCW8 October 2023 BQ27Z746
If a negative scale is calculated, it usually indicates significant error in QMax or an incorrect DOD0, which could be from system loading during initialization. When this occurs, Cell 1 RaScale resets to 1000 and GaugingStatus()[NSFM] sets to 1. The gauge attempts to correct the error in DOD by adjusting DOD0 such that DOD0 + (DOD0 Passed Q / QMax) equals the DOD computed from voltage, current, and temperature used for resistance.