STM32F4 Clock source select
Posted: Thu Dec 13, 2012 7:29 pm
How can I change the main clock source to the internal oscillator for the STM32F4?
I've tried changing this line in mcuconf.h:
#define STM32_PLLSRC STM32_PLLSRC_HSE
to this:
#define STM32_PLLSRC STM32_PLLSRC_HSI
but this gives compiler errors:
STM32_PLLVCO outside acceptable ranges
I'm working from the F4 Discovery board project. Does the PLLVC0 require the HSE clock?
To add a little more detail: I'm working from a new PCB layout now where the HSE clock is not populated yet. I'd like to first try with only the internal clock.
I've tried changing this line in mcuconf.h:
#define STM32_PLLSRC STM32_PLLSRC_HSE
to this:
#define STM32_PLLSRC STM32_PLLSRC_HSI
but this gives compiler errors:
STM32_PLLVCO outside acceptable ranges
I'm working from the F4 Discovery board project. Does the PLLVC0 require the HSE clock?
To add a little more detail: I'm working from a new PCB layout now where the HSE clock is not populated yet. I'd like to first try with only the internal clock.