Hi all,
I am interfacing BQ27441 Fuel guage Ic with QUECTEL MC60 using i2c, I am getting error “QL_RET_ERR_I2CHWFAILED” on using Ql_IIC_Read function. i have checked pull up as well they are fine.
I observed waveform of i2c lines on CRO and I think the problem is because of clock stretching. Can anyone tell me is there any way I can control clock stretching in QUECTEL MC60?
Hello, here are some suggestions:
-
You can try to reduce the frequency of I2C to see if it can solve your problem.
-
If downscaling does not solve your problem, you can increase the transmission voltage by level switching to reduce interference.
Hope my answer is helpful to you!