Other Parts Discussed in Thread: BQ25601D
Hi TI,
We are seeing a weird problem with I2C communication with CC3220SF.
In 99% of the devices the I2C communication works flawless, however in some cases it doesn't.
The I2C bus interfaces to a BQ25601D battery charger, and a LTC2941 fuel gauge.
A sketch of the initialization code is as follows:
I2C_Init()
I2C_Params_init()
Handle = I2C_open()
Which is performing as expected, i.e. the handle is not equal to NULL.
The bus is initialized to Non-Blocking mode.
The actual transfer (I2C_transfer(Handle, I2C_Transaction)), doesn't work.
We simply do not see any communication at all on the bus. Both SDA and SCL is constantly 3.3V.
Since the I2C communication is done with Non-blocking mode, the I2C_Transfer() function always returns TRUE.
After a few days where the product was sitting on the bench, I turned on again the device again and the I2C bus had recovered and worked as intended. We have seen the problem in other devices as well, but haven't found a solution as it seems the error comes and goes.
Do you know of any known errors with I2C and CC3220SF, where the I2C bus is simply not transmitting any data at all?
Best,
Mathias Vandel