Component: FRAM MB85RC (EEPROM)
From Flowcode Help
| Author | Matrix TSL |
| Version | 1.0 |
| Category | EEPROM |
Contents
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
Error creating thumbnail: Unable to save thumbnail to destination
|
DisableWriteProtect |
| Disables write protection on the FRAM device. Returns error code: 0=success | |
Error creating thumbnail: Unable to save thumbnail to destination - BYTE
|
Return |
EnableWriteProtect
Error creating thumbnail: Unable to save thumbnail to destination
|
EnableWriteProtect |
| Enables write protection on the FRAM device. Returns error code: 0=success | |
Error creating thumbnail: Unable to save thumbnail to destination - BYTE
|
Return |
EraseDevice
Error creating thumbnail: Unable to save thumbnail to destination
|
EraseDevice |
| Erases the entire FRAM device by writing zeros to all memory locations. Returns error code: 0=success, 1-4=error | |
Error creating thumbnail: Unable to save thumbnail to destination - BYTE
|
Return |
Initialise
Error creating thumbnail: Unable to save thumbnail to destination
|
Initialise |
| Initializes the I2C interface and prepares the FRAM device for operation. Returns error code: 0=success, 1-4=error | |
Error creating thumbnail: Unable to save thumbnail to destination - BYTE
|
Return |
Read
Error creating thumbnail: Unable to save thumbnail to destination
|
Read |
| Reads a single byte from the specified FRAM address. Returns the byte value read, or 0xFF on error. | |
Error creating thumbnail: Unable to save thumbnail to destination - ULONG
|
Address |
| Memory address to read from | |
Error creating thumbnail: Unable to save thumbnail to destination - BYTE
|
Return |
ReadFloat
Error creating thumbnail: Unable to save thumbnail to destination
|
ReadFloat |
| Reads a 32-bit floating point value (FLOAT) from the specified FRAM address. Returns the float value read, or 0.0 on error. | |
Error creating thumbnail: Unable to save thumbnail to destination - ULONG
|
Address |
| Memory address to read from | |
Error creating thumbnail: Unable to save thumbnail to destination - FLOAT
|
Return |
ReadInt
Error creating thumbnail: Unable to save thumbnail to destination
|
ReadInt |
| Reads a 16-bit signed integer (INT) from the specified FRAM address. Returns the integer value read, or 0 on error. | |
Error creating thumbnail: Unable to save thumbnail to destination - ULONG
|
Address |
| Memory address to read from | |
Error creating thumbnail: Unable to save thumbnail to destination - INT
|
Return |
ReadLong
Error creating thumbnail: Unable to save thumbnail to destination
|
ReadLong |
| Reads a 32-bit signed integer (LONG) from the specified FRAM address. Returns the long value read, or 0 on error. | |
Error creating thumbnail: Unable to save thumbnail to destination - ULONG
|
Address |
| Memory address to read from | |
Error creating thumbnail: Unable to save thumbnail to destination - LONG
|
Return |
ReadPage
Error creating thumbnail: Unable to save thumbnail to destination
|
ReadPage |
| Reads multiple bytes starting from the specified address. Returns number of bytes read, or 0 on error. | |
Error creating thumbnail: Unable to save thumbnail to destination - ULONG
|
Address |
| Starting memory address | |
Error creating thumbnail: Unable to save thumbnail to destination - BYTE
|
Data |
| Buffer to store read data | |
Error creating thumbnail: Unable to save thumbnail to destination - UINT
|
Count |
| Number of bytes to read | |
Error creating thumbnail: Unable to save thumbnail to destination - UINT
|
Return |
Write
Error creating thumbnail: Unable to save thumbnail to destination
|
Write |
| Writes a single byte to the specified FRAM address. Returns error code: 0=success, 1-4=error | |
Error creating thumbnail: Unable to save thumbnail to destination - ULONG
|
Address |
| Memory address to write to | |
Error creating thumbnail: Unable to save thumbnail to destination - BYTE
|
Data |
| Byte value to write | |
Error creating thumbnail: Unable to save thumbnail to destination - BYTE
|
Return |
WriteFloat
Error creating thumbnail: Unable to save thumbnail to destination
|
WriteFloat |
| Writes a 32-bit floating point value (FLOAT) to the specified FRAM address. Returns error code: 0=success, 1-4=error | |
Error creating thumbnail: Unable to save thumbnail to destination - ULONG
|
Address |
| Memory address to write to | |
Error creating thumbnail: Unable to save thumbnail to destination - FLOAT
|
Data |
| Float value to write | |
Error creating thumbnail: Unable to save thumbnail to destination - BYTE
|
Return |
WriteInt
Error creating thumbnail: Unable to save thumbnail to destination
|
WriteInt |
| Writes a 16-bit signed integer (INT) to the specified FRAM address. Returns error code: 0=success, 1-4=error | |
Error creating thumbnail: Unable to save thumbnail to destination - ULONG
|
Address |
| Memory address to write to | |
Error creating thumbnail: Unable to save thumbnail to destination - INT
|
Data |
| Integer value to write | |
Error creating thumbnail: Unable to save thumbnail to destination - BYTE
|
Return |
WriteLong
Error creating thumbnail: Unable to save thumbnail to destination
|
WriteLong |
| Writes a 32-bit signed integer (LONG) to the specified FRAM address. Returns error code: 0=success, 1-4=error | |
Error creating thumbnail: Unable to save thumbnail to destination - ULONG
|
Address |
| Memory address to write to | |
Error creating thumbnail: Unable to save thumbnail to destination - LONG
|
Data |
| Long value to write | |
Error creating thumbnail: Unable to save thumbnail to destination - BYTE
|
Return |
WritePage
Error creating thumbnail: Unable to save thumbnail to destination
|
WritePage |
| Writes multiple bytes starting from the specified address. Returns number of bytes written, or 0 on error. | |
Error creating thumbnail: Unable to save thumbnail to destination - ULONG
|
Address |
| Starting memory address | |
Error creating thumbnail: Unable to save thumbnail to destination - BYTE
|
Data |
| Buffer containing data to write | |
Error creating thumbnail: Unable to save thumbnail to destination - UINT
|
Count |
| Number of bytes to write | |
Error creating thumbnail: Unable to save thumbnail to destination - UINT
|
Return |
Property reference
Error creating thumbnail: Unable to save thumbnail to destination
|
Properties |
Error creating thumbnail: Unable to save thumbnail to destination
|
Device Settings |
Error creating thumbnail: Unable to save thumbnail to destination
|
Device Address |
| I2C device address bits (A2, A1, A0). Default is 0x50 (0b1010000). For 1M devices, use two component instances with addresses ending in 0 and 1. | |
Error creating thumbnail: Unable to save thumbnail to destination
|
Device Type |
| Select the FRAM device type | |
Error creating thumbnail: Unable to save thumbnail to destination
|
Memory Size (bytes) |
| Calculated memory size based on device type | |
Error creating thumbnail: Unable to save thumbnail to destination
|
Address Bits |
| Number of address bits for selected device | |
Error creating thumbnail: Unable to save thumbnail to destination
|
Connections |
Error creating thumbnail: Unable to save thumbnail to destination
|
Channel |
| Channel selection | |
Error creating thumbnail: Unable to save thumbnail to destination
|
SDA |
| Pin used for SDA (data signal) | |
Error creating thumbnail: Unable to save thumbnail to destination
|
SDA Remap Pin |
Error creating thumbnail: Unable to save thumbnail to destination
|
SCL |
| Pin used for SCL (clock signal) | |
Error creating thumbnail: Unable to save thumbnail to destination
|
SCL Remap Pin |
Error creating thumbnail: Unable to save thumbnail to destination
|
Stop Delay |
| On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not a 10ms delay between an I2C stop event and the next I2C start event. | |
Error creating thumbnail: Unable to save thumbnail to destination
|
Baud Select |
| Baud rate option selector | |
Error creating thumbnail: Unable to save thumbnail to destination
|
Baud Rate |
| Baud rate to be used | |
Error creating thumbnail: Unable to save thumbnail to destination
|
Simulation |
Error creating thumbnail: Unable to save thumbnail to destination
|
Scope Traces |
| Selects if the scope traces are automatically generated or not | |
Error creating thumbnail: Unable to save thumbnail to destination
|
Console Data |
| Selects if the console data is automatically generated or not | |
Error creating thumbnail: Unable to save thumbnail to destination
|
API |
| Specifies the API component on the panel to interact with to provide comms simulation. | |
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