Hi Petr,
We are currently using the Period Measurement Mode to measure the frequency of a wheel speedometer, but we have found that the signal has a lot of noise, causing our output frequency to often jump to FFFF or display incorrect values, with correct values occasionally being displayed.
Even though the signal has been filtered by our RC low-pass filter and the noise has been significantly suppressed, the problem still persists without any improvement.
Are there any solutions to this problem?
Our method of calculating frequency is:
uint32_t speed = 1/(retValue1*2560*1.25*pow(10,-8));
The first image is the signal before passing through the low-pass filter.
Signal before low-pass filter
The second image is the signal after passing through the low-pass filter.
Signal after low-pass filter
Best Regards
Paddy