Quote Originally Posted by Kamikaze47 View Post
One thing I did notice is that people are saying you have to wait 10mS between writing and reading. Does this also apply to just reading? i.e. If I read 32 bytes with [STR string\32] and then do the same thing again to read the next 32 bytes, will I have to wait 10mS between? I'm sure this info must be in the data sheet, but i looked thru the data but couldnt work it out.
Only applies to the write. If you're using PBP 2.50a, also use the DEFINE that shuts off interrupts during writes.
Use 10mS as a starting point for the 'after write' delay and make sure it all works fine.
Then start backing off your delay until it fails, then bump it up a notch. You could get really picky and use pauseus for the delay.
But I'd say poll the eeprom's busy bit itself for maximum performance.
As far as multiple byte writes, depends on the eeprom. If the eeprom's page size is 32 bytes, then you write 32 bytes, wait 10mS, write 32, wait 10mS...etc...