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.

TMS320F28377S: XINT4 Triggering

Part Number: TMS320F28377S

Hello,

I am using XINT4 to trigger an interrupt on the rising edge of a signal. The configuration is as follows:

XintRegs.XINT4CR.bit.ENABLE = ENABLE_XINT;
XintRegs.XINT4CR.bit.POLARITY = XINT_POSITIVE_EDGE_TRIGGER;
InputXbarRegs.INPUTSELECTLOCK.bit.INPUT13SELECT = 0;
InputXbarRegs.INPUT13SELECT = 91;
InputXbarRegs.INPUT13SELECT = 1;
GpioCtrlRegs.GPCLOCK.bit.GPIO91 = 0;
GpioCtrlRegs.GPCCSEL4.bit.GPIO91 = 2;
GpioCtrlRegs.GPCLOCK.bit.GPIO91 = 1;
PieVectTable.XINT4_INT = &Fault_ISR;
PieCtrlRegs.PIEIFR12.bit.INTx2 = 0;
PieCtrlRegs.PIEIER12.bit.INTx2 = 1;

For some reason, GPIO91 going from low to high does not trigger this interrupt. We are using the same setup for another XINT, but with a different GPIO, and it works as expected. Both are initialized in the same function and that init function is being called.

Any insight is appreciated.

Thanks,

Cameron