Content originally posted in LPCWare by curtvm on Fri Nov 19 12:39:11 MST 2010
You may want to also show what you do for the IOCON register and IRQ flag clearing.
I am using the timer capture, and it seems to work better with hysteresis on (I also am setting the the mode to repeater).
Maybe that rising edge is not so clean.