Skip to main content
mfath
Visitor II
December 12, 2018
Question

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

  • December 12, 2018
  • 1 reply
  • 640 views

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

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
December 12, 2018

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