cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
3,289 Views
Registered: ‎09-09-2014

Handling AXI GPIO interrupts in linux using UIO drivers

Hi,

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. 

0 Kudos
2 Replies
Highlighted
Participant
Participant
3,121 Views
Registered: ‎09-02-2014

Hi,

i work at the same problem. Do you already found a solution?

0 Kudos
Highlighted
Teacher
Teacher
3,110 Views
Registered: ‎03-31-2012

are you clearing the interrupt when you catch it?
- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
0 Kudos