Advanced Users can post their questions and comments here for the not so Newbie crowd.

Moderator: eriksl

User avatar
By eriksl
#81873 BTW the I2C code I have tested extensively with a (simple) oscilloscope. If you set the "speed" to "1000", all timings will be compliant to a strict 100 kHz I2C bus implementation. Not many devices need this, but it's good to have I think. The timings of the Espressif code rely on the SCL being asynchronous and most if the time it may actually work. But there is no code to ensure all SDA levels are within the specs. I fear all kinds of spikes and far too short level changes. If you have one of those dodgy I2C devices, it won't work. I have a couple of digipicco devices and they truly won't work when not all the specs are exactly right.