Skip to main content
Associate III
August 23, 2024
Solved

TIM6 APB1 prescaler

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.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
August 23, 2024

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.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

6 replies

mƎALLEm
ST Technical Moderator
August 23, 2024

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

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Associate III
August 23, 2024

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

mƎALLEm
ST Technical Moderator
August 23, 2024

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

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.