Re: Fastest counter?



In article <1149281694.893502.91910@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
eromlignod <eromlignod@xxxxxxx> wrote:
Ancient_Hacker wrote:
How about trying Don's idea: Put a 1/256 divider on your input.
Assuming you have 256 cycles available, your measurement error goes
down by 256 times.


I guess I don't understand what you guys mean. If my measured signal
is, say, 5000 Hz and I divide it by 256 then I get 19 plus a remainder.
Wouldn't that round-off error destroy my accuracy, or maybe I'm not
understanding what you propose?

You could design it to clear the prescaler counter before the counting
interval, and then after that, bit-bang out a substitue clock and detect
at what count the prescaler overflowed.

Mark Zenier mzenier@xxxxxxxxxx
Googleproofaddress(account:mzenier provider:eskimo domain:com)


.