Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by mike desimone@Oct 26 2005, 02:19 PM good grief.
the problem is that your cpu simply lacks the time to handle all those spamming interrupts. it needs time to save state, handle the interrupt, and restore state.
for reference, a typical system tick clock runs at 100-1000 hz; running faster than that tends to increase a scheduler's overhead by a great deal.
so, just what exactly are you trying to do? generate a clock out? pause execution for short periods?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=10612)
--- quote end ---
--- Quote End --- Yes, I am trying to generate a clock signal for an external AD converter, frequency of 1-2MHz would be fine. Since I am quite new to RT-OS field and this is my first project with it, I lack some more insight. I am still counting with the system clock frequency of 85MHz and try to derive and calculate the timing based on it, I think I should take more influence of OS into consideration - anyway I expected the rescheduling and context save/load faster and not to delay my application so much. What would you suggest to me to create such a signal, either by software or hardware, so higher frequency can be reached?