cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Ack error

prabk4u2004
Associate II
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
1 REPLY 1
chen
Associate II
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.