FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5159 Discussions

DE0-NANO-SOC no interrupt handle

LacoN
Beginner
271 Views

Hi,

i liked to get an interrupt from a pushbutton and handle it in userspace via a kernel modul. 

To begin with, i have an Linux distro done with yocto and the kernel 5.5. I compiled my kernel modul also with yocto. I have loaded the goldenreference out from quartus via usb-blaster. I enabled the bridges in U-Boot. I could register my kernelmodul. But when i cat /proc/interrupts i could not see any interrupts occurred? 

Inside my kernelmodul i tried to read all 4 register from the leds on the board and printed them.

Please have a look on my screenshots. 

Question is simply how can i get that running or where is the error. Do i have to do some device tree appendings?

0 Kudos
1 Reply
EBERLAZARE_I_Intel
235 Views

Hi,

Apologize for the delay in response, regarding the interrupt handler, you can try our tutorial with ARM processor interrupts to handle KEY presses below:

ftp://ftp.intel.com/pub/fpgaup/pub/Intel_Material/16.1/Tutorials/Linux.pdf

 

Also, similar discussion on the issue can be found below:

https://community.intel.com/t5/Programmable-Devices/Cyclone-V-Interrupt-Handling/td-p/160759

https://electronics.stackexchange.com/questions/345271/altera-cyclone-v-linux-fpga-interrupt-handlin...

Reply