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.

Real-time clock as calendar function

Other Parts Discussed in Thread: MSP430F5438

Hi, I'm doing an application with an MSP430F5439 where I need to use the RTC as calendar mode. I have configured it like this:

RTCCTL01 |=  RTCBCD + RTCHOLD + RTCMODE;

RTCYEAR = 0x2010; // Year = 0x2010
RTCMON = 0x4; // Month = 0x04 = April
RTCDAY = 0x05; // Day = 0x05 = 5th
RTCDOW = 0x01; // Day of week = 0x01 = Monday
RTCHOUR = 0x10; // Hour = 0x10
RTCMIN = 0x32; // Minute = 0x32
RTCSEC = 0x45; // Seconds = 0x45

RTCCTL01 &= ~(RTCHOLD); // Start RTC calendar mode

The clocks of the system are: MCLK = SMCLK = 16MHz and ACLK = 4MHz.

The problem is that is very fast (minutes pass like if they were seconds). 

How I can solve this?

Thanks you.

**Attention** This is a public forum