SLAZ422J October 2012 – May 2021 MSP430G2302 , MSP430G2302-EP
TAB Module
Functional
Timer_A/Timer_B register modification after Watchdog Timer PUC
Unwanted modification of the Timer_A/Timer_B registers TACTL/TBCTL and TAIV/TBIV can occur when a PUC is generated by the Watchdog Timer(WDT) in Watchdog mode and any Timer_A/Timer_B counter register TACCRx/TBCCRx is incremented/decremented (Timer_A/Timer_B does not need to be running).
Initialize TACTL/TBCTL register after the reset occurs using a MOV instruction (BIS/BIC may not fully initialize the register). TAIV/TBIV is automatically cleared following this initialization.
Example code:
MOV.W #VAL, &TACTL
or
MOV.W #VAL, &TBCTL
Where, VAL=0, if Timer is not used in application otherwise, user defined per desired function.