Skip to Content
Block descriptionsFRAMFRAM Setup

FRAM Setup Block Description

This block is used for the initial configuration and initialization of an external non-volatile Ferroelectric Random Access Memory (FRAM) chip controlled via the SPI interface.



FRAM Setup block

Table of Contents

Inputs

This block does not have any inputs.

Outputs

Output NameTypeDescription
Statusuint8Outlines the final execution status of the FRAM memory chip initialization sequence:
1 – initialization completed successfully
0 – initialization error, SPI communication failure, or transaction timeout

Block Parameters

ParameterDescription
FRAM TypeSelection of the family series or specific model of the target FRAM memory chip.
InterfaceSelection of the communication interface standard (default fixed to SPI).
Interface numberSpecifies the hardware instance identifier index of the SPI peripheral embedded on the MCU.
Chip Select PortThe GPIO port group letter designated for the active-low slave select signal (Chip Select).
Chip Select PinThe physical hardware pin number belonging to the chosen Chip Select Port.
Hold Pin EnabledEnrolling this option activates hardware support for the communication hold sequence signal pin (HOLD).
Hold PortConditional parameter
The GPIO port group letter designated for the communication hold sequence line. This parameter is accessible only when the Hold Pin Enabled option is active.
Hold PinConditional parameter
The physical hardware pin number belonging to the chosen Hold Port. This parameter is accessible only when the Hold Pin Enabled option is active.
WP Pin EnabledEnrolling this option activates hardware support for the physical hardware write-protect protection pin (WP / Write Protect).
WP PortConditional parameter
The GPIO port group letter designated for the write protection signal line. This parameter is accessible only when the WP Pin Enabled option is active.
WP PinConditional parameter
The physical hardware pin number belonging to the chosen Write Protect Port. This parameter is accessible only when the WP Pin Enabled option is active.
Memory sizeThe overall storage capacity volume size of the memory unit defined by the structural scales in the Memory size unit field.
Memory size unitThe discrete mathematical capacity scale configuration standard unit of measurement.
Sample time [s]Specifies the software cyclic refresh execution update interval for the block.
Timeout [ms]The maximum duration in milliseconds allowed for the hardware SPI driver transaction query to complete before throwing an error.


Parameters for FRAM Setup block

CubeMX Configuration for a Given MCU Model

To configure CubeMX for a given microcontroller model, you must set up the SPI interface according to the provided instructions.

See Also

Last updated on