Skip to main content
jbl_raw
Associate III
June 10, 2013
Question

stm32f4 timer2 problem.

  • June 10, 2013
  • 1 reply
  • 638 views
Posted on June 10, 2013 at 23:19

i used timer2 and it's clock source from  APB1   and Prescaler  value for  APB1 is 4

it's mean's APB1 work at 42mhz     ''168mhz/4 ''     becuase the maximum  frequency is 42mhz for APB1.

i searched in internet and some people write the timer2 clocked at 84mhz  not 42mhz and it's true.

but i cant find in this stm32f4 datasheet
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    June 10, 2013
    Posted on June 11, 2013 at 00:18

    Yes, review the clock tree in the Reference Manual. For DIV2 on the APB it is DIV1 on the TIMCLK, for DIV4 on APB it is DIV2 on the TIMCLK

    0690X00000605N7QAI.png

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..