I've been around, just not actively posting. Time's been in short supply the last few months.Originally posted by Dwayne
Hello Desterline,
Long time no hear...Great to see you again.
Hmmm... Interesting possibility, but I don't think it'll work in this case. I'm actualy trying to time something very precisely. Basicly a super stopwatch. (10s of nanoseconds accuracy over ~5 minute period).
D>>I'd be interested to hear about anyone else's experiences using timer1 near it's maximum speed.
Unless there's a better option I'm overlooking?<<
Just for kicks, In Ham radio, we combine two frequencies, and get different results. the results we use to amplify and receive our original signal.
Could you inject a frequency into your 50 MHZ signal so that the result can be used by your PIC? Maybe a 49MHZ and use the 1 MHZ difference for the chip to capitalize on?
Dwayne
I don't realy see how to maintain the precision without actualy counting the higher frequency.
With such resolution and range it works out to about 40 bits of counter. I was hoping to keep the chip count low by doing the slower count on the pic. Right now it looks like one external four bit counter, 16 bits of timer 1 and a software counter beyond that.
50MHz /16 drops it to just over 3 MHz, but another part of the project needs one D-flipflop, I was thinking about spliting one off the counter to keep chip count low. The the pic would have to count ~6.25MHz. Doable, asuming I read the datasheet correctly :-)
But I'm open to better ideas...
-Denny
Bookmarks