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/TMS320F28335: TMS320F28335 external pin issue on GPIO38

Part Number: TMS320F28335


Tool/software: Code Composer Studio

Hello friends, I have issue to set GPIO38 as a External interrupt pin for TMS320F28335. Please Guide me in right direction for to configure GPIO.I have configure Gpio as per mentioned below.

#define INPUT 0

GpioCtrlRegs.GPBMUX1.bit.GPIO38 = 0;

GpioCtrlRegs.GPBDIR.bit.GPIO38= INPUT;

EALLOW;
PieVectTable.XINT3 = &fpga_GPIO_interrupt_isr; // register ISR in interrupt vector table
EDIS;

PieCtrlRegs.PIECTRL.bit.ENPIE = 1; // Enable PIE block
PieCtrlRegs.PIEIER1.bit.INTx3 = 1; // Enable PIE Group 1 INT3
PieCtrlRegs.PIEACK.bit.ACK3 = 0;
IER |= M_INT1; // Enable CPU interrupt 1
EINT; // Enable Global Interrupt

EALLOW;
GpioCtrlRegs.GPACTRL.bit.QUALPRD0 = 0xFF; //Each Sample window is 510*SYSCLKOUT
GpioCtrlRegs.GPBQSEL1.bit.GPIO38 = 0; //Xint1 Synch to SYSCLKOUT only
GpioIntRegs.GPIOXINT3SEL.bit.GPIOSEL = 38; //tag XINT3 interrupt with GPIO38
EDIS;

XIntruptRegs.XINT3CR.bit.POLARITY = 1; //Detect interrupt on rising edge of GPIO38
XIntruptRegs.XINT3CR.bit.ENABLE = 1; //Enable XINT3

and isr of that GPIO is 

__interrupt void fpga_GPIO_interrupt_isr(void)

{

    PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;

}

i put break point on   PieCtrlRegs.PIEACK.all = PIEACK_GROUP1; but code does not reach to that point