Calculating Interrupt timings..
duffling
Posts: 73
Im wondering if anyone has written a utility to help in calculating interrupt timing , and other Cpu cycle timing issues..
as i often need to have precise interrupts at 1ms , or greater timing intervals..
just wondering!
as i often need to have precise interrupts at 1ms , or greater timing intervals..
just wondering!
Comments
A utility or even a spreadsheet would be useful to have. I'm wondering too!
Post Edited (Jonb) : 4/2/2005 11:25:37 AM GMT
I did a "quick-and-dirty" Excel spreadsheet. allowing you to enter the SX clock frequency. The interrupt call periods and frequencies will then be calculated for all possible RTCC initializations, and shown in the spreadsheet.
Not very sophisticated but I hope it helps a bit.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
He was asking about a 1ms interrupt rate. Could you add a field for the prescaler ?
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video Display Module" Available Now.
www.sxvm.com
"A problem well defined, is a problem·half solved."
·
If someone wants to clue me in on the math I would be happy to
write a software utility.
Jack
Plus, I will need a util like that soon.
Jack
good point - I have added a field for the prescaler.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
http://www.google.com/search?hl=en&q=sx+isr+calculator
Or of sxlist.com?
http://www.sxlist.com/techref/scenix/isrcalc.asp
http://www.sxlist.com/techref/scenix/isrcalc.htm
In fact, most of the issues that have been raised here lately have been well covered at the sxlist.com site already. Really. Its there. And if it isn't, I add it after it is discussed here.
Did you know SXList.com has almost 3GB of content? Think of SXList.com as the collected information from all the best threads both here and from the ~2000 member, ~80 posts a day MIT PICList. The search engine on sxlist.com indexes the entire archive from that list. About 2GB of content from PIC and (some) SX users. Since SX's are high speed PIC 16C5x's most issues have been covered on that forum already. Really!
Try it out!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
---
James Newton, Host of SXList.com
james@sxlist.com 1-619-652-0593 fax:1-208-279-8767
SX FAQ / Code / Tutorials / Documentation:
http://www.sxlist.com Pick faster!
Thanks Gunther and James for enlightening us.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (Jonb) : 4/4/2005 2:54:32 AM GMT