I am using an F28335, and I'm trying to create three interrupts from GPIO switches. I'm currently using XINT3, XINT4, and XINT5 from the DefaultIsr.c as me shells. I have code in those to check a certain GPIO pin, but it doesn't seem to be working. Here is my initialization of the interrupts:
/////////////////////////////////////////////////////////
InitPieVectTable();
EALLOW;
PieVectTable.XINT3= &XINT3_ISR;
PieVectTable.XINT4= &XINT4_ISR;
PieVectTable.XINT5= &XINT5_ISR;
EDIS;
PieCtrlRegs.PIECTRL.bit.ENPIE = 1;
PieCtrlRegs.PIEIER12.bit.INTx1 = 1;
PieCtrlRegs.PIEIER12.bit.INTx2 = 1;
PieCtrlRegs.PIEIER12.bit.INTx3 = 1;
IER=0x800;
EINT;
///////////////////////////////////////////////////////////////
I have similar code using Mcbspb interrupts, and those interrupts fire. These do not ever get caught. Any ideas?