2025-09-24 1:31 AM
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.
2025-09-24 5:15 AM
> 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.