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.

bq27530-G1 Programming

Other Parts Discussed in Thread: BQ27500

So I've run the bqCONFIG to calibrate the fuel gauge in circuit and generate a quiver full of image files.  In doing so the values are written into flash.

I open bqGasGaugeEvalSoftware and click the Data Flash tab which shows that indeed the flash values were updated.

However the DataRAM is still using old values for the likes of capacity, taper current, etc.

What is the secret handshake to get this thing using the write values.

Thanks in advanced.

_Chris

  • Typically you would need a hard reset (power cycle) or a soft reset (send subcommand 0x41) to get it to re-initialize using the updated dataflash values.

  • Thanks dMax,

    I should have mentioned previously what ive tried.

    1. hard reset - pulled power
    2. soft reset
    3. The last step of the bq27500 configuration at production is to give the RESET (0x0041), IT ENABLE
      (0x0021), and SEALED (0x0020) commands. These commands are given by writing the corresponding
      two-byte data value into the CONTROL register (command 0x00/0x01) using I
      2C.  - From http://www.ti.com/lit/an/slua449e/slua449e.pdf page 6

    I've tried this on another board as well.

    _Chris