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.

MSP432P401R: MSP432 Timer infinitely interrupting when stepping through debugging

Part Number: MSP432P401R

Hi all,

I'm working on a project with the MSP432 and I've gotten the TimerA0 and TimerA1 modules to generate interrupts simultaneously at different frequencies. At some point last week in my development, something must have happened and now whenever I debug step through the code, I get into the TimerA1 interrupt and never get out of it. Rather, it interrupts, finshes it, clearing any and every flag related to the TimerA0, then it exits, and immediately goes back to the top of the interrupt and starts again. This happens forever when I'm stepping through it.

The strange thing is that when I free-run the code, I can see it working at the right frequency when I XOR an I/O pin and look at it on the oscilloscope. And what frustrates me even further is that I've made sure that the buttons to Disable Interrupts for Single-Stepping in the Project Properties is selected. I've been trying different things with my code and nothing is fixing this.

I believe this started when I moved the code to a PCB we made for the project. I've been prototyping this same code on the red Eval-board for the MSP432. I've been trying to think if something on the board could be affecting this, but I don't have any ideas. This problem is seriously impeding my ability to debug code, though I think the code may still work when its running without the debugger.

If anyone's seen this problem before and know of something I may be missing I'd really appreciate the help. 

Thanks,

**Attention** This is a public forum