SPI or I2C for EEPROM
Posted: Wed Jan 04, 2012 1:05 pm
Hi
I have a data aquisition project and need to store 99 sets of data around 200bytes/set aquired by PIC18F4550 from a sensor with SPI comm, as the data needs to be secure I'm loading each data set to the internal EEPROM. I am considering an additional 32kb EEPROM using the PICs to buffer the data sets and copy to the external EEPROM, the pic will then access all the data via the USB. There is bags of time between set aquisitions, the accumulated data in the external EEPROM is to be uploaded to PC via the USB function with Labview.
Q. Which is best, SPI or I2C for the external EEPROM?
Q. Is this approach the most elagant solution?
Gary
I have a data aquisition project and need to store 99 sets of data around 200bytes/set aquired by PIC18F4550 from a sensor with SPI comm, as the data needs to be secure I'm loading each data set to the internal EEPROM. I am considering an additional 32kb EEPROM using the PICs to buffer the data sets and copy to the external EEPROM, the pic will then access all the data via the USB. There is bags of time between set aquisitions, the accumulated data in the external EEPROM is to be uploaded to PC via the USB function with Labview.
Q. Which is best, SPI or I2C for the external EEPROM?
Q. Is this approach the most elagant solution?
Gary