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.

BQSTUDIO: Communication with multiple devices

Part Number: BQSTUDIO
Other Parts Discussed in Thread: BQ27Z561, BQ25703A, EV2400

Hello, 

I have a design using the BQ25703A charger IC and the BQ27Z561 fuel gauge.  I've been able to get BQStudio to communicate with each of them, however I am finding that after I flashed the FW on the fuel gauge to the latest, and this allowed it to  be auto-detected, that I can't easily switch between which device I am talking to.  They are on the same I2C bus and thought I would not have an issue, but now the application opens automatically into the fuel gauge screen and I can't switch out of it to the BQ25703A screens.  Do I need to open the application prior to connecting the EVM? Is there a way to manage two simultaneous instances of BQstudio? I'm trying to set everything up to perform learning cycles and get the fuel gauge calibrated, any help or reference documentation would be great.

  • Hello Adam,

    Let me check with someone on our team more familiar with the bqStudio Auto detection and get back to you.

    Sincerely,

    Wyatt Keller

  • Hi Adam,

    If you want 2 simultaneous instances of bqStudio, then you will need 2 separate EV2400 boxes connected to USB. Note that since you seem to have a single I2C bus, there will be collision on I2C bus when the 2 instances of bqStudio communicate.

    I believe you just need to set up the charger once, so here is the procedure to access the charger (single bqStudio instance).

    1. Close all instances of bqStudio

    2. Connect single EV2400 to USB but disconnect I2C from EV2400

    3. Start bqStudio and select the charger manually

    4. Connect I2C to EV2400

    Even with this arrangement, note that you may get a few communication failures if there is charger to gauge communication on I2C bus going on at the same time.

  • Thank you for the response Shirish, This does work for getting to the charger.  I am noticing however that after I save the registers, they seem to revert back while I am working on the gauge, so all of a sudden my current is turned off while I'm working on gauge registers.  Do you have any idea how to stop the BQ25703A from resetting its registers?

  • Hi Adam,

    It probably is the watchdog (usually can be set to a long time) or a result of configuration combinations. I would advise you to start a new thread for the bq25703A related question. That will identify it as a charger related question and attract attention from charger experts.

    Regards,