Why time input capture does not work continiously?
Hello everyone.
I am working on a project that measures the duty cycle of the signal. I've initialized timer 1 as an input capture mode to measure the pulse width of a signal. Both input capture 1 and input capture 2 are used to signal the rising and the falling edge of the input signal respectively.
On the first try, the caputers were done fine, but it only captures once! for the next signal cycle, the capture registers wouldn'g change at all. So I can't calculate the signal width continously.The details of my project is as follow:
I've used STM32F103RET6, Timer 1, input caputers 1 and 2.
The program is written in STM32cubeIDE and CubeMx is used for configurations.
