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.

MSP430F5510: MSP430F5510 RTC doesn't work.

Part Number: MSP430F5510

Dear All,

I have designed a PCB that has a XT1 external 32.768KHz crystal attached across XIN & XOUT.

I am trying to configure the RTC_A and to toggle P1.1 and P1.2  output every minute in software.

But RTC doesn't work. What's wrong?

Here is my code;

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
·#include <msp430f5510.h>
·#pragma vector = RTC_VECTOR· · · //RTC interrupt service
·__interrupt void TOG_min(void)
·{··
· · if(RTCTEVIFG == 1)·
· · {
· · · ·P1OUT ^= 0x06;
· · }
·}
int main(void)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

**Attention** This is a public forum