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: I2C set address manually

Part Number: BQSTUDIO
Other Parts Discussed in Thread: BQ76942, BQ34Z100-G1

Hello,

i'm currently setting up a BMS using a BQ34Z100G1 (address 0xAA) and BQ76942 (address 0x10) on the same I2C bus and am trying to connect to both using BQStudio 1.3.104.
Before i placed the BQ34Z100G1 on the board, autodetection and communication with the BQ76942 worked fine.
Since i added the BQ34Z100G1, BQStudio autodetects it first and connects to it.
I can also still read the registers of the BQ76942 using the advanced comm I2C panel.

However, if i disable autodetection in the preferences and try to connect using the BQ76942.bqz target, i get an error and BQStudio tries to use 0xAA that it detected for the address.

Is there a way to manually set the address for BQ76942 so it would be possible to choose which chip BQStudio connects to?

  • Hi,

    I have seen this problem reported by another user when using these two devices together on the same bus. This is something I hope to investigate and get fixed in BQStudio, but I do not know of an easy solution to establish BQStudio communicating with the BQ76942 without removing BQ34Z100-G1 from the bus unfortunately. The BQ76942 I2C address can be modified (it is programmable in one of the registers), but I do not think this will solve the issue - BQStudio seems to detect the BQ34Z100-G1 first.

    Regards,

    Matt

  • Hello Maximilian,

    Read this e2e thread e2e.ti.com/.../3881370