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.

BQ76952: Unable to change i2c address using BQstudio - the displayed address is unchanged

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

Hi there,

I tried to follow some forum posts for changing the i2c address in the "Data Memory -> Settings -> I2C address" register in Bqstudio.

Initially I tried simply changing this value in Bqstudio by simply modifying it in the UI, closing BQstudio and opening it. I noticed that this reqister was updated. Previously it was 0x00 (default of 0x10) and it changed to 18 (assuming this means a Hex value of 0x12) which is the value I set it to in BQstudio. 


This value of 18 was reflected in Bqstudio but the BQ76952 continues to respond to address 0x10 from my microcontroller. 

It still shows 0x10 on the LHS in bqstudio however:

I also tried first setting SET_CFGUPDATE, changing the address in BQstudio UI, then EXIT_CFGUPDATE. Then SWAPP_COMM_MODE as was recommended by the linked post. When I do this BQstudio no longer responds. When I close and reopen BQstudio it does not detect any BQ76952 and I am forced to power off and then on my device.

Any idea as to what I could be doing wrong here?

Thanks in advance,

Steven

  • Hello Steven,

    bqStudio will no longer be able to detect the part once the I2C address was changed. This is because is expecting to use 0x10, so it does not know that the address has changed.

    As far as I know (and to what I have tried), there is no way for bqStudio to pick it up after the address was changed. You should be able to read from it from your microcontroller.

    Something to keep in mind is that bqStudio will automatically enter and exit CONFIG_UPDATE mode when changing registers, so this does not have to be done manually (Unless you manually send each command through the command sequence).

    I do notice that your bqStudio shows that you are using the EV2300, this device is no longer supported. You should update this to the EV2400 or use the on-board EV2400 of the BQ76952EVM.

    Best Regards,

    Luis Hernandez Salomon

  • Hi Luis,

    Thank you for that information. I think what was getting me was that you can change the address and the register "address" value will update to the changed value even if you don't hit SWAPP_COMM_MODE (e.g if you read the address value from a uC), BUT this won't actually change the actual i2c address until you hit SWAPP_COMM_MODE .