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.

BQ27426: Trouble using BQStudio

Part Number: BQ27426
Other Parts Discussed in Thread: BQSTUDIO, , EV2400

Hello,

I connected a custom board with a BQ27426 to an EV2400, connected in turn to a computer running BQStudio. BQStudio is able to identify the device (which is listed as 0426_4_26), but says it's not compatbile with that version BQStudio (v1.3.54, which I downloaded today). There is a listing for 0426_2_02-bq27426G1.bqz, but BQStudio claims they are not compatible, and that using it could brick the device. What should I do?

Thanks

  • I still haven't been able to get BQStudio to work, which I need to in order to generate the golden image. I noticed that if I select 0426_2_02-bq27426G1.bqz the only available bqz, when it scans for it, it does so for address 0x17, but the correct address of a bq27426 is 0x55, what gives? Maybe I'm missing a more up to date .bqz file?
  • Please attach a screenshot of bqStudio after you select the 0426_2_02-bq27426G1.bqz file manually.
    bqStudio will scan at address 0xAA (=0x55 7-bit notation). When do you notice that it uses 0x17?
  • I only saw it scanning for 0x17 a couple times, I cannot reproduce that today.

    This is the screen that comes out when I select the .bqz file.


    Today I got a different error message after selecting the gauge: the program claims to be connected to the gauge via I2C using address 0xAA (0x55), but no values are being read, and I get an "EV2X00 Adapter USB Timeout" error (bottom left). When I first plugged the adapter to the computer, the software asked for me to perform a firmware update, which I did.



    Meanwhile, it would be great if you could clarify a point so that we can continue working while we figure this out (which is preventing us from performing a learning cycle and golden image generation). Does the golden image consist solely of the State and Ra data subclasses, or is there anything else that we'll need to write to the gauge during production at the factory?


    Thanks!


    PS: the EV2400 is connected to the I2C bus of our custom board (via the SCL, SDA and VSS pins of the I2C port, labeled as "PORT 2" on the plastic case. That I2C bus is active (because our firmware is performing a series of tasks): is it possible that this activity is causing problems with the EV2400? There is plenty of bus availability, the bus is only used for about 20% of the time.

  • Are you able to communicate with a bq27426 EVM and the EV2400 (as to rule out interference with another I2C master)?

    The golden image contains additional data (including all subclasses that are shown in bqStudio). A learning cycle will only update the state and Ra subclasses so you don't necessarily have to write all subclasses if you just want to copy the results of a learning cycle to another gauge.
  • Sadly I don't have an EVM right now, that's why I'm using our custom board, I will only be able to use one in a couple of weeks. I guess I could try using the EVM once I get it and leave the learning cycle for a later date.

    Great, so the only subclasses that need to be saved/restored, both in factory during production and periodically (in case of a power loss) are State and Ra?
  • If you don't write any other configuration for you system (e.g. calibration, opconfig options) then you only have to restore State and Ra.