How to edit APB1, APB2 Timer Multiplier value in stm32cubeMX (clock configuration) GUI tool?
How to change following values manually?
Thanks for reading!!
You can only adjust the APB1 and APB2 prescalers.
the x1 box that you have highlighted is unchangeable.
Thanks marsh.nick for reply.
These values gets changed automatically if we change APB prescaler value (dropdown selection box).
I just want to select manually one value out of available value of APB1,2 Timer multiplier value.
I want following configuration,
Ethernet clock, sys clock, HCLK, FCLK = 168Mhz
APB1 peripheral clk, APB1 Timer Clock = 42Mhz
APB2 peripheral clk, APB2 Timer Clock = 84Mhz.
USB clock = 42Mhz.
How to set ?
I have one .ioc file which has above said values, but I cannot set same values in newly created .ioc file.
All other values in clock configuration page are identical (except APB1,2 Timer Multiplier value)
There has to be some way to set above values?
It will be X1 or X2 depending on the divisor selected for the APB. You can then manage the timers using the prescaler.
What is it that you hope to achieve?
Thanks Clive One for reply.
Please read above reply, about what I want.
I am running cube 4.18.0 and easily got those values you have described, but the USB clock should be 48MHz.
I had to add an external xtal to make it work, attached.
you will probably need the 25MHz crystal anyhow for the Ethernet.
Retrieving data ...