Shop OBEX P1 Docs P2 Docs Learn Events
Size Limit of EEPROM — Parallax Forums

Size Limit of EEPROM

ArchiverArchiver Posts: 46,084
edited 2002-02-13 17:34 in General Discussion
Use a serial EEPROM as data storage for datalogger, the bigger the size the
better. But, is there any size limit for the EEPROM? Is the max addressing
is 256?

Liang Ji

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-02-13 17:34
    >Use a serial EEPROM as data storage for datalogger, the bigger the size the
    >better. But, is there any size limit for the EEPROM? Is the max addressing
    >is 256?
    >
    >Liang Ji

    There is really no size limit. There is a matter of programming
    convenience in addressing the EEPROM. The word size on a Stamp is 16
    bits, for storing values from 0 to 65535. Those could be addresses
    in your EEPROM. But that is not a hard limit if you are willing to
    use more than one word to store the address.

    You will send the address to the EEPROM (via SPI or I2C typically)
    before you write or retrieve the data byte(s) at that address. If
    you have multiple EEPROM chips, you have to "parse" the address while
    sending it so that the correct EEPROM will respond.

    -- Tracy
Sign In or Register to comment.