How to read fram data using Arduino

I am looking for sample code. Where Arduino used as master and Fram as slave. Both are communicate using spi protocol.
Can someone suggest me sample code to read content using spi and display serially.
I just want to read content of any Fram ic

which fram are you useing?
have a look at arduino fram

You cannot read any FRAM ic with SPI. Several variations do not communicate via SPI, some are I2C and parallel and some are mixed. Also they are not all pinned out the same either. Look at this library: Arduino Test | Adafruit SPI FRAM Breakout - 2 or 4 Mbit | Adafruit Learning System it should do what you want.

Since you want both the FRAM and Display on the SPI bus, each will have to have a seperate CS\ (Chip Selects). The next thing you need to do is generate a schematic, not a useless frizzy picture showing your proposed circuit. Be sure it shows all connections including power and ground. As you have problems with the code post it per forum instructions</>

Is there any alternate way to read the content of FRAM? like SPI reader or any software that can give me the output. link
I need some Generic function to read data inside.

Arduino Uses Master and FRAM as Slave. There is only one slave.

there is only one slave at at a time selected using the CS (chip select) - you can many SPI devices connected so long as you have sufficient CS pins
do a web search for arduino FM25W256, e.g. the SPI RAM (SRAM, FRAM, EEPROM) library appears to support the FM25W256 fram

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.