STM32 Frequency Measurement.

STM32 Frequency Measurement.
STM32

In one of my previous articles I talked about the STM32 capture mode and gave an example of how to use it to measure a signal's period. But this method can't ACCURATELY measure the period of a high-frequency signal (it will become clear below which signal counts as high-frequency). Suppose the frequency of the signal under test is 1MHz and our timer counts 72 million per second. Let's convert the frequency to a period...