SLAZ308AD October 2012 – May 2021 MSP430F5522
TAB Module
Functional
TAxR/TBxR read can be corrupted when TAxR/TBxR = TAxCCR0/TBxCCR0
When a timer in Up mode is stopped and the counter register (TAxR/TBxR) is equal to the TAxCCR0/TBxCCR0 value, a read of the TAR/TBR register may return an unexpected result.
1. Use 'Up/Down' mode instead of 'Up' mode
OR
2. In 'Up' mode, use the timer interrupt instead of halting the counter and reading out the value in TAxR/TBxR
OR
3. When halting the timer counter in 'Up' mode, reinitialize the timer before starting to run again.