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, problems with FLASH after IT enabled

Other Parts Discussed in Thread: BQ34Z100

Hello everyone,


 I am experiencing a problem after having written 0x0021 to CONTROL register to enable the Impedance Track algorithm. I cannot modify the contents of the flash. Whats more, acording to the datasheet of BQ34Z100, IT algorithm cannot be disabled once it was enabled.
Is there a way to reset the chip to default setting?

I am also having problems with voltage measurements, I am using a 8.4V NiMH battery pack with external voltage divider network (V+--169k---out---16.5k---V-). 'Voltage divider' is set to 11242 and 'number of series cell' is set to 7 (I have 7x 1.2V). Systematically, BQ34Z100 returns 0mV as the output voltage.
What can be the cause for this one?

Please help me, it is really frustrating.

Thank you very much in advance.

Marek N. 

  • Marek,

    The device does place limits on some data flash changes after IT has been enabled. The device does not have a command to turn Impedance Track off, but there was two ways that it can be disabled. You can reload the senc file to initialize the device. Or, you can export a gg file and change the UpdateStatus to 00 and import it back into the device. You will need to press the Write All button and issue a reset command after loading the gg file.

    You should set the Voltage Divider parameter to the maximum cell stack voltage. You indicated that it is 11242mV. How did you calculate the 169 kohm series resistor value. I calculated the maximum stack voltage to be 10118 mV for that resistance.

    The ChemID must match your cells as well.

    You will need to calibrate the device after getting the parameters setup.

    Regards

    Tom

  • Tom,

    Thank you for a fast reply!
    I tried the method using exporting and importing of .gg file, but BQ34Z100 refuses to write to its flash...  I think, that it is cause by the fact, that CNTL command 0x0021 (IT_enable())  has been sent to BQ34Z100.
    In I2C Pro I found a way to load .sync file, but it seems not to be compatible with BQ34Z100, I am getting "Comm error code = 772" .
    Can you please tell me, how to load sync file to BQ34Z100 ?

    The problem with the voltage reading is solved now, there was a minor HW problem on my board...
    I will double check the resistor value calculation, though.

    Thank you for your help,

    Regards,
     Marek 

  • Marek,

    Can you send a screen shot of the DataRAM screen and the Configuration tab on the Data Flash screen? That will help me to examine the present state of the setup and I can advise as to how to proceed.

    Thanks

    Tom

  • Tom,
    please see attached the screenshots.
    I was loading the flash configuration according to datasheet pages 28-30. But later on I realized, there was a bug in my embedded code (endianness) and unfortunately, I activated the Impedance Track algorithm.
    In the datasheet, I did not find any information about the fact, that IT_enable() can cause impossibility to write into the flash... Can you confirm this?

    Thank you,
     Marek 

  • Marek,

    The VOLTSEL bit is not set in the Pack Configuration register, so the device is using the internal voltage divider. I tried your setup on my EVM and it allowed me to reload the senc file to initialize the pack. If it will not let you do this, then you may have to configure the EVM jumpers for a single cell configuration and apply 5V to the Bat+ to Bat- port. You can then try to load the senc file. Make sure that the Pack Configuration and Number of Cells registers are setup correctly and you calibrate the pack, before you enable IT. You may have to replace the device if all of this fails.

    Regards
    Tom

  • Tom,

    I used the steps mentioned in http://www.ti.com/lit/ug/sluu904/sluu904.pdf in section 5.7.2. To load the sync file. It worked, IT algorithm is disabled now and I am able to reprogram the flash configuration.

    Thank you!

    Marek