puuu / USIWire

USI based TWI/I2C library for Arduino
GNU Lesser General Public License v3.0
60 stars 18 forks source link

ATtiny85 hold time #16

Open LateNightIceCream opened 2 years ago

LateNightIceCream commented 2 years ago

I tried to use this library on an ATtiny85 at the default 1 MHz and can't get the slave to respond. I checked on the oscilloscope and it seems that the SDA hold times are really short (check picture).

dso_12_23_18_00_01

Comparison with ESP-WROOM-32 Wire library:

dso_12_23_18_18_26

Is there any way to add a delay somewhere between the negative edges of SCL and data change on SDA?