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.
5202 Discussions

How to capture interrupts from FPGA on DE-10 nano which is running linux?

KSAIC
Beginner
438 Views

Hello,

I am trying to capture a hardware interrupt from the FPGA on DE-10 nano board which is running Linux.

I realized that since interrupts run in the kernel mode I have to write an interrupt handler which should be included along with the device driver. 

So, where can I find the IRQ number for a particular device which is required to build an interrupt handler?

Also, how do I insert my interrupt handler code into the device driver which is already in .ko format?

0 Kudos
3 Replies
Fawaz_J_Intel
Employee
146 Views

Hello,

Are you referring to HPS IP or FPGA soft core IP?

Thanks

KSAIC
Beginner
146 Views

Hello FJumaah,

I am referring to the FPGA soft core IP.

Fawaz_J_Intel
Employee
146 Views

Hello,

You can find this IRQ number in Qsys file. There is a column named IRQ, it shows the Interrupt priority number from 0 to 31.

 

thanks

Reply