Tool/software:
Dear all,
I am working on a project where we use most of the available USCI modules, some for UART, 1 SPI and 3 I2C. The I2C modules are the last ones in ISR priority (UCB1-3). On UCB3 we sometimes get unwanted STOP condition interrupts, and this ruins the whole communication. The code basically works fine for a (random) while and then gives this stop condition interrupt (which is not initiated from software) and that messes up the whole communication. This situation seems to be coming from timing issues (e.g. timing between the SCL and SDA is sometimes too marginal and makes a fals STP).
My question is: Is it possible that the hardware USCI module (in this case UCB3) has some lagging or delays (during e.g. transmitting the address and the byte I want to send) because the software overloads the processor, or is this only possbile if e.g.an interrupt is fired but not serviced in time?
Thanks,
Richard