Quantcast
Channel: Power management forum - Recent Threads
Viewing all articles
Browse latest Browse all 35901

BQ-27441 : Updating Design capacity using I2C programming doesn't change it

$
0
0

Dear Forum, 

I am using a BQ27441 G1B, fuel gauge on the EVM. I also have a EV2400 interface adapter, but for our purposes we need to operate the board programmatically. So I have connected it to a micro-controller board (Raspberry-Pi) using I2C, which happened alright. I am able to read battery voltage, temperature, Full Charge Capacity, Remaining Battery Capacity etc by issuing the relevant command using the register address. 

My problem is, before gauging any battery, we need to set its design capacity, as this is a variable parameter, and changes with each battery, provided by the manufacturer, usually written on the battery. The TRM has a whole section describing how it can be updated. Specifically, sec - 3.1, pg 14 of SLUUAC9A–December 2013–Revised May 2015. These are 14 steps that ultimately should lead to updation of design capacity as entered by the user. I am able to execute all the steps correctly. But I dont see the design capacity getting updated.

My code is here: https://github.com/chintanp/i2c-charger/blob/master/BQ-27441-Gauge/c/gauge.c


Viewing all articles
Browse latest Browse all 35901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>