2003-11-06 02:40 AM
2011-05-17 02:56 AM
Hi
Is it legal to dynamically disable and enable I2C using the ENII bit in S2CON? I am using the uPSD3233 as a slave in a one-master, multi-slave system. When I disable the I2C interface during critical operations I sometimes get unexpected interrupts when ENII is re-enabled. The I2C then stops working until the processor is reset. The unexplained interrupts include the GC flag, even though it is not enable in my code. Can anyone offer help with I2C slave mode? It is not well described in the data sheet, and the example code assumes operation as a master. Richard