1.1.2 Stuck in Interrupt
One issue which can occur is for the microcontroller to be stuck in an interrupt almost immediately after starting up. The cause of this issue is one of the following:
- A missing Interrupt Service Routine (ISR)
- Improperly enabled interrupt
- An ISR fails to clear the interrupt flag
- Incorrectly configured peripheral
This type of issue can only occur when the microcontroller is executing code. To check for this issue, interrupts can be globally disabled to see if the device starts up.