LPC2364 GPIO Interrupt Problem

Hello all, I am trying to use a falling edge GPIO interrupt on P0.11.

I setup the pin as an input and have tested it as such and it seems to work fine.

PINSEL0 &= 0xFF3FFFFF;
PINMODE0 &= 0xFFBFFFFF;

// Set the pins to be GPIO inputs.
FIO0DIR1 &= 0xF7; // 11110111

I also setup the IO0_INT_EN_F to enable the falling edge interrupt.

IO0_INT_EN_F &= 0x800;

Also then load and enable the VIC channel. I see in the docs that EINT3 - channel 17 - is shared with GPIO interrupts.

VICVectAddr17 = (uint32)eint3_int;
VICIntEnable = (1 << 17);

Inside eint3_int I toggle an LED, clear the interrupt flag, and clear the VIC address register.

When I put a signal on P0.11 I never get any interrupt out of it. Signal looks good, 100us square pulse.

I threw a test bit of code to set the soft int in another timer routine - when I have a breakpoint in my ISR I repeatedly hit it as expected, but never with just the signal.

I am wondering if anyone else has used a GPIO interrupt in this fashion and had success? I can't find anything relating to this problem with the LPC23xx - but there are some issues for the other LPC21/22xx series having to do with order, etc. Could one of these things be an issue here as well?

Thanks in advance for any advice on this issue.

More questions in this forum