cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Slave mode

richard4
Associate
Posted on November 06, 2003 at 11:40

I2C Slave mode

1 REPLY 1
richard4
Associate
Posted on May 17, 2011 at 11:56

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