Hi!
I'm working on LPC1857 controller and I required to test the i2c code I wrote. As far as I can see,as per data-sheet I've got all right with code. While the application is run, i2c is disabled.
I debugged and found that while clearing only the i2c-interrupt flag the entire control register for i2c is cleared, thereby disabling i2c.
>LPC_I2C0->CONCLR |= 0X00000008; // clear i2c interrupt only
Hope I made my doubt clear.
Thanks for anyone suggest anything to avoid this problem.
Hi, I have the same problem using LPC 1227, while clearing only the i2c-interrupt flag the entire control register for i2c is cleared, disabling i2c. How did you solve that? Thank you!