cancel
Showing results for 
Search instead for 
Did you mean: 

No I2C Interrupts

davew
Associate
Posted on June 20, 2006 at 21:04

No I2C Interrupts

2 REPLIES 2
davew
Associate
Posted on May 17, 2011 at 11:50

Hi,

I'm using nearly identical I2C firmware as in the RTC demo but I can't get the master to transmit. When I call the master transmit function, I get a start bit but I get no interrupts. Since there are no interrupts, nothing is put into the S1DAT register and there are no I2C clocks.

I checked the EI2C bit (A7.1) and it is set. EA is set. But the S1STA register bit 5, INTR, never goes active.

Any ideas what I'm missing that keeps the I2C from running?

Thanks,

me

hanwayh
Associate II
Posted on May 17, 2011 at 11:50

I suggest you upload your program so that people can take a look what you did in the program. Even one simple error can cause program to fail.

Hanway