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.

BQ27220EVM-744: Unexpected waking up, data memory import and write isues

Part Number: BQ27220EVM-744
Other Parts Discussed in Thread: BQ27220, BQSTUDIO

hello

I'm checking bq27220 as a coulomb counter with bqstudio, and have some unresolved issues

  1. My gauge waken up Immediately after reaching the current threshold, Instead of waiting for the awakening window every 20 seconds.
    I have no idea way this happened. I have made sure the 'wake up comparator' is disabled.
    Does the gauge have a mode that work like that? If it is a problem, what do I need to do to change this? 
  2. I can't import the '.gg' file to the 'data memory', so every time I'm working with the gauge I need to calibirate and change the 'data memory' all over again.
    After pressing 'Import', click on the file and 'ok', nothing happens.
    I checked that I'm in the 'full access' and 'cfg update' mode while trying this, and I press 'write all' in the memory bar, after doing all the changes and before exporting them.
    How can I overcome this problem?
  3. And one other qustion for the end,
    After calibrating and changing the 'data memory', do I need to press 'write all' in the memory bar, or pressing 'exit_cfg_update_reinit' is inough?

 

thank you very much

arnon

  • hi Arnon,
    1. Are you sure you disabled the wake up comparator? How did you do this? There are two ways the gauge wakes up, either using the analog wake comparator or using the sleep current if when it wakes during that once in 20s, it sees the current is above the sleep current. What did you set your sleep current to and what did you set the wake current to. Check your gg file again and possibly share it so we double check.
    2. The bq27220 is a ROM gauge, so if you reset the gauge or cycle power, you will have to reprogram the gmfs file. Unfortunately, the bq27220 is a little different from other ROM gauges. You can't import a gg file. You have to send the cfgupdate command, manually change your parameter, then click the exit_cfg_update_reinit command. To work around this, use the gmfs file containing your settings.
    3. Hitting enter or write all will get the gauge to update with the parameters you changed. I do not believe you need either for calibration as the calibration routine should take care of this. Pls see EVM user guide.

    I hope this helps.

    thanks
    Onyx