2016-05-30 01:19 AM
Hi everyone. Excuse me for my poor English.
Is it possible to set TIM2/TIM3 for external clock from TI3/TI4 inputs?If it is not, give me a hint how to count amount of external pulses for PB11/PC9 without using interrupt for every pulse2016-05-30 01:35 AM
For CH3, you could use the XOR facility, see TI1S in TIMx_CR2; then select TI1FP1 as input to the slave controller set to external clock mode 1.
However, both those pins are CH4. The only option which comes to my mind is to set up a capture on CH4, set it to trigger a DMA, and then [ab]use the DMA to count the number of captures. JW