This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1230H6PM: PD2 interrupt not executing handler function

Part Number: TM4C1230H6PM
Other Parts Discussed in Thread: ADS1118, EK-TM4C123GXL

Hi,

I'm using TM4C1230H6PM and trying to trigger an interrupt from PD2. I have the interrupt handler setup in the startup file but, I tried using IntRegister too with no luck. The pin is connected to ADS1118 DOUT/DRDY pin and should go low when I pull down CS to indicate data is ready - This occurs when measured with scope but, interrupt isn't triggered. 

MAP_GPIOPinTypeGPIOInput(GPIO_PORTD_BASE, GPIO_PIN_2);
//MAP_IntDisable(INT_GPIOD);
MAP_GPIOIntDisable(GPIO_PORTD_BASE, GPIO_INT_PIN_2);
MAP_GPIOIntTypeSet(GPIO_PORTD_BASE, GPIO_PIN_2, GPIO_FALLING_EDGE);
MAP_GPIOIntClear(GPIO_PORTD_BASE, 0xFF);
//IntRegister(INT_GPIOD, PortDHandler);
MAP_IntPrioritySet(INT_GPIOD, 0);
MAP_IntEnable(INT_GPIOD);
MAP_GPIOIntEnable(GPIO_PORTD_BASE, GPIO_INT_PIN_2);

I verified the following:

1) Pin is actually registering low - GPIO_PORTD.GPIO_DATA[2] == 0

2) Interrupt is being registered by the GPIO peripheral and should be sent to the NVIC - GPIO_PORTD.GPIO_IM[2], GPIO_PORTD.GPIO_RIS[2], GPIO_PORTD.GPIO_MIS[2] == 1

3) NVIC_EN0[3], NVIC_DIS0[3], NVIC_PEND0[3], NVIC_UNPEND0[3], NVIC_ACTIVE0[3] == 1

Any suggestions on what could be wrong? Thanks.