MC13213 IRQ Interrupt Trigger (Beekit)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC13213 IRQ Interrupt Trigger (Beekit)

1,100 Views
snaeth
Contributor I
1
Labels (1)
0 Kudos
1 Reply

203 Views
rocco
Senior Contributor II
Hi, Steve:

It could be a number of things. The first thing that comes to mind is that interrupts may have been disabled prior to the "wait" instruction. Besides waiting, the "wait" instruction also enables interrupts. Try replacing it with a "cli" instruction.

Also keep in mind that the "wait" only waits until an interrupt occurs, and will continue with your code after any ISR completes. So it may not be necessary to remove it.
0 Kudos