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.

BQ34110: How to change the number of series cells??

Part Number: BQ34110

Hi there,

It seemed to be obvious, however, it doesn't work.

I habe a BQ34110 connected successfully to the Battery Management Studio. I can see all registers. As I have a 4-series-cell NiMH configuration with 2300 mAh, I would like to change these settings. So going to the "Data Memory" and changing the "Number of Series Cells" to 4, then clicking "Write_All" does not take it. when reading all registers this number is set back to "1".

What do I do wrong?

Best regards

Nik

  • Hello Nik,

    Make sure the gauge is unsealed before trying access data flash parameters in data memory.

    You can unseal the gauge by pressing the UNSEAL command.

    Sincerely,
    Nick Richards

  • Hi Nick

    Thx for responding so quickly. I tried to send UNSEAL command and also UNSEAL_FULL_ACCESS, but neither made it work.

    According to the registers bit SEC1 = 0 and SEC0 = 1 it seems to be in full access mode. 
    I attached a screenshot of the registers and the memory:

    I also try to set VEN_EN in the Pin Control Config. To do so I first set the PCTL_EN, which I could do successfully. However, when pressing on "Write to Data Memory" button simply nothing is sent to the BQ (I'm monitoring the I2C). Pressing "Write_All" and then read all back again simply resets VEN_EN again.

    So what do I do wrong?

    Eventually I want to read the voltage of the battery package. For this I have to set VEN so that my external voltage devider circuti gets active. And I have to set the number of cells. 


    Kind regards, Nik



  • Hello Nik,

    Are you using the EVM for this gauge, or your own circuit? If you are using the EVM,
    make sure the jumpers on the gauge on set for multicell mode.

    I noticed that the voltage reading on the gauge is 0 V, which is a problem.
    For the gauge to update any value in data flash, there is a minimum voltage that
    the gauge needs to read from the battery. This parameter is called "Flash Update OK Voltage"
    and can be found in data memory in the Configuration tab. So this value should be adjusted for
    your application once you are able to fix the gauge reading 0 V if needed.

    You are going to need to change your configuration of your circuit to support 1s, since
    the gauge is expecting there to be 1 battery in series. If you are not able to change the
    configuration of the circuit, then you will need to have another setup that supports 1s with
    this gauge. Once you are able to change the Number of Series Cells in data memory on the new setup, you can export
    the srec file, and then upload that file on your original application.

    Sincerely,
    Nick Richards

  • Hi Nick,

    I'm using my own circuit which looks like this (sorry for not providing this previously!!):


    I have a 4s-setup (4x NiMH). Thus I added that voltage devider circuitry as described in the user guide (or data sheet, or ...).

    So there are two things to do: 

     - Set the "Number of Series Cells" in Configuration (as shown above, which I am unable to change for unknown reason?)
     - Set VEN_EN bit of the Pin Control Config byte in Settings. This is to enable the battery voltage to reach BAT pin of the fuel gauge. This is the reason why the voltage is still read as '0'. But neither I'm able to manipulate this pin.

    Kind regards
    Nik

  • Hello Nik,

    You are going to create a new circuit or configuration that supports 1 battery in series. Or you can use the EVM for this part. Just for the purpose of obtaining a srec file that has the proper configurations in data memory for your original application.

    If the gauge can not read a voltage, then you will not be able to change data flash parameters in data memory. 

    Sincerely,

    Nick Richards

  • Hi Nick,

    Thank you for your response. 

    "You are going to create a new circuit or configuration that supports 1 battery in series". 

    Well, I can't change the specifications of the application which requires 4 batteries in series!? (Or did ther occur a missunderstanding?) Due to that the BQ34110 got selected as it supports multi-cell configuration like this. The required external voltage divider (controlled by VEN) is added. 

    Now I only need to be able to configure the BQ34110 according to this setup as it comes by default with "1s Li-Ion). 

    I already decribed to process in my previous post. 

    "If the gauge can not read a voltage, then you will not be able to change data flash parameters in data memory."

    Well, I need to be able to control VEN first before the gauge is able to read anything else then zero volt.



    So this may be the first issue to solve: Why doens't the gauge want to accept my command to enable VEN? I.e. 

    1. Enable Pin Control:

    2. Enable "VEN_EN":

    But when reading all regisers it return to '0' again.

    Best regards

    Nik

  • Hey Nik,

    The data memory parameter "Pin Control Config" is part of data flash. This value is not updating because the voltage being
    read by the gauge is less than the "Flash Update OK Voltage" value.

    Sincerely,
    Nick Richards

  • Hi Nick

    Thank for your response. You didn't point me directly to the solution but you pushed me there! So thank you very much for your patience.
    However, below the solution:


    Sending "CAL_TOGGLE" command puts the device into calibration mode, in which disables write restrictions to the flash.


               

    After this step, I was able to change the number of cells as well as enable VEN output pin. Now the voltage is displayed.

  • Hello Nik,

    I'm glad I was able to help.
    Sorry I was not able to point you to this exact solution. However, I will take note of what you did so I can properly
    helps others that might come across a problem similar to yours!

    Sincerely,
    Nick Richards