This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

beginner , general FRAM memory question

just to understand it correectly

 

FRAM can hold both code data (flash) and program data (ram)

for example, if I need bigger array in my code I can modify this FRAM to be more ram (data)  than flash (code), correct?

if I want to save configuration data like doing in EEPROM I can use the FRAM code section (the flash like)?

SRAM in FRAM MCU used for caching and is transparent to programmer, correct?

 

thanks

  • Natanel,

     

    Sorry it took a little while to respond.  The answer is yes, FRAM can function similar to both Flash and RAM.  This is because it is entirely non-volatile (doesn't lose storage when no power is applied) like Flash, while also being fast and dynamically addressable like RAM. 

    There is an easy way to understand how to partition code, and you can see it on this Wiki.  http://processors.wiki.ti.com/index.php/MSP430_FR57xx_Training_Workshop

    Lab 2 should help you to set up the memory partitioning and understand the way to select your memory sections easily using the MPU registers.

    Also, you can treat your FRAM like EEPROM, or as secure storage only.  The three permissions for FRAM work like this:

    Write - Fully open and can be written to or just read.

    Executeable - Can be run from (like Flash)

    Read - Read only, as a secure piece of stored memory.

     

    Yes, the cache is transparent to the user.  However, it is not in SRAM, it is contained in register memory on the device.  You still have the full 1K SRAM to work with.

    Thanks,

    Jacob

**Attention** This is a public forum