Part Number: MSP430FR2676
Hello,
I am working on a project that is very low power, but needs a fairly accurate 10ms timer interrupt. Most of the micro controller's time will be spend in low power mode 3, but this system timer still fires each 10ms and increments a variable to track relative time.
I am using timer A with an external 32.768 KHz clock source divided by 1.
The compare value I am using is 328, which is actually generates a 10.009765625 ms interrupt instead of 10.0 ms. This slight difference in accuracy due to resolution of the timer is causing a stackup of "drift" from actual run time.
Is there a better way to achieve a 10.0 ms system interrupt or system runtime tracker without sacrificing low current consumption that I am able to achieve with the 32.768kHz clock?