AnsweredAssumed Answered

Precise frequency measurement with STM32F3

Question asked by krivetskov.dmitr.001 on Oct 20, 2015
Latest reply on Oct 21, 2015 by waclawek.jan
Hi, all.
Could you please recommend the best way to do that using STM32 Timers?

Input signal is a 5-10 kHz 3V sine-wave, and high-stable TCXO 12 MHz is used for MCU clocking. Measurement should be done with 1E-3 Hz resolution or better, within no more than 5 seconds.

Well, curetnly I look to use TIM2 32-bit timer in Input Capture mode with input signal connected to COMP1, and comparator output tied internally to TIM2_CH4 for input/capture.

1. How to acheive best resolution for frequency measurement?
2. What is the best way to use STM32 timers for this project?