Bruce & Terry,
I have been following posts on freq measure. That timer 5 with the motion feedback module is just super-neat. Hardly any code to get very accurate measure. Being able to measure small ,small errors is amazing.
Terry, if you don't mind, how much are your readings varying around the 4khz and what clock did you end up using?
Also, what are you doing with the output value?
Hats off to you guys.
don
amgen