lpcware

spurious interrupt?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by ToBeFrank on Sun Aug 07 20:49:25 MST 2011
I've got a situation where an interrupt is firing where it has nothing to do, and I don't understand why. The following link shows the interrupts:

[IMG]http://knowledgebase.nxp.com/attachment.php?attachmentid=522&stc=1&d=1312775162[/IMG]

The yellow trace shows the entry and exit of the IRQ handler. The green trace is the entry and exit of each interrupt bit I am handling in the IRQ handler. As you can see, two interrupt bits are set the first time the IRQ handler is called, one bit the second time and none the third time. Why would the IRQ be called if there are no interrupts to handle? Note that this doesn't cause me any problems, I'd just like to understand why this is happening. Also note that this doesn't happen every time this IRQ is called, just occasionally.

I'm using a LPC11C24.

Outcomes