Component: FRAM MB85RC (EEPROM): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
||
| Line 30: | Line 30: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisableWriteProtect''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisableWriteProtect''' | ||
|- | |- | ||
| Line 44: | Line 44: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''EnableWriteProtect''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''EnableWriteProtect''' | ||
|- | |- | ||
| Line 58: | Line 58: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''EraseDevice''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''EraseDevice''' | ||
|- | |- | ||
| Line 72: | Line 72: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialise''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialise''' | ||
|- | |- | ||
| Line 86: | Line 86: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Read''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Read''' | ||
|- | |- | ||
| Line 105: | Line 105: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadFloat''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadFloat''' | ||
|- | |- | ||
| Line 124: | Line 124: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadInt''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadInt''' | ||
|- | |- | ||
| Line 143: | Line 143: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadLong''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadLong''' | ||
|- | |- | ||
| Line 162: | Line 162: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadPage''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadPage''' | ||
|- | |- | ||
| Line 191: | Line 191: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Write''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Write''' | ||
|- | |- | ||
| Line 215: | Line 215: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WriteFloat''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WriteFloat''' | ||
|- | |- | ||
| Line 239: | Line 239: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WriteInt''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WriteInt''' | ||
|- | |- | ||
| Line 263: | Line 263: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WriteLong''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WriteLong''' | ||
|- | |- | ||
| Line 287: | Line 287: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WritePage''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WritePage''' | ||
|- | |- | ||
Revision as of 14:17, 13 July 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | EEPROM |
FRAM MB85RC component
I2C Ferroelectric Random Access Memory (FRAM) component for Fujitsu MB85RC and Cypress FM24/CY15B series devices. Supports 4K to 1M devices. Based on FRAM_MB85RC_I2C Arduino library.
Detailed description
No detailed description exists yet for this component
Examples
Here's a simple file to test the functionality of the FRAM device.
Macro reference
DisableWriteProtect
| DisableWriteProtect | |
| Disables write protection on the FRAM device. Returns error code: 0=success | |
| Return | |
EnableWriteProtect
| EnableWriteProtect | |
| Enables write protection on the FRAM device. Returns error code: 0=success | |
| Return | |
EraseDevice
| EraseDevice | |
| Erases the entire FRAM device by writing zeros to all memory locations. Returns error code: 0=success, 1-4=error | |
| Return | |
Initialise
| Initialise | |
| Initializes the I2C interface and prepares the FRAM device for operation. Returns error code: 0=success, 1-4=error | |
| Return | |
Read
| Read | |
| Reads a single byte from the specified FRAM address. Returns the byte value read, or 0xFF on error. | |
| Address | |
| Memory address to read from | |
| Return | |
ReadFloat
| ReadFloat | |
| Reads a 32-bit floating point value (FLOAT) from the specified FRAM address. Returns the float value read, or 0.0 on error. | |
| Address | |
| Memory address to read from | |
| Return | |
ReadInt
| ReadInt | |
| Reads a 16-bit signed integer (INT) from the specified FRAM address. Returns the integer value read, or 0 on error. | |
| Address | |
| Memory address to read from | |
| Return | |
ReadLong
| ReadLong | |
| Reads a 32-bit signed integer (LONG) from the specified FRAM address. Returns the long value read, or 0 on error. | |
| Address | |
| Memory address to read from | |
| Return | |
ReadPage
Write
| Write | |
| Writes a single byte to the specified FRAM address. Returns error code: 0=success, 1-4=error | |
| Address | |
| Memory address to write to | |
| Data | |
| Byte value to write | |
| Return | |
WriteFloat
WriteInt
WriteLong
WritePage
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_FRAM_MB85RC.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_FRAM_MB85RC.fcfx