- 1). Examine the data sheet for your particular EEPROM. Make note of the address bus and data bus pin numbers, the chip enable (CE) pin, output enable (OE) pin and the write enable (WE) pin. You will work with these pins to write and read your data.
- 2). Set the CE pin to enable, the OE pin to disable and the WE pin to disable. The CE pin must remain enabled during the entire writing process. Keep OE disabled during the writing process; you're not reading information, so you don't need output.
- 3). Set the address bus pins to the address of the EEPROM that you desire to place data. If you are storing data to the chip sequentially and nothing else is on the chip, this address is 0.
- 4). Set the data bus pins with the data you want to store in address 0. Each time you store a data byte you will need to increment the address before you write the next piece of data.
- 5). Enable the WE pin momentarily, then set it back to disable. Move to the next address and next data point. Repeat the process until you have written all the information you desire to the EEPROM.
previous post
next post