Skip to main content
andrea239955_stm1_stmicro
Visitor II
July 31, 2012
Question

External clock source mode 1 with TIM3 & TIM4

  • July 31, 2012
  • 1 reply
  • 605 views
Posted on August 01, 2012 at 01:25

I have four timers configured to run in external clock source mode 1; TIM9, 12, 3, and 4.  TIM9 and 12 work without issue on my SMT3220 G-EVAL boards and I can see the TIMx_CNT registers update.  TIM3 and 4 however appear to not capture.  Is there an additional register setting needed for these timers?

I have the following:

TIMx_CR1 = 0x1

TIMx_SMCR = 0x57

TIMx_CCMR1 = 0x1

TIMx_CCER = 0x1
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    August 1, 2012
    Posted on August 01, 2012 at 02:01

    The APB clocks and the AF pin assignments?

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..