This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ27510-G2 How to modify design capacity of battery ?

Other Parts Discussed in Thread: BQ27510, BQ78PL116, BQSTUDIO

Hello

We would like to change the 'design capacity' value in the dataflash of BQ27510.

The default value is 1000mAh and our battery capacity is 4000mAh.

Following the datasheet, to access a Class of more than 32 bytes (like the Class configuration that should be used to change the capacity) we need to :

-switch to unsealed mode

-invoke the BlockDataControl command with value 0x00

-read and write the 32 bytes data from BlockData() with the right offset.

Questions are :

- How to set the flash in UNSEALED mode ?

- Which commands to invoke to point on the Design Capacity data and how to modify it ?

Is there a source code example that could be used ?

Thank you very much for your support.

With best regards, Alain

  • Hi Alain,

    It sounds like you want to change the battery capacity to match your actual battery size, but there is much more that you need to change to use the gauge with your battery.  You need to go through the procedure to create a golden dataflash file that matches your system and battery.  This involves identifying the best chemID match in our database and then performing a learning cycle with the EVM and your battery so the gauge can learn the capacity and resistance profile.  This golden file must then be programmed in every bq27510 IC in your production line.  Typically this process might take a week if all goes smoothly, but I'm sure many in this forum might complain that it took them much longer than that to get over the hurdles, I'm sorry to say.

    If you want a gauge that only requires modifying a few settings to be ready to ship, look at the bq27410 or bq27425.  These use a typical Li-ion/Li-poly battery profile and only require you to program a handful of parameters and you are good to go.  No learning cycle is required.

  • I'm having the same problems myself.  I guess my main problem is finding any documentation that tells me how to set up the chip.  I'm most interested in the bq78PL116, since I'm using a 7-cell series pack.  But is seems that most of the documentation is written for people who are already very familiar with setting up all the parameters.  A step-by-step guide would really help.  So far, the best I've found is the EVM User's guide (sluu474) which then refers to using a part of the Chemistry Selection for the '114 chip (slua505b).  I have not found a guide on how to set or test Capacity and/or State of Charge (SOC).

    Bob

     

  • Hey Alain, Bob,

    Long time since you posted this here, but I am having the same problem. Could you let me know how you solved it ?

    Specifically how were you able to update the design capacity of the battery to the gas gauge, without the adapter and bqStudio. I have implemented the steps outlined in the TRM, but I am not able to see any change.

    If you can share your code or review my code, it would be great help. github.com/.../gauge.c

    - Thanks
    Chintan Pathak