Author Topic: APB2 Timer frequency on STM32F407VET?  (Read 278 times)

0 Members and 1 Guest are viewing this topic.

Offline kgavionicsTopic starter

  • Regular Contributor
  • *
  • Posts: 225
  • Country: ca
APB2 Timer frequency on STM32F407VET?
« on: April 19, 2025, 12:44:24 pm »
Hello guys

I'm really confused. I'm using Timer10 which is connected to the APB2 bus and my system is running @168Mhz,so according to STM32 Cube my Tim 10 freq should be 168MHZ, but on the datasheet is showing that the ABP2 bus is running @84 MHZ. Which one is correct?

TIA
 

Offline ppTRN

  • Regular Contributor
  • *
  • Posts: 169
  • Country: it
Re: APB2 Timer frequency on STM32F407VET?
« Reply #1 on: April 19, 2025, 12:51:01 pm »
I think that the 84MHz denotes the speed at witch the bus is able to allow communication between the CPU and the peripherals, not the actual speed of the peripherals attacched to it. You can also see from Cube that you have a x2 block before the clock is fed to the timers of such bus, so apparently timers are clocked separately from the rest of the peripherals
« Last Edit: April 19, 2025, 12:53:39 pm by ppTRN »
 
The following users thanked this post: kgavionics

Online pcprogrammer

  • Super Contributor
  • ***
  • Posts: 5122
  • Country: nl
Re: APB2 Timer frequency on STM32F407VET?
« Reply #2 on: April 19, 2025, 04:30:58 pm »
You can find information about all of this in the reference manual. https://www.st.com/resource/en/reference_manual/dm00031020-stm32f405-415-stm32f407-417-stm32f427-437-and-stm32f429-439-advanced-arm-based-32-bit-mcus-stmicroelectronics.pdf

See page 152 for a picture of the clock tree. (Section 6.2)

It shows what ppTRN wrote.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf