Tool/software: TI C/C++ Compiler
Following the somewhat abbreviated code examples in MSP430 training chapter 8 (RTC), and the code snippet in the Driverlib documentation I have been able to successfully implement the RTCcalendar alarm on FR6989 launchpad, however there are a couple of things that are confusing to me going forward. Can someone explain:
1. Is it necessary to enable the read ready interrupt, time event interrupt as well as the clock alarm interrupt if I only want an interrupt on the alarm? If so why didnt driverlib wrap them into one predefined constant since that would imply that they all three would be used any time an alarm is set.
and related to that
2. When following the examples mentioned above for caIendar alarm I seem to be getting a prescale interval interrupt (RTCEVIFG) on about a 1 sec period as well as calendar interrupt (RTCAIFG) as intended. I know I can ignore the RTCEVIFG but I'm wondering if it is supposed to happen, and if so curious as to why.
I can include my code if needed, however it will take a while to strip out all of the extraneous stuff and the RTC section is essentially a copy of the driverlib example so Im hoping this description will suffice.
Thanks!