Skip to main content
Visitor II
September 24, 2025
Question

STM32H742 TIMER CLK 50MHz frequency

  • September 24, 2025
  • 2 replies
  • 493 views

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

 

    This topic has been closed for replies.

    2 replies

    Super User
    September 24, 2025

    > 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.

    eogosAuthor
    Visitor II
    September 25, 2025

    I set it like that, but the waveform appears as shown in the following picture

     

    eogos_0-1758768471448.jpeg

     

    Super User
    September 25, 2025

    Include a minimal (non-)working project which exhibits the problem.