> From: Clewer,Brian > To: PICLIST@MITVMA.MIT.EDU > Subject: eeprom write time > Date: Thursday, 5 June 1997 09:27 > > Hi all, > I have just finished my code for IIC and now have a new problem. I can > read and write to my eeprom but the time taken to write the page when I send > the stop bit is not known. Does any one know how long the info takes to go > from the cache to the eeprom cells? From this I will know how long I will > have to wait to read the eeprom after a page write. How about using acknowledge polling, rather than a fixed delay? This means you don't need to reference delay loop to clock. Quote from Microchip's data "Since the device will not acknowledge during a write cycle, this can be used to determine when the cycle is complete. (this feature can be used to maximise bus thruput.) Once the stop condition for a write cycle has been issued from the master, the device initiates the internally timed write cycle. ACK polling can be initiated immediately. " ... MikeS