I have some questions about timer capture in the STM32. Is it possible to capture a digital signal? Like this:
Actually, I'd like to know how many clock ticks between rising and falling edge, in every pulse.
Certainly, if you measure the input signal with the timer and accept the minimum time between the rising and the lowering edge as 1 clock, you can obtain the signal in STM32. If there is not a single "1" data in the signal, unfortunately the frequency of the signal you find will be lower than it should.
There's no need for assumption about frequency.
I would advise you to examine document submitted from