This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I've initialized timer B in Up mode and implemented TIMER0_B1_VECTOR ISR in order to intercept timer wrap-around.
I've placed a breakpoint in the ISR and notice that every time when the breakpoint is triggered, TBR slightly increase (3/4 counts) as if TBIFG never resets and constantly triggers the ISR.
The user guide mentions that "Any access, read or write, of the TBxIV register automatically resets the highest-pending interrupt flag. " which I don't see happening...
Thanks for any advise.
Note that my code is based on driverlib's sample "timer_b_ex2_overflowISR" (for MSP430FR2311).
The sample code does use TBIV (and not TB0IV as you suggested).
I'll give it a try shortly and report back.
THANKS
Hi ,
I have confirmed it is a typo error in code example. We will fix it and update. Thank you for reporting.
If my post helped solve your issue, please click on the VERIFY ANSWER button.
Winter,
Search E2E! Your questions may already be answered!
**Attention** This is a public forum