Content originally posted in LPCWare by remcopoelstra on Thu Nov 27 03:56:03 MST 2014
Hi,
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?
Regards,
Remco Poelstra