Hello,
I try to send a few bytes via I2C out of a timer -IRQ. This fails, and the whole system halts, I guess this happens because I set up the I2C-IRQs from within the timer interrupt context.
So I need a method to submit the I2C data "manually". My question: is this possible? Is there a register I can poll to see if the transmission buffer is empty to feed the next byte to be transmitted? Or what else possibilities are there to access I2C without the usage of any interrupts?
I know polling is not the preferred way to do this but I have to transfer only 3 bytes at 3,4 MHz, so this does not need a long time.
Thanks!