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 hanger?

Other Parts Discussed in Thread: CC430F6137

Hi,

i am using the RTC in my application to generate a 10 seconds intervall. For this task i configure the RTC at the begin of my application like this:

RTCCTL01 = RTCTEVIE + RTCSSEL_0 + RTCTEV_1 + RTCHOLD;

So the RTC event interrupt is enabled, it uses ACLK(32 kHz) as source and generates an int at the 16 bit overflow of the counter register therefore every 2 seconds.

Then my application resets the counter register and starts the RTC

RTCNT12 = 0;
  RTCNT34 = 0;
  RTCCTL01 &= ~RTCHOLD;

After this the application doesnt change the registers of the RTC or accesses them in any way.The chip is in LPM3 most of the time waiting for the end of the 10 second intervall and and other interrupts like the radio int. It works fine for some time however after a while the RTC does not generate any interrupts anymore. The GIE is still active and even if i check the RTC register RTCCTL01 every 15 seconds by using timerA then it still has the same configuration all the time. TimerA uses ACLK too. Therefore i know that the clock is fine.

I use the CC430F6137 SoC. Does anybody have any idea whats going on?

Thank you for your help.



**Attention** This is a public forum