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.

How is a typical application in the MSP430 FRAM microcontrollers ?

I have several questions:

I still not understand the use of the three memory segments. The SRAM memory is for data or code?
I read the manual, I understand the use of the access rights, but I have many doubts yet.

So, instead of asking many questions and confound, I prefer to know How is writen a typical aplication.

For example: I have a 30kB length program. In that program I have some non volatile variables, so I do not want to lose this data after power down the mcu. I have some functions, I have some interrupts routines.

Where I start the main code? Where I write my functions? Where I write my non volatile variables?, I mean, in a typical aplication.

Thank you very much. I am very interested in this microcontrollers but I need help getting started
  • (S)RAM is in principle for data but get lost after power down and FRAM (FLASH) for code.

    Above a certain processor speed FRAM works slower, in this case some very often or intense used functions can be copied from FRAM to RAM and executed from RAM.
    Data how must retain after power down can be stored in FRAM.

    When you go to the product page of your MCU you download here examples on how to do.

**Attention** This is a public forum