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.

How to use bq27510-G1 BAT_GD to control the bq24123 charger

Other Parts Discussed in Thread: BQ27510-G1, BQ27510, BQ24123


We have design to use bq27510-g1 as gas gause for a omap3 system and we can read current, temperature and flash data via i2c bus, but we use i2c to set and read back the value of BAT_GD PRI and FN. The BAT_GD pin allways measured high since we have 10k resistor pull it high as it's OD output to control our bq24123. We can read the flash data as we setted anytime even if power down and power again with battery re-plug, It looks like bq27510 always works as default but not flash setting effective.

We only target to make the battery side TS pin connect to bq27510, and if the temperature in the safe rage BAT_GD of bq27510 output low and only if temperature out of range, BAT_GD output high to disable our charger. 

The questions are:

1. How to step by step since we have new silicon here?

The question contains how about "firmware" "golden image" "in circuit debug" "learning" "calibration"

2. Is there any problem without such "golden image" putted in?

3. How to make the silicon working in circuit?  we currently have not got EVM board from distributor.

4. What's is the right sort of byte read and write for flash?

With Best Regards.


  • Charles,

    1) In order to properly configure the gauge, you will initially need to use our evaluation software (available on the bq27510 product web page).  Note that you will need an EV2300 module and either an EVM or some board where you can connect to the gauge via an external I2C master. Once you have obtained your golden image, you do not need to use the evaluation software any more.  There are a few application notes of interest here: (ImpedanceTrack overview), (how to generate a golden image), and (configuring your data flash).

    2) You need to generate a golden image using the evaluation software and a learning cycle in order to make sure that your gauge functions accurately.  In addition, the golden image contains configuration information that will allow the BAT_GD pin to control the charger (as you are looking to do).

    3) I will initially direct you to the datasheet for the bq27510 and its EVM for the example schematic.  It sounds like you already have the application note concerning how to use the gauge to control the charger.  The other relevant application notes are and  This contains the relevant schematic and PCB laoyut concerns for the gauge.

    4) The 510 G1 datasheet contains this information on page 14.  In addition, there is an application note with example code here: (code) (app note)

    I also would recommend upgrading to the latest firmware revision for the 510.  If you have purchased G1 parts, you can upgrade them by downloading the G2 firmware image from the product web page and following instructions on the following application note:

    Let me know what else I can help with,