Datasheet

The test is fairly simple - It first verifies that the chip has been found. Then it reads the value
written to location #0 in the memory, prints that out and write that value + 1 back to location
#0. This acts like a restart-meter: every time the board is reset the value goes up one so
you can keep track of how many times its been restarted.
Afterwards, the Arduino prints out the value in every location (all 8KB!)
Library Reference
The library we have is simple and easy to use
Hardware vs Software SPI
You can create the FRAM object using software-SPI (each pin can be any I/O) with
Adafruit_FRAM_SPI fram = Adafruit_FRAM_SPI(FRAM_SCK, FRAM_MISO,
FRAM_MOSI, FRAM_CS);
or use hardware SPI
Adafruit_FRAM_SPI fram = Adafruit_FRAM_SPI(FRAM_CS);
which means the other 3 pins are the hardware SPI defined pins for your chip. Check the SPI
Reference page for details on which pins are which for your Arduino! (http://adafru.it/d5h)
Hardware SPI is faster (the chip can handle up to 20MHz), but you have to use fixed pins.
© Adafruit Industries https://learn.adafruit.com/adafruit-spi-fram-breakout Page 14 of 17