I have a strange bug in code that was once working, i've been scratching my head for about a days work of work trying to figure this out.
Anyway, I use PTA4, (can be _NMI, but I only what falling edge triggers) as a falling edge interrupt, it will be used to wake from sleep, but for debug purposes I'm just printing out if the interrupt fires.
Set up does the following:
PORT_SetPinMux(PORTA, 4U, kPORT_MuxAsGpio);
PORT_SetPinInterruptConfig(PORTA, 4, kPORT_InterruptFallingEdge);
... I've probed the line, the signal that should trigger the irq is happening. If I configure the pin for nmi, nmi does trigger, but since the signal can stay low for extended time, it triggers way to many irq's. I've also done follow up configuring the pin as GPIO input for good measure, but that doesn't make a difference seemingly. I really need this pin to trigger on falling edge only.
Thanks for any help!