Other Parts Discussed in Thread: BQSTUDIO, EV2400
Hello. I use fuel gauge BQ27510-G3. I have some problems with configurating and starting this fuel gauge. I have no evaluation kit to previously configurate it through bqStudio, but I have look on this. So I have my custom board with this fuel gauge. I've successfull communicate with FG through I2C, and also I've successfully read/write to NVM flash of the FG. So I can manually configurate FG from my other MCU.
What I need: I need to control my battery Li-Pol 250 mAh, with maximum discharge current 300 mA, maximum charge current - 250 mA. My Rsense = 100 mOhm.
How I configuring FG:
As I undestand from datasheet I need to set following parameters: Desgin Capacity, Desing Energy Scale, Reserve Capacity, Chem ID, Load Mode, Load Select, Qmax Cell 0, Cell0 V at Chg Term, Terminate Voltage, Ra Max Delta, Charging Voltage, Taper Current, Taper Voltage, Dsg Current Threshold, Chg Current Threshold, Quit Current, Avg I Last Run, Avg P Last Run, Sleep Current, CC Gain, CC Delta, Board Offset, Pack V Offset. So, I write to flash parameters as following:
- write "Design Capacity" = 250;
- write "Taper Current" = 250;
- write "Qmax cell" = 250;
- write "Chem ID" = 1675 (I select the most close to my, form table in bqStudio);
- write "dsg Current Threshold" = 1;
- write "chg Current Threshold" = 250;
- write "Qquit Current" = 0;
- write "Sleep Current" = 1;
- clean BIE bit in opConfig B register,
After all write procedures I've checked all this parameters after reset and observed successfuly applied written values.
Other parameters have dafault values, that suitable for me. Sense resistor was selected regarding this application note. For me scale factor is 10, so regarding this app note I should set Design Capacity to 2500, Taper Capacity to 500 and finaly Design energy to 9250. But in bq27510-G3 no such variables as Taper Capaciy and Design Energy, so what I need to set, to apply my scale factor? I use this app note this because Onyx's recommended it to me in this thread. Second question is my other configurations is correct?
How I try to start FG:
- send Control() command with "battery insert" subcommand;
- set unseal mode by sending Control() command and default keys;
- send Control() command, read Status, and make sure, that FG transited in UNSEAL mode;
- send Control() command, send "Enable IT" subcommand;
- send Control() commnad, send "Seal" subcommand to transit in SEAL mode;
- read Flags() and obtain 0x2001. So bit BAT_DET is 0. Why?
Also SOC = 0. What I'm doing wrong? How to correctly start FG?
I've read this guide, but there is no information how to start it.

