Question about PIC processor EEPROM

Discussion in 'Embedded Systems and Microcontrollers' started by John P, Aug 12, 2016.

  1. John P

    Thread Starter AAC Fanatic!

    Oct 14, 2008
    1,632
    224
    I'm using a PIC16F690, where I need to use the EEPROM, reading often and writing occasionally. The data book says a write operation takes 5msec typical, and there's a flag you can check to see whether it's complete. But the book is silent about whether you can read from the EEPROM while a byte is being written. I mean reading a different byte, not the one being stored. Is the rest of the EEPROM available during a write, or does the whole thing lock up?
     
  2. AlbertHall

    Well-Known Member

    Jun 4, 2014
    1,886
    375
    No, the EEPROM is locked until the write is finished. You could cache the EEPROM in RAM though that is pretty limited in the '690.
     
Loading...