Skip to main content
jpnorair23
Associate II
August 28, 2009
Question

TIM1 is driving me crazy

  • August 28, 2009
  • 2 replies
  • 688 views
Posted on August 28, 2009 at 10:27

TIM1 is driving me crazy

    This topic has been closed for replies.

    2 replies

    jpnorair23
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:21

    I have been struggling with TIM1 Output Compare, on and off, for a long time. Nothing I do seems to be capable of driving CH1 output compare to pin A8. If I change to TIM2 and use A0, everything is great. But not with TIM1.

    TIM1 is definitely running. It's just not driving to A8. Is there anything special about A8? I am setting it up as Alternate Function Push-Pull.

    ivanov-i
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 13:21

    Well, I encountered the same problem in the past.

    It turned out that it requires to clear (:-o) CC1E bit of TIM1_CCER register in order to get a signal on the output.