LPC812 does not handle STOP after ACK

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by remcopoelstra on Thu Nov 27 03:56:03 MST 2014

It seems that when the master-receiver sends an ACK and then a STOP, the LPC812 I2C controller signals a SLVPENDING interrupt and pulls down the SDA line.
Since I know the transaction should end, as the byte count is known, I instruct the slave control register to send back NACK's for SLVPENDING interrupts that I don't epxect.
How can I make sure that the I2C Controller handles the STOP after the ACK?


Remco Poelstra