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.

Compiler/CC3200-LAUNCHXL: RTC Alarm interrupt

Part Number: CC3200-LAUNCHXL

Tool/software: TI C/C++ Compiler

Hi,

    I am  using CC3200, here I have to get  RTC interrupt for every 10 sec, but  i am getting 10 sec interrupt for first iteration, after that i am getting RTC interrupt on every tick RTC count, is there any API to clear the RTC interrupt in RTC Interrupt handler and set interrupt for next 10 sec interval? 

I have used below code for RTC initialization:

MAP_PRCMRTCInUseSet();
PRCMRTCSet(1599799987,0);
PRCMIntRegister(RTC_Handler);
MAP_PRCMRTCGet((unsigned long*) &secs, &msecs);
secs= secs + 10;
PRCMRTCMatchSet(secs, 0);

PRCMIntEnable(PRCM_INT_SLOW_CLK_CTR);

 

Thanks,

Nagaraj