rambo / TinyWire

My modifications to TinyWire Arduino libs
284 stars 121 forks source link

Communication fails between ESP8266 and ATTiny2313A #31

Closed neilyoung closed 7 years ago

neilyoung commented 7 years ago

Hi,

ESP is master, ATTiny2313 A is slave. ESP running at 80 MHz, Tiny at 8. The START interrupt comes, but if I check the values of SCL and SDA in line 487 (after the while loop, which waits for SCL and SDA) then SCL is low, but SDA is not found to be low as expected, but high instead, which immediately is considered to be a STOP condition. As a result the OVERFLOW interrupt is not enabled and the communication does not proceed.

Any idea, what might be wrong here?

neilyoung commented 7 years ago

Need to explain that I'm using the .c file directly.

neilyoung commented 7 years ago

Probably addressing issue. See https://github.com/rambo/TinyWire/issues/32