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.

BQ34Z100: Configuration with Python

Part Number: BQ34Z100
Other Parts Discussed in Thread: EV2400, BQSTUDIO, GPCCHEM

Hi everyone,

unfortunately I have got lots of new developed devices where the BQ34Z100 is built into it. Now I have heard, that they haven't touched the configuration of the IC so it's all default settings. The only chance for me now, is to use the SSH to the internal device where I can execute Python Scripts. So now I am sitting here, trying to do the "First Time Configuration" for the BQ34Z100 in Python.

What I already have done in Python is, that I am able to get all the information I want, access data Flash, configure DataFlash with checksum (f.e. setting the voltsel). Now I need help in configuring the device correctly. These are my settings:

NanoPi which is connected to the BQ34Z100 over a "self developt board (external company)" via I2C.
They have connected 2 of 505K Ohm to the BAT Pin and a 16.5K Ohm to Ground.
On the BAT Side we have 2 Packs Batteries (each of the packs has 4 Eneloop BK-4MCCF Ni-MH 1.2V 750 mAh AAA). So we have around 11 Volt, when they are full and around 9 Volt when they are empty (then it goes rapidly down to 4,25 Volt)
The device is using around 1 A in on state, and if the device has to do something, then it takes for around 5 seconds 2 A. These values are from "get_current".

So my question now here is:

What do I have to change in the configuration and which values would be the right thing?

- ChemID: There I need the right ID from TI
- DesignCapacity: This would be 750 mAh?
- VoltSel: This is what I have set to 1 (and now the get_voltage shows around 950 when full)
- I think I should configure it to use the average Current? If yes, which register?
- And somewhere I have read somthing about a register where I should right in that it has 8 cells (2x4) so the devider (also an register?) can calculate how full the device is?

I now it's lots to do and I hope someone can help me here.

Thanks alot

  • Hello Benjamin,

    You will need to use bqStudio and an EV2400 to program the chemistry ID, you will not be able to using Python unless you have already programmed the right chem ID and exported the .srec or flash stream to program a new gauge.

    Volt_sel bit indicates the external divider should be used for voltage. You should be able to find information regarding setting the ratio in the TRM.

    Sincerely,

    Wyatt Keller

  • Hi Wyatt,

    I don't understand the difference between a self programmed programm (doesn't matter if c++ or Python) which uses i2c or the BQStudio which also uses the I2C to configure the bq34z100. Could you explain me the difference a bit more in detail?

    And which ChemID should I use for my  Batteries? Is there a ChemID which is similar to my Eneloops BK-4MCCF?

    Best regards

    Ben

  • Hi Ben,

    Please follow GPCCHEM tool to find matching chemID.

    Best regards,