Introduction - If you have any usage issues, please Google them yourself
his experiment, using the TIM4 produce a 1 k frequency output, using TIM1 capture.And the measured frequency calculation
The TIM1 time base unit configuration: about the TIM1 time base set the problem mentioned above has been discussed.There is only thing need to clear is to minimize the update events, set TIM_Period to 0 XFFFF namely.The timer clock is set to 2 m, so that the update frequency of the timer is 30 hz, not cause between capture generates multiple updates.