Hi, Jerson
+ 1000 ...
when I see the interrupts content (!) I do not understand why not to write them in . asm ...
isn't worth saving and restoring all the PBP variables ... as saving and resetting TMR1 only need 4 more " _ " characters ...
Now ... thinking to it ...
if those measurements are " changed " while calculating frequency and Phase ...
not so good ... eh !
do not know about transmitting results nor ...
( didn't see any interrupt disabling around HSEROUT ...)
Alain
Last edited by Acetronics2; - 29th September 2010 at 13:07.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks