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.

BQ27531-G1: Change the settings for the charger bq24192 through the gasgauge bq27531

Part Number: BQ27531-G1
Other Parts Discussed in Thread: BQSTUDIO, BQ24192

Hi,

We use in our project the charger bq24192 together with the gasgauge bq27531. So we have NOT directly acces to the register of the charger. The bqstudio software communicate with the gasgauge bq27531 and it allows to change the settings for the gasgauge and charger.

But i'm wondering how to do this, for example i want to disable the watchdog timer, so I have to set in REG05, Bit5 and Bit4 to 0.When i acces the register through bqstudio it shows that the mentioned Bits are reserved, see the picture.

Has anybody an idea how to overcome this?

Regards,

Alex

  • Hi Alex,

    I believe these are read only bits for the gauge. If they need to be changed, I believe that this would need to be done through the charger.

    Regards,

    Anthony Baldino

  • Hi Anthony,

    you have right. These bits will be set by the gasgauge Bit5=0 and Bit4=1what it means a 40sec timeout. But it stays in the technical manual that the gas gauge will refresh the watchdog timeout every 15 sec. So i think this will be done automatically and the host (our uC) has nothing to do. It's true?

    But how the charge current will be controlled? In the technical manual it stays that this will be controlled by the gauge based on the charging algorihtm:

    How to understand this? If for safety reasons i just want a maximum charge current of 1.00A how can I achieve these?

    Regards,

    Alexandru Mixich

  • The same question for the Reg4, where the charge voltage Bit7 to Bit2 will be controled by the fuel gage based on the charging algorithm. But for the same reasons i want to set the voltage at 4.05V where should i do this?

    Regards,

    Alexandru Mixich

  • Hi Alexandru,

    Can you please tell me if you intend for the gauge to be the host of the charger? The commands below allow for the gauge to be the host of the charger:

    I believe that if GG_CHGRCTL_ENABLE is used, then the charger registers are set by the gauging algorithm, where the values you are looking to set are based on the parameters to set in the Data Memory of the gauge, such as Charging Voltage, Charge/Discharge Currents, along with the Charger Data Commands. I believe that these values are then programmed to the registers of the charger, which can be read back out by the gauge.

    This diagram gives a better representation of how the gauge and charger communicate on POR:

    Regards,

    Anthony Baldino

  • Hi Anthony,

    yes, in our case the gauge is the host of the charger. 

    We use already the command GG_CHGRCTL_ENABLE in our firmware to enable the gauge as a host.

    But your afirmation that some of parameters set in the Data Memory of the gauge will be used to programm the registers of the charger, can't be confirmed by me.

    For example I've disabled the control of the charger by gauge, resets the gauge, changed the charging voltage from 4200 to 4000mV and again enabled the control by the gauge. The charging voltage (at battery connection) remain unchanged, even i disable again the control of the gauge.

    In Data Memory i don't have the possibility to set the charging current. I can do this only at the Reg2 of the charger but the gauge has only READ acces so the algorithm will decide which current will be used.

    So I'm very confused about the function of the implemented sollution.

    It seems that the charging voltage and current will be influenced ONLY by the algorithm when the gauge control the charger.I have no chance to change these parameters through the gauge. Correct

    As a result, another issue is the learning cycle. Because i can't set a higher charging voltage as 4.1V the full capacity can't be learned. Correct

    Regards,

    Alex

  • Hi Alex,

    Can you please tell me where you are attempting to change the Charge Voltage and Current that are being reported to the charger? Are they being changed in the temperature table below?

    Yes, that would cause an issue when completing the learning cycle being fully learned. Please attempt changing these values for the charge voltage and current.

    Regards,

    Anthony Baldino

  • Hi Anthony,

    Thank you for the remark made in the last post. You have right with the temperature profile of the charger. I made some incorrect settings and i've forgotten about this with time. I changed now and the charge current has changed and the charging process works as expected.

    Now i will go further to achieve a new learn cycle. That was originally the reason for all my questions in the past because i was facing with some issues.

    Should i open concerning this a new post or should i continue here? (But not in this year, i promise Joy)

    I wish you a merry christmas ans a happy new year.

    Thank you verry much for your valuable support.

    Regards,

    Alex

  • Hi Anthony,

    Thank you for the remark made in the last post. You have right with the temperature profile of the charger. I made some incorrect settings and i've forgotten about this with time. I changed now and the charge current has changed and the charging process works as expected.

    Now i will go further to achieve a new learn cycle. That was originally the reason for all my questions in the past because i was facing with some issues.

    Should i open concerning this a new post or should i continue here? (But not in this year, i promise Joy)

    I wish you a merry christmas ans a happy new year.

    Thank you verry much for your valuable support.

    Regards,

    Alex

  • Hi Alex,

    It's my pleasure! If you have any issues or concerns regarding the learning process, please start a new thread with those questions.

    Happy Holidays!

    Regards,

    Anthony Baldino