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.

GIO interrupt Tms57004

Other Parts Discussed in Thread: HALCOGEN

Hello 

I am trying to implement a gio interrupt on my TMS57004 board. i want a rising edge trigger which when recorded should make the onboard LED GIOA2 glow.

this is my code-

#include"gio.h"
#include "sys_common.h"

void main(void)
{
/* USER CODE BEGIN (3) */
gioInit();
_enable_IRQ();

gioEnableNotification(gioPORTA,1);

}

/* USER CODE BEGIN (4) */

void gioNotification(gioPORT_t *port, uint32 bit)
{
gioSetBit(port,bit,1);
}

/* USER CODE END */

all the necessary settings have been made in the halcogen file. 

However it is not working. when I try to do the same thing via polling it works fine.

Could someone please tell me where i am going wrong.

Thanks