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.

BQ40Z50: BQ40Z50 I2C status busy

Part Number: BQ40Z50
Other Parts Discussed in Thread: MSPM0G3507

Tool/software:

Hi,

I was trying to read BQ40Z50 register value through MSPM0G3507 via SMBus.

Here is my problem,

I tried to read 8 registers data in 50ms. It was success for a lot of time, but suddenly the I2C stop working and SCL is pulled down. 

I ran through debug mode through MSPM0G3507, it turned out the I2C was busy.

How many register you suggest to read/write in 50ms period or is there any better solution to solve the problem? Thanks.

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1482253/mspm0g3507-i2c-controller-problem/5691388#5691388

Best Regards,

Andy

  • Hi Andy,

    If the SCL is being pulled down, the gauge is conducting clock stretching to indicate that it is busy at this time. We would recommend to extend the amount of time the registers are being polled to allow for the gauge to conduct its intended processes while the SCL is low.

    Regards,

    Anthony