I am looking for high capacity eeprom(I2C compatible) IC as an alternative to 1gb or 2gb micro SD card (data storage segment in my project) just in case I fail to interface Sdcard with pic32 mcu..
Suggestions are welcomed..
Thanks in advance..
|
|
At higher capacities, SPI flash is way cheaper than eeprom, with capacities in the 1-32 megabit range. Main difference is it is block, not byte eraseable and 3.3v only. ALways SPI, not I2C, but I2C gets too slow for large memories anyway. For gb capacites you're looking at NAND flash, & you need to deal with pretty large erase blocks, ECC, page-at-a-time writes and bad-block mapping, so SD will probably be easier & cheaper as it does ECC internally. |
|||
|
|
|
Do the math: I2C at 400kHz => around 40kbytes/sec abs max (even at no EEPROM address overhead and 8 bytes per packet write: 64 data bits + 8 bytes * 1 ACK bit / byte + start/stop bits per packet + 7 bits I2C address overhead = 81 bits / 8 bytes) At this rate, even if the EEPROM handled all the erasing/writing state machine internally, the bottleneck for I2C communications would take you 25,000 seconds = almost 7 hours to write 1GB of data. I2C is much more sensitive to noise and much more difficult to deal with errors than SPI. Save yourself trouble and use SPI over I2C if at all possible. The advantage of a SPI EEPROM is you can still use it even if you have to bit-bang the clock and data yourself. |
|||
|
|