Forum Discussion
Altera_Forum
Honored Contributor
20 years agoReduce Interrupt latency?
Hi I am working on NIOS fast cpu at 100Mhz and my problmae is that i am laging in timing issues at the time of Interrupt come from the device. I am developing HAL for USB device and when device...
Altera_Forum
Honored Contributor
20 years agoI've uploaded a custom instruction I developed to reduce interrupt latency.
It is located in the "Post your own IP" section of this forum. The custom instruction replaces a bunch of assembly instructions in the HAL/MicroC/OS-II exception handler that calls your ISR. How about you give this a try and see if it meets your needs? You can always use it in conjunction with your own custom instruction to save/restore registers if you need to.