02-08-2021 03:04 AM
I am a Newbie to Xilinx development environment. I m working on Microblaze processor (sdk 2018.2). The FPGA being used is Kintex-7. I am facing some issue with the interrupt handling.
In my design I have to simultaneously process data from Ethernet as well as serial. Both are interrupt based. SImultaneously I have to run a timer module as well, which is again interrupt based.
When i try executing ethernet portion of code or serial portion or timer portion independently, it works fine. But when I try to execute all three interrupt based portions of code simultaneously only one of them works. Other two fail.
Any insights into this would be highly appreciated.
02-08-2021 03:53 AM
are you enabling all interrupts needed ?
are you clearing the interrupt ?
is the code not getting sufficient time out of an interrupt to service the next ?
02-08-2021 09:00 PM
Thanks for your reply.
1. Yes, I am enabling all interrupts as needed.
2. How do we clear the interrupt in sdk ? Is it necessary to clear the interrupt everytime it's addressed.
02-09-2021 01:29 AM
That I understand is down to how you have designed the system, not the SDK.
Its bounded by your code and the hardware you have built into the system,
may be some one else can give you some more tips ?
02-09-2021 07:13 AM - edited 02-09-2021 07:13 AM