cancel
Showing results for 
Search instead for 
Did you mean: 

I have a problem with Input-Capture driver for Timer3 specially for stm32f10x

mfath
Associate

Registers "TIM3_CCR1" "TIM3_CCR2" that should hold the frequency and the duty cycle of the signal always equal zero

1 REPLY 1

Is TIM3 running at all, i.e. does TIM3_CNT register change? Are CH1 and CH2 set to input capture in TIM3_CMMR, and so that CH2 inputs from CH1 input pin? Is the TIM3_CH1 input pin set properly in GPIO?- check the related GPIO registers. Measure input signal directly on that pin using oscilloscope.

JW