Random I2C issue
Posted: Tue Dec 17, 2019 6:31 pm
We made some boards with ESP32 + I2C device. We tested our firmware on 20 prototypes without encountering any problem.
We launched this week a first production, and tested the final boards...and we are now encountering some strange problems with I2C communication (master with a close single slave):
- some boards work fine (100%),
- some boards do not work at all (I2C communication always fails),
- most of the board work randomly (typically 1/3 of the I2C write work, 2/3 fail..).
Nothing special to say... we tried I2C_0 and I2C_1 and have the same behaviour. We tried different bit rates without seeing any improvement.
Any idea/suggestion?
Thanks for your help
Francis
We launched this week a first production, and tested the final boards...and we are now encountering some strange problems with I2C communication (master with a close single slave):
- some boards work fine (100%),
- some boards do not work at all (I2C communication always fails),
- most of the board work randomly (typically 1/3 of the I2C write work, 2/3 fail..).
Nothing special to say... we tried I2C_0 and I2C_1 and have the same behaviour. We tried different bit rates without seeing any improvement.
Any idea/suggestion?
Thanks for your help
Francis