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.

芯片msp430F5659的RTC_B的掉电保持功能

Other Parts Discussed in Thread: MSP430F5659

您好

因为需求需要,想实现msp430F5659再VCC掉电情况下的RTC时间保持功能。

问题①请问以下连接可行么,DVCC3 = 3.3V,VBAT = 2.7V。

       ②掉电前和掉电后每次读取是否需要加上这段代码

              while(BAKCTL & LOCKBAK)

              BAKCTL &= ~(LOCKBAK);

      ③是否需要掉电前必需设置为PM3.5模式,DVCC3恢复后系统就reset了吧。

谢谢

  • 1、这个电压可以的。具体可以看datasheet,有更多供电电压可以选择。

    2、这段代码是解锁xt1引脚的。如果用不到这个引脚可以不加这段代码。

    3、掉电前没必要进入pm3.5

  • 您好:

    谢谢您的回答。

    麻烦再问您一下。因为我这XT1接了一个32K晶振。

    1.掉电后RCT功能保持,如果中断没有关,还会发生中断么。如果发生那代码是以XT1的时钟频率运行么。

    2.掉电后RCT功能保持,耗电是多少呢。

    谢谢

  • 你可以看一下users guide 23.2.6 Real-Time Clock Operation in LPM3.5 Low-Power Mode章节,

    Also the configuration of the interrupts is stored so that the configured interrupts can cause a wakeup upon exit from LPM3.5.

  • 学习如何使用MSPWARE中提供的历程来帮助你快速开发,我们的例程功能还是蛮全的。

    你的功能可以参考这个历程

    msp430f665x_LPM35_RTC.c

x 出现错误。请重试或与管理员联系。