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.

[参考译文] MSP430FR6047:FRAM 存储器读取功能

Guru**** 2390965 points
Other Parts Discussed in Thread: MSP430FR6047

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1057188/msp430fr6047-fram-memory-read-function

器件型号:MSP430FR6047

您好!

  我将 MSP430FR6047用于数据记录。 我已经为数据记录分配了大约50KB 的 FRAM 存储器。 基本上,我可以使用 framctl.c 库将数据写入 FRAM 存储器。 我找不到任何读取函数。

现在、我必须读取一些特定存储器位置数据的 FRAM 存储器。 库中提供了任何读取函数。 如果库不可用、您可以建议我如何读取 FRAM 存储器。

我需要读取 FRAM 存储器的特定段。(如整个512Bytes)。

提前感谢

Ajay Matariya

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您可以将数组定义到 FRAM 中、并可以通过数组读取和写入数据。 在 fram 中定义数组、如下所示

    #pragma PERSISTENT (FLAG[10])

    unsigned int flag[10]= 0;