XC32 I2C Peripheral Library
As far as I can determine, the I2CAcknowledgeByte peripheral library function doe not actually generate either and ACK or NACK. The I2C example provided with the XC32 ver 1.31 compiler correctly writes and reads single bytes with the 24LC256 EEPROM as written. HOWEVER, the example code doe not use the I2CAcknowledgeByte function when reading a single byte. Instead, the example code simply calls the function StopTransfer which sends a stop sequence to terminate the read operation. Since the example code does not cause the master (PIC32) to generate the 9th clock pulse, the example code cannot be used to read multiple bytes from the EEPROM. I would like to hear what other XC32 users are experiencing in regards to the I2C peripheral library.