Skip to content
Arnd edited this page Dec 3, 2016 · 24 revisions

Microchip offers a number of volatile and nonvolatile memory chips that use the SPI protocol. These chips 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 degradation. The memory is also fast enough so that the normal SPI speeds are slow enough so that no delays need to be introduced.

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
23x640 64 kbit
23x256 256 kbit
23x512
23LCV512
512 kbit
23x1024
23LCV1024
1024 kbit

Zanshin Logo

Overview

Overview
Installation
Class Instantiation

Public Functions

get()
put()
clearMemory()
fillMemory()

Public Variables

SRAMBytes

Example Program

sram_read_write_test

Clone this wiki locally