SLAZ441K March 2013 – May 2021 MSP430G2955
TAB Module
Functional
Reading TxIV register using a CMP instruction could result in a missed interrupt
If more than one capture/compare interrupt flags (TxCCTLx.CCIFG) are set and if a CMP instruction is used to read the TxIV register when servicing the interrupt, all flags may be erroneously cleared instead of just the highest priority pending CCIFG. Following this the TxIV register reads a value of 0 and the application could miss a valid interrupt.
Do not use the CMP instruction to read the TxIV register. Instead use the ADD instruction. For example add.w &TAIV,PC