Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

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.

CCS/TMDSEVM572X: DSP interrupts do not trigger

Part Number: TMDSEVM572X

Tool/software: Code Composer Studio

I have AM572x EVM. I want to trigger an interrupt when I push down the PUSH BUTTON 1 as shown below. The issue is that the interrupts is not triggered. 

From the user guide, this is connected to gpio2_23. Below is the code that I am using which I adapted from the code in thd pdk directory(C:\ti\pdk_am57xx_1_0_9\packages\ti\csl\example\gpio\gpio_interrupt),

uint32_t gPinDirection = GPIO_DIR_OUTPUT;

uint32_t gpio_base_address = CSL_MPU_GPIO2_REGS;
uint32_t gpio_pin = 23;
uint32_t interrupt_num = 29;
uint32_t xbar_cfg_required = 0;
int i=0;
volatile uint32_t gpio_pin_value = 0;

void configurGpioInterrupt()
{

CSL_xbarIrqConfigure(CSL_XBAR_IRQ_CPU_ID_DSP1,CSL_XBAR_INST_DSP1_IRQ_56,CSL_XBAR_GPIO2_IRQ_1);

Intc_Init();
Intc_IntEnable(0);

Intc_IntRegister(interrupt_num, (IntrFuncPtr) gpioIsr, (void *) 0);
Intc_IntPrioritySet(interrupt_num, 1, 0);
Intc_SystemEnable(interrupt_num);

}

I know the push button works by pressing the  button i see it changing from 1 to 0. Is just that the interrupts is not triggered. What am I doing wrong.