Hi. I have an application in which the uc will generate an interrupt after 3 weeks. Im using MSP430f5438a for this. For testing i have set 3 days for interrupt but it generates the interrupt before 7 hours then the set time. What im doing wrong?
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.
Hi. I have an application in which the uc will generate an interrupt after 3 weeks. Im using MSP430f5438a for this. For testing i have set 3 days for interrupt but it generates the interrupt before 7 hours then the set time. What im doing wrong?
The title of the thread suggest that the RTC_A module in the MSP430F5438A is being used to generate the interrupt.
The "normal" use case for the RTC_A module is to have ACLK sourced from a 32768 Hz crystal connected to XT1 in LF mode, and the RTC_A module clock source to be ACLK.
If ACLK is being sourced from XT1 in LF mode and an oscillator fault occurs, ACLK is automatically switched to the REFO for its clock source. The REFO absolute tolerance calibrated over the full temperature range is ±3.5%. i.e. even if REFO was used as the clock source for ACLK and the RTC_C, that doesn't explain the observed 10% timing error.
Can you clarify how the interrupt is being generated, and the clock source for the timer which generates the interrupt.
**Attention** This is a public forum