Hi,
I am working on a project that combine I2C and SPI together and i have troubles with infinites loops.
I suppose that i can have an SPI flag interuption while the I2C bus is transmitting,
corrupting the I2C's data that has been sent (some bits are missed while the SPI interrupt routine is being executed),
and thus chain-failling the data-lenght test executed as the condition to get out of the infinite loop like this :
while(lenght not ok)
{
//wait for interrupt
};
Am i correct, and is there any solution ?
Thanks for any help,
LGui