lpcware

LPC1768 GPIO Interrupt Triggers when enabled

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by dev2. on Tue Oct 13 01:13:34 MST 2015
Hi,

I have a requirement where I need to turn on/off GPIO interrupts during certain events in my application. Requirement is to monitor both Falling/Rising edges when this interrupt is enabled.

Each time GPIO interrupt is enabled in IO0IntEnR/IO0InENF register, I get one Rising/Falling edge interrupt trigger even though there is no transition in the input. This happens only the first time, after which interrupt works as expected.

Any pointers on what could be the reason for this behavior?

Regards,
Sam

Outcomes