cancel
Showing results for 
Search instead for 
Did you mean: 

What is the timer clock frequency for STM32H755 chip ?

Shubhamkeshari
Associate III

Hi, 

What is the frequency of timer2 which is of 32  bit with prescaler value 0 for NUCLEO-H755 board and how to check it ?

 

1 ACCEPTED SOLUTION

Accepted Solutions
mƎALLEm
ST Employee

Hello,

TIM2 kernel clock is generated from APB1:

From the reference manual:

mALLEm_0-1748592763738.png

In CubeMx:

mALLEm_1-1748592829518.png

That clock is devided with the timer prescaler

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

View solution in original post

4 REPLIES 4
ahsrabrifat
Senior II

You can check the clock and prescaler in STM32CubeIDE.

mƎALLEm
ST Employee

Hello,

TIM2 kernel clock is generated from APB1:

From the reference manual:

mALLEm_0-1748592763738.png

In CubeMx:

mALLEm_1-1748592829518.png

That clock is devided with the timer prescaler

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

Divide it down and have in Toggle mode one of the TIMx_CHx pins associated with it.and measure it on a scope?

The clock tree should be usable to determine the base frequency. 

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

Thank you soo much