请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:MSP430FR5972 您好,
我使用的 MSP430FR5972的 FRAM 大小为64K、现在我想存储 RTC 时间(长度为4字节)、那么有人能告诉我 FRAM 在此 MCU 中的起始位置是什么。
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.
您好,
我使用的 MSP430FR5972的 FRAM 大小为64K、现在我想存储 RTC 时间(长度为4字节)、那么有人能告诉我 FRAM 在此 MCU 中的起始位置是什么。
[引用 user="PK U"]但004400h - 013FFFh 为62K,其中为2K [/引用]
13FFFh 为81、919 d
4400h 为17、408d
如果从上面减去下面的值、就会得到
81919 - 17408 = 64、511
您必须添加1、因为起始和结束包含在范围内、因此您有64、512个字节。
如果您将其除以1024、您将得到
64、512 / 1024 = 63k
无字节丢失。