Skip to main content
prabk4u2004
Associate II
December 27, 2013
Question

I2C Ack error

Posted on December 27, 2013 at 08:26

dear all

      i am using an I2C protocol to interface micro-controller with EEPROM, i am facing an Ack error , i kindly request you all to help me regarding this error , i have attached the file plz have a look in to it and do the need ful

thanking you all

sowmya

 

#inetrfacing-24c04-eeprom
This topic has been closed for replies.

1 reply

chen
Associate II
January 2, 2014
Posted on January 02, 2014 at 11:59

Hi

How do you know you go an ACK Error?

Is the code returning the error or have you looked at the I2C signal on an oscilloscope?

Please make sure you are 100% familiar with I2C first.

http://en.wikipedia.org/wiki/I%C2%B2C

A quick scan of you code suggests to me that the EEPROM may not be ready - you are trying to initiate I2C immediately after port initialisation.