- assigned_to: nobody --> vlahan
The problem affects the file Msp430AlarmC.nc
The problem is caused by bug TB2 listed on the MSP430F1611 device errata sheet http://focus.ti.com/lit/er/slaz018a/slaz018a.pdf
The primary effect of this bug has been handled by TinyOS already. However, there is a secondary effect that has not been covered.
If the compare register is set to a value of N, at the same instant as the timer increments from N-2 to N-1, there is a possibility of an interrupt caused by a spurious match between the compare and timer registers. There is already an interrupt clear to handle this, but as a result of bug TB2, the intended interrupt when the timer increments to N will not occur.
One workaround is to change Msp430AlarmC.nc so that the compare register is always set to a minimum of 3 increments beyond the timer register rather than 2.
Chris Butler
chris.butler@lo-q.com