Skip to main content
mikem1017
Associate II
November 9, 2022
Question

Which clock is used by TIM6 on STM32F446?

  • November 9, 2022
  • 2 replies
  • 1618 views

On the data sheet block diagram, it shows it to be 45MHz - APB1. However, on the clock configuration screen on STM32CUBEIDE there are two APB1 clocks - the APB1 Peripheral Clock, and the APB1 Timer Clock. Naturally I would assume it's the "timer clock" but I want to be sure.

This topic has been closed for replies.

2 replies

AScha.3
Super User
November 9, 2022

in Cube clock tree -> you can see it : timer clk is 1x or 2x APBx clk .

most times 2x .

"If you feel a post has answered your question, please click ""Accept as Solution""."
waclawek.jan
Super User
November 9, 2022

While the APB bus clock is still used to read/write the timer's registers and that's indeed max 45MHz, the timer internally uses a different clock, the timer clock, as AScha said above.

​The primary source of information is not Cube/CubeMX, but the RM, in this case the RCC chapter - note the clock diagram there, together with its footnotes.

JW​