Question
STM32H7B0 How to get input frequency of timer 3
Dear,
Used MCU: STM32H7B0, 100 pins.
In the datasheets we had found that TIM3 use the APB1 peripheral clock.
In our case is this 120MHz. But when we use the function "HAL_RCC_GetPCLK1Freq()" we become 60MHz.
This isn't correct.
So what function should we use to obtain the correct input frequency so that we can calculate the correct prescaler (PSC) and counter period values?

