[En-Nut-Discussion] STM32: Attention: Configuration change!
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Tue Mar 15 11:50:05 CET 2016
Hello,
todays batch of patches mostly reworks STM32 clock setup.
If you use a custom config, please change:
1. HSE_BYPASS = "" to HSE_BYPASS = "ENABLE"
2. LSE_BYPASS = "" to LSE_BYPASS = "ENABLE"
3. SYSCLK_SOURCE, PLLCLK_SOURCE and SYSCLK_FREQ are only optional:
For some standard clock, at least HSE_VALUE = "8000000", the configuration
now sets up clock speed to the highest value possible with voltage range
etc. SYSCLK_SOURCE, PLLCLK_SOURCE and SYSCLK_FREQ are not needed in that case.
To see the parameters used for your setup, define CLOCK_DEBUG and compile
the library. Used parameters will be printed
If the parameters don't fit, tune the parameters in the configurator under
Architecture -> CM3 -> STM32 Family -> STM32 Clock and system settings.
N.B.
With no HSE value given, STM32L47x will use 48 MHz MSI RC, with PLL
stabilisation if LSE_VALUE= "32768" is set.
Bye
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------
More information about the En-Nut-Discussion
mailing list