>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