Clock divider setting for 0-300Hz?
Posted: Mon Jul 29, 2013 10:38 am
What's the best clock divider setting to read in a frequency signal that's on the order of 0 to 300Hz? "CLOCK / 128" or "CLOCK / 1024"?
Signal in question is a vehicle speed signal that reads 16Hz when stationary and on the order of 130Hz at nearly 75mph. Not that my 1987 GTI 16V will ever do 150mph, but 0 to 300Hz is a good estimate of the working range with room to spare.
P.S. "CLOCK / 128" seems to be the best setting for the rpm signal on my car, which is say 700 to 7500rpm, with two pulses per revolution, makes approximately 23 to 250Hz, so maybe "CLOCK / 128" was a good guess for my vehicle speed signal.
Signal in question is a vehicle speed signal that reads 16Hz when stationary and on the order of 130Hz at nearly 75mph. Not that my 1987 GTI 16V will ever do 150mph, but 0 to 300Hz is a good estimate of the working range with room to spare.
P.S. "CLOCK / 128" seems to be the best setting for the rpm signal on my car, which is say 700 to 7500rpm, with two pulses per revolution, makes approximately 23 to 250Hz, so maybe "CLOCK / 128" was a good guess for my vehicle speed signal.