2016-04-26 07:52 PM
Hi.
My stm32F3-discovery does not have an external crystal(HSE) fitted to it.
I set up a new project with CUBE and according to CUBE clock configuration figure, the MAX clock speed I can achieve with HSI(8Mhz), is PLL(64Mhz).
Is this correct, because I seem to remember a post I read and cannot find anymore, that even when using HSI(8Mhz) the F3 can be configured for 72Mhz??
Can someone clear this up please. An example as to how to setup the F3 would be fantastic.
kvresto
2016-04-26 11:36 PM
2016-04-26 11:38 PM
Isn't there an 8 MHz presented by the ST-LINK part for the express purpose of providing an HSE input?
It should be apparent from the manual if 64 MHz is the highest support, it's not a part I'm actively using so you'll need to check yourself. The F1 parts were definitely limited, due to the need to half the HSI as input to the PLL, and the PLL multipliers available.2016-04-26 11:41 PM
There is the MCO (PA8) pin, the manual should clear define what clocks you can see there, the PLL would be available if you have it selected as a source for the system.
The ST-LINK part uses it's MCO (PA8) pin to provide an 8 MHz output of its HSE crystal. Should be routed by default as I recall, or via some solder bridge (SB) options. Review DISCO user manual w/schematic.2016-04-27 01:23 AM
Your absolutely right clive. I just looked at the schematic, and confirmed this in the startup file.
#define
PLL_SOURCE_HSE_BYPASS
// HSE bypassed with an external clock (8MHz, coming from ST-Link) used to clock
I never looked before today, and always assumed it was using HSI.
Thanks again Clive
kvresto