Spi RAM together with Ethernet Shield

This library makes it possible to use the 23K256 (Datasheet - PDF), a 32K SRAM chip from Microchip together with the Ethernetshield. The library is an adaptation from the SRAM lib written by Carl Morey.

Hardware

Connect the SRAM chip to the arduino pins as follows:

Function23K256Arduino
1/CS9
2SO12
3NC 
4GNDGND
5SI11
6SCK13
7/HOLD5V
85V

Ethernetshield

When you use an older version of the Ethernetshield (without the SD connector) connect pin 2 of the prog connector to pin 9 of the Arduino. This takes care of disabling the SPI interface of the Ethernetshield during SRAM access.

Software

The SRAM9 library is an adaptation of the SRAM lib. The main changes are the that pin 9 is used to select the SRAM chip instead of the pin 10. Furthermore a few digital I/O statements have been changed. You can download the libray here: http://vanillamusic.vectrus.nl/arduino/download/SRAM9.zip

Share