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.

RTC issue wit MSP430f6766

Other Parts Discussed in Thread: MSP430F6766

Hi, 

I am using MSP430f6766 and trying to get the RTC (RTC_CE) value on the LCD. I could able to display the RTC values (time ,date, month and year)

properly. However when I am turning off  the system (Power off state) the RTC is not updating. It resumes from the last time it turned off.

My battery is connected to "AUXVCC3" pin of the controller and used the code snippet below to configure auxiliary vcc control register  AUX3CHCTL.

AUX3CHCTL = AUXCHKEY | AUXCHC_1 | AUXCHV_1 | AUXCHEN;  // Enable Charger for AUX3 to enable RTC.

Can any one help me to configure the battery back up for the RTC. ( strange observation is out of 8 prototype  boards some boards retains RTC values sometimes but not consistent )

Can any one help me to solve the issue.

Thanks in advance,

  • Hello Anand,

    Have you seen the following TI-Design? www.ti.com/.../tidm-aux-module

    It goes throw many different configurations of the AUX Module and RTC and provides examples.

    Regards,
    JH
  • Hi Jace

    Thanks for reply,

    I am using similar settings but only for Rtc I am giving battery backup(Auxvcc3). I am afraid the code is not working as intended. I have crosschecked in example codes didn't get anything mutch as they are like my very program. I have gone through user manual but couldn't find anything really clarifying my doubts. Is the PMM related to this ? If so how can I set proper PMM here . data sheet us little confusing here

  • Hello Anand,

    How do you have your power rails setup? Please be sure to match the very same power setup as the TI Designs gives examples for. The AUX module can get confusing and any difference you have changes the register settings needed. This is why I suggest taking a second look at the TI Design and try to match up the same exact situation as your application. The settings in the corresponding example should have the correct settings you need to operate the RTC.

    Please also see the following E2E posts for more troubleshooting.

    e2e.ti.com/.../450056
    e2e.ti.com/.../1667081

    Regards,
    JH

**Attention** This is a public forum