Skip to content
Arnd edited this page Dec 2, 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 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:

  • 23x640 (64kbit)
  • 23x256 (256kbit)
  • 23x512 (512kbit)
  • 23x1024 (1024kbit)
  • 23LCV512 (512kbit)
  • 23LCV1024 (1024kbit)

Overview

Overview
Installation
Class Instantiation

Public Functions

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

Public Variables

SRAMBytes

Example Program

sram_read_write_test

Clone this wiki locally