- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Are you referring to HPS IP or FPGA soft core IP?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello FJumaah,
I am referring to the FPGA soft core IP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page