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.
Dear TI-Team!
Right now I am working with the MSP430FR5994. This uC has a MPU which allows me to divide the FRAM in 3 segments. The lowest segment contains my code. The second segment is empty and the third segment contains the data that I want to be saved even after power down and after changing my code. In the code composer studio under properties-debug-MSP430 Flash Settings- Erase Options I chose "erase and download necessary segments only". This means that I can still keep the data stored in the third segment, although configuring the code from the first segment.
Now I want to exchange the MSP320FR5994 by a cheaper microcontroller.
Do you have an alternative for the MSP430FR5994? Besides the FRAM-segmentation I need JTAG, SPI and UART
Thanks a lot!
Hi Anna,
I would checkout similar parts with pin to pin options such as MSP430FR5992, MSP430FR59941, MSP430FR5964, MSP430FR5962.
How much FRAM and SRAM are you looking for? I may be able to find cheaper options.
regards,
Henok
Hi Henok!
I need a FRAM-based non-volatile-memory with minimum 4KB RAM and minimum 16KB FRAM. If your task was to save data permanently and still be able to configure the code
-> would you also do the same like me (use different FRAM-segments for code and data and choose properties-debug-MSP430 Flash Settings- Erase Options- "erase and download necessary segments only" in the code composer studio)?
Thanks a lot!
Anna
Hi Anna,
Okay I think MSP430FR5992 or MSP430FR5962 are good options if you need more than 1KB RAM.
Let me take some time to dig into this and I'll get back to you.
Here is a good TI training vide on MPU in case you haven't seen it yet: https://training.ti.com/msp430-fram-microcontrollers-memory-protection-unit-mpu
regards,
Henok
Hi Anna,
It sounds like what you are doing is okay.
The compiler automatically segments the FRAM in the most optimized way when CCS is set with a target device that has MPU feature (the default settings in the video shown above) but you can change this manually.
I would reference these 2 user guides:
MSP Code Protection Features --> This is the complete guide
MSP430 Optimizing C/C++ Compiler v21.6.0.LTS --> here you can learn about how to use pragmas if you want even more flexibility with saving data for specific registers.
regards,
Henok
**Attention** This is a public forum