EmbeddedRelated.com
Forums

I2C, Problem with EEPROM Acknowledge polling

Started by lenordbauer July 25, 2007
Hi everybody,
i'm currently working with a MSP430F2274 and a AT24c64 EEPROM.

Read, Write, Pagexx -Functions are all working fine but I have a
Problem with Acknowledge Polling to determine if a Write Cycle is
completed.
If I use my EEPROM_ackp() Function and read out the written Adress I
dont get the written Byte. If I use a simple 6ms wait()Function i get
the correct result.

example: doesnt work



example: works fine



Here is the Code, inspired by the Application Note SLA208:

Beginning Microcontrollers with the MSP430