Hello all,
My apologies if this has been answered already, but I am having trouble getting started with a project and part of the problem is I simply can not work out what I should be looking for.
In summary, I would like to prepopulate at 24LC256 chip with about 4380 lines of data, in the form of pairs of small integers (less than 16 each), never to be changed again and then look up those numbers at run time later on.
I THINK I should using the 18X chip and I think I am pretty happy with the i2c commands and syntax to read the data in.
I THINK I can see that the EEPROM command should be used to prepopulate the data, thought I am not sure if that will work with so many lines of data.
I am also not entirely clear that the chip will hold that much data, though 16K words is a number I see now and then, which implies it will...
I THINK I can see that reading the data back from the chip is ok if I can work out which line number the data will be stored on by using
readi2c memory_location variable_name (and I think I can calculate memory_location ok at run time).
So my question is:
Is someone able to point me at what I should be looking FOR, in terms of the best practice for prepopulating the chip with that much data (if possible), and then how best to "look up" the data later on.
Thank you,
Matthew
My apologies if this has been answered already, but I am having trouble getting started with a project and part of the problem is I simply can not work out what I should be looking for.
In summary, I would like to prepopulate at 24LC256 chip with about 4380 lines of data, in the form of pairs of small integers (less than 16 each), never to be changed again and then look up those numbers at run time later on.
I THINK I should using the 18X chip and I think I am pretty happy with the i2c commands and syntax to read the data in.
I THINK I can see that the EEPROM command should be used to prepopulate the data, thought I am not sure if that will work with so many lines of data.
I am also not entirely clear that the chip will hold that much data, though 16K words is a number I see now and then, which implies it will...
I THINK I can see that reading the data back from the chip is ok if I can work out which line number the data will be stored on by using
readi2c memory_location variable_name (and I think I can calculate memory_location ok at run time).
So my question is:
Is someone able to point me at what I should be looking FOR, in terms of the best practice for prepopulating the chip with that much data (if possible), and then how best to "look up" the data later on.
Thank you,
Matthew