SPI EEPROM Routines

Here you can share completed projects or parts of projects that may be useful to others. You may post files relevant to ZBasic - source code, schematics, etc.
Post Reply
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

SPI EEPROM Routines

Post by dkinzer »

The attached file contains routines for reading/writing an external SPI EEPROM. Currently, the code only supports byte-writeable EEPROMs like the AT25256A and M95512. For devices that only support page writes, the code would need to be modified to perform a read-modify-write operation when data needs to be written to a portion of a page.

This code may be useful for those using the ZX-24n which has an otherwise unused AT25256A EEPROM onboard as well as in other applications that include such an EEPROM.
Attachments
SPI_EEPROM.zip
SPI EEPROM Routines
(2.57 KiB) Downloaded 3960 times
- Don Kinzer
Post Reply