Skip to main content
Graduate II
August 23, 2024
Solved

TIM6 APB1 prescaler

  • August 23, 2024
  • 1 reply
  • 1808 views

Hello,

STM32F103RB microcontroller.
The Figure1 (see attached image) shows clock tree of STM32F103RB microcontroller. Before TIM6CLK, there is a block, which is highlighted in red rectangle. What's IF (APB1 PRESCALER  = 1) x1 ELSE x2 label in this red rectangle? APB1 prescaler can't equal to  "1". APB1 prescaler can be in states listed in the Figure2 (see attached image).

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Sorry, didn't understand ..

    Value divided by 1 = Value so it's not divided. A clock divided by 1 keeps the same frequency on the output prescaler -> frequency not divided.

    1 reply

    Technical Moderator
    August 23, 2024

    APB1 PRESCALER  = 1 ->  "Not divided" which is the first value (0xx).

    Graduate II
    August 23, 2024

    Why is this (IF (APB1 PRESCALER  = 1) x1 ELSE x2)  shown so strangely in the clock tree diagram?

    Technical Moderator
    August 23, 2024

    Do you mean APB1 PRESCALER needs to be = 0 in the clock tree?