On Thu, Sep 25, 2008 at 03:15:52PM -0400, Andre Abelian wrote: > Alan, > > All of this I am doing to see how the page mode works. > I am turning the power off after the 64 byte routine is completed > to see if it is writing to EEPROM RAM or not. It still takes time to write the 64 bytes after they have been transferred. That time is the same amount to write a single byte, about 5ms. Try this: 1) Transfer 64 bytes. 2) Send the stop condition. 3) Wait 5ms. 4) Turn off power to the EEPROM. This is an accurate test of if the 64 bytes get written in that 5ms window. Hope this helps, BAJ > > > Thanks > > Andre > > > > > > -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf > Of Alan B. Pearce > Sent: Thursday, September 25, 2008 9:49 AM > To: Microcontroller discussion list - Public. > Subject: Re: [pic:] I2C EEPROM write speed ? > > >Maybe I didn't explain clearly. In page mode the EEPROM only takes 64 > >bytes and doesn't write it just buffers it right after stop condition > >showed up > >It will spend it's own time to write it. Since it does it by itself we > >do not see how long it takes. Make it short there is no fast write this > >is just a work around or another method of writing that will free up > CPU > >time in background. I just tested: right after page right the pic will > >turns off the EEPROM Power the EEPROM only stored a few bytes. I am not > >too far to find out how long inside external EEPROM takes to write all > >64 bytes of data. > >The reason I am turning it off because of I need to write data after > >power > >Disconnection and this is USB device and I only have 10ms time to write > >64 bytes. > > This doesn't make sense. > > If you are turning off power to the EEPROM immediately after telling it > to > do a write, how has it written single bytes before, and how have you > managed > to write 32kB. > > And what does USB have to do with an I2C EEPROM? > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > IMPORTANT NOTICE: This notice constitutes Proprietary Rights identification of this email including all attachments, which is property that is intended only for the use of the individual or entity to which it is addressed. It also may contain proprietary data or information that is privileged, confidential, or otherwise protected from disclosure under applicable law. The recipient of this data agrees to abide by the United States Export Control of Technical Data and Equipment under the International Traffic in Arms Regulations (ITAR) and Export Administration Regulations (EAR). The recipient agrees to abide by these laws and their regulations not only for export and re-export, but for disclosure to non-U.S. citizens. This email does not grant or assign rights of ownership in the proprietary subject matter herein, nor shall it be construed as a joint venture, partnership, teaming agreement, or other formal business relationship. If the reader of this e-mail transmissi! on! > is not the intended recipient or the employee or agent responsible for delivering the transmission to the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this e-mail or its contents is strictly prohibited. Please notify the sender you received it in error by responding to the e-mail and then permanently delete it and all copies of the e-mail immediately, including any copies of it in your deleted email folder. > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist