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.
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,
Thanks for the reply.
I have it set up to be a 1ms timer.
Yeah, I get this problem from time to time, but I can't seem to remember what I've done to get around it.
Thanks,
Lunatic911 said:
So you shall take closer look at debug interface or debugger in general, options/settings.
Hi Lunatic911 (4049685) ,
I cannot assure it will help you at all but I had some valuable info from TI regarding MSP432 interrupts in some of my old threads, which I do not even remember but I post here. Hope they help you in some way! Bye!
MSP432 P3.3 IRQ when NOT debugging - MSP low-power microcontroller forum - MSP low-power microcontrollers...
Debugging and understanding MSP432 pcm_go_to_lpm3 example - MSP low-power microcontroller forum - MSP...
**Attention** This is a public forum