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: BQ34Z100 manual change of design capacity value not working

Part Number: BQ34Z100
Other Parts Discussed in Thread: BQSTUDIO

Hi team,

I am trying to access the design capacity for the fuel gauge BQ34Z100. I tried to access the data flash block using commands in BQSTUDIO after unsealing the device. I can access it but I cannot change the value as per my cell. I have a 120V battery pack and capacity for a a single cell is 4200mAh and BQSTUDIO by default shows a value of 0x49, which has to be changed to 4200 (decimal).

I tried passing the following commands but cannot change the value. 

0x00 to 0x61

0x30 to 0x3e

0x00 to 0x3f

read 32 bytes from 0x40 = 00 64 01 b0 00 0a 0e 10 f6 fe 0c 00 31 00 00 00 01 00 01 03 84 03 e8 15 18 fe 70 5a 10 68 10 68

reading 2 bytes from 0x3c gives = e8 03; which I think is the default value of 1000 (decimal) or 03 e8 (hex)

Further writing the following commands to the gauge :

0x00 to 0x61

0x30 to 0x3e

0x00 to 0x3f

writing 32 bytes to 0x40 = 00 64 01 b0 00 0a 0e 10 f6 fe 0c 00 31 00 00 00 01 00 01 03 84 10 68 15 18 fe 70 5a 10 68 10 68......[adding all these 32 bytes gives 0x754; therefore checksum is 0xAB, yellow denotes changed bytes]

0xAB to 0x60

0x00 to 0x61

0x30 to 0x3e

0x00 to 0x3f

reading 32 bytes from 0x40 = no change in value of design capacity "03 e8" in the 32 byte block data.

Do let me know what command is actually getting wrong here such that I am not able to change the design capacity value.

Thanks. 

  • Hello Shreya,

    I would check that the device is unsealed and that voltage is above flash update voltage. An easy way to check if there is no issue with the write is to write the value using bqStudio Data memory tab. If this is successful, then we can check the commands.

  • Hi Shirish, 

    The gauge has been unsealed properly and the voltage. Also, I tried changing the value using data memory section; the value was changed from 49 to 4200 but it reverts back to the same when I write the update using write all button. Also, at that time the gauge is unsealed as visible in the software. 

  • Also, can you please specify what voltage are you asking to check? If its my battery voltage its 110V and is well above the flash update OK cell volt value

  • As per the tutorial videos by TI, changing the value of potential divider is possible from BQStudio 'Data Memory' tab followed by voltage calibration. But even after reinstalling BQstudio, I cannot change any value in my case. 

    Even with an alternative approach of writing using 'Advanced communication', I can access the data flash block page, but after writing new data followed by checksum, i get the initial default data when i read it back 

  • Hello Shreya,

    Check the voltage input to the bq34z100 after it is divided.

    It is best to connect  the bq34z100 in single cell mode and write all parameters to avoid any issues