10-08-2014 05:06 AM
I am using an AXI GPIO in dual channel mode. Channel 1 is connected to the 5 button input and channel 2 is connected to the 8 bit leds on board. I am trying to receive the interrupts in userspace and handle them accordingly. The problem I am facing is that the interrupt is being generated by the AXI GPIO but my UIO driver is not able to catch it. A blocking read on the uio device file yields only 1 interrupt catch. For the subsequent interrupts they are not being recognized. I have attached the code written in userspace. Please help.
11-28-2014 09:41 AM