Skip to main content
xinjin
Associate III
April 18, 2013
Question

Could I use TIM3 CH3 in input caputure mode and CH4 in output compare mode?

  • April 18, 2013
  • 3 replies
  • 866 views
Posted on April 18, 2013 at 17:42

As the subject described, could I use TIM3 CH3 in input capture mode to measure a frequency, and at the same time use TIM3 CH4 in output compare mode to generate a PWM signal?

    This topic has been closed for replies.

    3 replies

    lowpowermcu
    Associate III
    January 4, 2014
    Posted on January 04, 2014 at 20:12

    Hi jin,

    Yes we can ;)

    liviana
    Associate II
    March 27, 2014
    Posted on March 27, 2014 at 10:31

    Hello, I read this post and I have same problem. May I ask explanation how to use TIM3_CH4 or TIM3_CH3? Thank you very much

    Tesla DeLorean
    Guru
    March 27, 2014
    Posted on March 27, 2014 at 14:15

    You program the timebase, and then you configure the channels. It's really not that complicated.

    There is ONE counter element in each TIM.

    Where channels work together ie TI1 TI2, the inputs are paired CH1/CH2 and CH3/CH4
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..