TS-7120 FRAM: Difference between revisions

From embeddedTS Manuals
(Created page with "The TS-7120 has 16Kbit ferroelectric random access memory (FRAM) organized as 2KB. It is accessible via the SPI bus. The FRAM may be accessed from userspace. It will appear...")
 
(Formatting normalization)
 
Line 1: Line 1:
The TS-7120 has 16Kbit ferroelectric random access memory (FRAM) organized as 2KB.  It is accessible via the SPI bus.
=== SPI FRAM ===
{{:FM25L16B_FRAM}}


The FRAM may be accessed from userspace.  It will appear as an EEPROM at (typically): '''/sys/class/spi_master/spi32766/spi32766.0/eeprom'''
The EEPROM file can be found at <source inline>/sys/class/spi_master/spi32766/spi32766.0/eeprom</source>, and should be accessed like a normal file to write and read data in the FRAM.
 
Note that the exact filename under '''/sys/class/spi_master/''' might be different from the above.
 
The [http://www.cypress.com/file/136516/download datasheet] is available from Cypress Semiconductors' website.

Latest revision as of 15:27, 19 October 2021

SPI FRAM

This platform supports a soldered-down, non-volatile Ferroelectric RAM (FRAM) device. The Cypress FM25L16B is a 2 KiB FRAM device in a configuration not unlike an SPI EEPROM. The nature of FRAM means it is non-volatile, incredibly fast to write, and is specified with 100 trillion read/write cycles (per each of the 256 sequential 8 byte rows) with a 150 year data retention at temperatures below 65 °C. The device is connected to Linux and presents itself as a flat file that can be read and written like any standard Linux file.

The EEPROM file can be found at /sys/class/spi_master/spi32766/spi32766.0/eeprom, and should be accessed like a normal file to write and read data in the FRAM.