I am using I2C and SSC modules. The code for the SPI bus is from infineon and 'DAvE'. On there own they work fine but when i access devices on both buss at the same time the I2C module appears to crash but only occationally. It sets the BB flag in IIC_ST, the clock pulses stop and the module will not respond.
Has anyone experienced anything like this or have any advice on Interrupt priority levels for SPI-tx, SPI-rx, I2C-data, I2C-protocol. Or how to manage a reset of the I2C module whilst running if an error occurs.
Or if it unreasonable to expect both modules to work together?
Any help would be appreciated.