Skip to content

Zanduino/MicrochipSRAM

Repository files navigation

License: GPL v3 Build Format Wiki Doxygen arduino-library-badge

MicrochipSRAM library

Arduino library which defines methods for accessing any the Microchip SRAM and SNVRAM SPI family memory chips. Microchip offers a number of volatile and nonvolatile memory chips that use the SPI protocol. One thing that differentiates these chips from others on the market is that they have an unlimited number of write cycles, so the programmer doesn't have to worry about load leveling and writing only pages/blocks at a time to avoid memory hardware degradation or failure. The memory is also fast enough so that no delays need be introduced when using SPI.

This Arduino library offers a number of methods that allow easy reading and writing to/from the memory as well as a method for detecting exactly which one of the supported memory chips is installed.

The following Microchip SRAM and SNVRAM chips can be accessed using this library:

Memory Type Storage Bits Datasheets
23x640 64 kbit 23x640 Datasheet
23x256 256 kbit 23x256 Datasheet
23x512
23LCV512
512 kbit 23x512 Datasheet
23LCV512 Datasheet
23x1024
23LCV1024
1024 kbit 23x1024 Datasheet
23LCV1024 Datasheet

See the Wiki pages for details of the class and the variables / functions accessible in it. The doxygen documentation can be found at Doxygen Documentation

Zanshin Logo