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.

MSP430FR5969: Port 1 interrupt

Part Number: MSP430FR5969
Other Parts Discussed in Thread: MSP-EXP430FR5969

Hello,

I have created a program with Port 1 interrupt in MSP30FR5969(MSP-EXP430FR5969) launch pad. I am using HFXT 12Mhz external clock, the program flow is whenever an input pin is pressed(port1 pin 5), it generates an interrupt and toggles(on/off) an led(port1 pin0) and after every 10th switching of input pin led from (Port4 pin6) should toggle and the count is made to 0. But the problem arises in hardware whenever the input pin is pressed (port1 pin 5) irrespective of the count both the led's glows and and switches off and sometimes led(port1 pin0) dosen't toggle even after the interrupt (port1 pin 5) has been generated.


But when I use debugger and keep breakpoint  inside the interrupt function and check, it works fine as I wanted it to. 

**Attention** This is a public forum