-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32-I2C Occasionally Invalid Readings (IDFGH-14482) #15252
Comments
esp32? |
Yes, I'm using ESP32-WROVER-E. As addition, SDA Pin is GPIO-0 and SCL Pin is GPIO-32. |
I guess you encounter the same issue with #12860 please try patch there,. |
Yes, it looks like we have the same issue with #12860. I've made the code update on source file and restarted the test process. I will be updating here if the problem persist to continue. Thanks! |
Any result? |
Yesterday, I've had a problem with test setup, I've started to testing today and its being running for 3 hours with no problem. But i will be keep testing for at least a couple of days. |
Answers checklist.
General issue report
For a project, I'm using an RTC IC with I2C. Sometimes, esp reads wrong values from registers. I've made a test with logic analyzer and osciloscope and esp logs. Evertime esp makes a reading, it prints out the 7 register. When the problem occurs, oscilloscope and logic anayzer matches out but esp prints are different. Esp prints out that it reads 1 byte different.
This problem only occurs in every 3-5 Hours. What might be the reason ?
The code only uses i2c_master_write_read_device function for reading.
Also notice, everytime this problem occurs, I2C structure misses one byte, and fills it with same as either previous or next byte.
The text was updated successfully, but these errors were encountered: