I'm trying to find the maximum time a write to EEPROM could take. I've checked the datasheets and searched the Microchip website to no avail.
I have written some code to measure the time and for a 16F876A it appears to be 4.5mS. This only allows about 200 writes per second which seems very slow. It appears to be independent of clock speed.
The reason I ask is because I have a project which involves transferring a file from a PC via hyperterminal to the pic and then to EEPROM. I had it running at 19200 baud and my fifo overflowed . I now have it at 9600 baud and have the EEPROM writes on an interrupt so I can process the next line while the last line is being stored. My worry, is that the maximum time could be anything as the datasheet states that it is temp and chip Dependant and to check the AC characteristics which are blank.
I could drop the speed down to 4800 but I'd rather not if I can find reassuring timing figures.
So, does anyone have any idea where I might find this info?
Mike.
I have written some code to measure the time and for a 16F876A it appears to be 4.5mS. This only allows about 200 writes per second which seems very slow. It appears to be independent of clock speed.
The reason I ask is because I have a project which involves transferring a file from a PC via hyperterminal to the pic and then to EEPROM. I had it running at 19200 baud and my fifo overflowed . I now have it at 9600 baud and have the EEPROM writes on an interrupt so I can process the next line while the last line is being stored. My worry, is that the maximum time could be anything as the datasheet states that it is temp and chip Dependant and to check the AC characteristics which are blank.
I could drop the speed down to 4800 but I'd rather not if I can find reassuring timing figures.
So, does anyone have any idea where I might find this info?
Mike.