cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H742 TIMER CLK 50MHz frequency

eogos
Visitor

I am using the STM32H742 MCU.
Currently, System CLOCK is set to 480 MHz and APB TIMER and AHB maximum CLK is set to 240 MHz.
However, the maximum frequency of TIMER and GPIO cannot exceed 25 MHz, so what should I do to make it over 50 MHz

Attached is the related code as well.

 

eogos_0-1758702607455.pngeogos_1-1758702626863.png

 

1 REPLY 1
TDK
Super User

> the maximum frequency of TIMER and GPIO cannot exceed 25 MHz

Why not? Set PSC (Prescaler) to 0 and ARR (Period) to 1 and the frequency will be 120 MHz if the timer clock is 240 MHz. Ensure pin frequency is set to VERY_HIGH.

> AHB maximum CLK is set to 240 MHz

max AHB clock is 120 MHz on this chip.

If you feel a post has answered your question, please click "Accept as Solution".