Question

I am using MSP430F5418 with IAR EW 5.10.

I am trying to output the RTCCLK signal from MSP's 29th pin with a frequency of 1Hz.

When I output the signal it is coming through the port.

But after I re-writing the RTC time, the signal stopped.

I tried to re-enable it, but it didn't worked.

Can anybody tell me what the reason is??

I am using the Work-around code provided by TI for setting RTC time.

My RTC configuration is:

RTCCTL01 |= RTCHOLD; 
RTCCTL01 |= RTCMODE + RTCTEV_0 + RTCRDYIE + RTCTEVIE; 
P2DIR |= BIT4; P2SEL |= BIT4; 
RTCCTL23 = RTCCALF1 | RTCCAL0;
RTCCTL01 &= ~(RTCHOLD); 
Was it helpful?

Solution

The RTC Calibration depends on the output of Pre-scalar timer

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top