2017-02-09 09:21 PM
How to edit APB1, APB2 Timer Multiplier value in stm32cubeMX (clock configuration) GUI tool?
How to change following values manually?
Thanks for reading!!
2017-02-09 09:52 PM
You can only adjust the APB1 and APB2 prescalers.
the x1 box that you have highlighted is unchangeable.
2017-02-09 10:03 PM
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?
2017-02-09 11:12 PM
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?
2017-02-09 11:14 PM
Thanks Clive One for reply.
Please read above reply, about what I want.
'
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?
'
2017-02-10 02:29 AM
I am running cube 4.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.
________________ Attachments : F417VGT usb incorrect.ioc.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HywF&d=%2Fa%2F0X0000000bE5%2FT75KUSQB7qhpEyC5wMHrt33uY1AJtvJx5tzbg.E6KVc&asPdf=falseF417VGT - correct.ioc.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HywA&d=%2Fa%2F0X0000000bE7%2FGIyeWX55LEQ4OEMMfWoRW4K.rt_dPHyRTXBuJJ7wxi8&asPdf=false