I have used the SI1133(slave) with LPC1765(Master) for detecting IR.But i have received the data's with the delay of 320us in the initial stage .After some milliseconds it goes to 520us as I attached here.
I think this is happened due to I2C clock Stretching.Kindly give a idea to reduce it if possible.
In the Above images for your knowledge Yellow is SCl,Green is SDA
0
What's the I2C clock rate? Can you reduce that and see if it helps?
Regards,
Tony
0
We are seeing this issue.
We are seeing si1133 failing with i2c communication. When we add some delay between two I2c read/write then code works fine. There are many functions in driver such as SI1133_paramSet() which call I2C reads back to back and the code fails.
I think this issue will happen whenever host CPU is running very fast and thus sending commands fast.
0
Please see my response in the new post you created.
SI1133 ALS Sensor I2C Clock Stretching
Hi ,
I have used the SI1133(slave) with LPC1765(Master) for detecting IR.But i have received the data's with the delay of 320us in the initial stage .After some milliseconds it goes to 520us as I attached here.
I think this is happened due to I2C clock Stretching.Kindly give a idea to reduce it if possible.
What's the I2C clock rate? Can you reduce that and see if it helps?
Regards,
Tony
We are seeing this issue.
We are seeing si1133 failing with i2c communication. When we add some delay between two I2c read/write then code works fine. There are many functions in driver such as SI1133_paramSet() which call I2C reads back to back and the code fails.
I think this issue will happen whenever host CPU is running very fast and thus sending commands fast.