Datasheet

Software SPI is not as fast (maybe 1MHz max on an UNO), but you can switch pins around.
Begin
You can initialize the SPI interface and chip with begin()
fram.begin()
It will return true or false depending on whether a valid FRAM chip was found
Writing
Then to write a value, call
fram.writeEnable(true);
fram.write8(address, byte-value);
fram.writeEnable(false);
to write an 8-bit value to the address location
Later on of course you can also read with
fram.read8(address);
which returns a byte reading. For writing, you must enable writing before you send data to
the chip, its for safety! However you can write as much as you want between the
writeEnable calls
Block Protection
We dont cover how to protect subsections of the FRAM chip. It's covered a bit more inside
the Datasheet.
For advanced users, we have two functions to set/get the Status Register. IF you want to set
the status register dont forget that WP must be logical high!
uint8_t getStatusRegister();
setStatusRegister(uint8_t value);
© Adafruit Industries https://learn.adafruit.com/adafruit-spi-fram-breakout Page 15 of 17