lucullusTheOnly / TinyWire

Composite Master and Slave I2C library for Atmels ATTiny microcontrollers
108 stars 26 forks source link

8ms interruptions during sending 32 bytes + address + subaddress #26

Open oomek opened 4 years ago

oomek commented 4 years ago

There seems to be some interrupt taking over during transfer of data between 2 Attiny85s. I've noticed a delay of 8-9ms every 10th packet. image

I have set buffers to 64 to allow more than 32 bytes per packet. `#define TWI_RX_BUFFER_SIZE ( 64 )

define TWI_TX_BUFFER_SIZE ( 64 )`