Other Parts Discussed in Thread: BOOSTXL-BATPAKMKII, GPCCHEM
Hello,
I am implementing a driver for the BQ27441.
For development, i use a BOOSTXL-BATPAKMKII with the included battery and communicate with my board using the SCL/SDA pins.
- My problem is when i perform a full discharge followed by a full charge as a learning cycle, the data inside the "full charge capacity" is randomly reset with no exterior action besides reading data from gauge.
The reset occurs during charging, once at 1030 (or other value such as 850) it changes back to 0 and then continues to increment.
***BATTERY INFO***
battery voltage = 4202 mV
current = 77 mA
soc percent = 100 %
soh percent = 0 %
design capacity = 1200 mAh
remaining capacity = 1030 mAh
full charge capacity = 1030 mAh
******************
***BATTERY INFO***
battery voltage = 4202 mV
current = 77 mA
soc percent = 0 %
soh percent = 0 %
design capacity = 1340 mAh
remaining capacity = 0 mAh
full charge capacity = 0 mAh
******************
- i had a similar problem during discharge where the "remaining capacity" was reset between two measures (10sec interval) (dont mind the full charge capacity, the charge wasn't done when fully discharged)
***BATTERY INFO*** battery voltage = 4156 mV current = -17 mA soc percent = 97 % soh percent = 0 % design capacity = 1200 mAh remaining capacity = 401 mAh full charge capacity = 415 mAh ****************** ***BATTERY INFO*** battery voltage = 4156 mV current = -17 mA soc percent = 0 % soh percent = 0 % design capacity = 1200 mAh remaining capacity = 0 mAh full charge capacity = 415 mAh ******************
my config is :
/*Design Capacity should be set to the nominal battery capacity printed * on the battery label or found in thebattery datasheet*/ #define FUEL_GAUGE_BATTERY_CAPACITY 1200 /* mAh*/ /* Terminate Voltage should be set to the minimum operating voltage of your system*/ #define FUEL_GAUGE_BATTERY_TERMINATE_VOLTAGE 3000 /* mV */ /*Taper Rate should be set to the current threshold in mA below which your charger IC is set to stop charging once it considers the battery to be full.*/ #define FUEL_GAUGE_BATTERY_TAPER_CURRENT 115 /* mA */
my driver is based on https://github.com/svcguy/lib-BQ27421
can you help me find out why ?
regards,
benjamin