Additional GPIO interrupt detected at LPC11U24 GPIO pin

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by saraswathi on Fri Jun 07 07:18:28 MST 2013
I am working on LPC11U24 for reading the GPIO interrupt value. I have referred the sample code provided for LPCXpresso and configured the GPIO interrupt.
I have configured PIO1_20 as falling edge interrupt. When I get a interrupt at PIO1_20 pin(clock) I am reading the value at PIO1_22(data). I am doing this for capturing the SPI data.

But as soon as I enable the GPIO interrupt, I am getting one interrupt at PIO1_20 even though actual data has not available.

Can anyone help to findout why an additional interrupt is occurring as soon as GPIO interrupt is enabled?