Hello,
I am using FPI GP mode to read andd write to fpga.
With out interrupt i am able to access the data from fpga,but when we tried using interrupt its not reading data from fpga we probed the controller pin and is showing interrupts in the pins
1)configuration of Interrupt Controller detect falling edge of interrupt from fpga
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOD);
GPIOPinTypeGPIOInput(GPIO_PORTD_BASE, GPIO_PIN_0);
GPIOPadConfigSet(GPIO_PORTD_BASE, GPIO_PIN_0, GPIO_STRENGTH_2MA,GPIO_PIN_TYPE_STD);
GPIOIntTypeSet(GPIO_PORTD_BASE, GPIO_PIN_0, GPIO_FALLING_EDGE );
GPIOIntEnable(GPIO_PORTD_BASE, GPIO_INT_PIN_0);
IntEnable(INT_GPIOD);
IntMasterEnable();
2) Interrupt Handler Program
void GPIODIntHandler(void)
{
UARTprintf("!!!!!! INTERRUPT !!!!!!!! \n ");
GPIOIntClear(GPIO_PORTD_BASE, GPIO_PIN_0);
flag=flag+1;
}
Start up configuration file configuration also made
If any thing missing in configuratiomn plese replay,FPGA CLOCK IS 20 MHZ
Regards,
Krishnan