We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
What is the difference for the following acknowledge functions? 1) Check the SDA line to find out if it is released by receiver. 2) Using the way instructed by datasheet. My program can work with the Acknowledge function 1. But program is easily lingered at acknowledge function at some address location. If my program is combined with Acknowledge function 2, it totally can not work at all, every data can be read out are all 0xff. What is wrong with them? Can I get some clues?
Now that you have confirmed the problem ... follow the flow chart in the "Acknowledge Polling" section of the data sheet to determine when a write is complete. This is not a battery backed RAM ... it typically takes 2-10 milliseconds to complete a write.