I am trying to configuring one of the timer inputs on a STM32 to behave as a frequency counter for an external signal. The STM32 datasheet describes a "input capture mode" in section 17.3.6 (page 342)
My understanding of this mode is that whenever an input comes in on the selected TIMx_CHx input, the processor captures the value of a free-running internal counter. Frequency can then be calculated using the counter value and the frequency of the internal counter.
I am trying to enable this in CubeMX and am having difficulties correlating the datasheet explanation to the settings in CubeMX. This is what I currently have configured. Is is this correct?
Also, can I run multiple independent inputs into separate channels on the same timer to capture timing simultaneously?