AnsweredAssumed Answered

Selecting 8MHz clock on Nucleo-64 in STM32CubeMX

Question asked by David Bathurst on Jan 4, 2017
Latest reply on Jan 6, 2017 by David Bathurst

I'd like to migrate a project from using the internal RC on the STM32F091RC to the 8MHz HSE clock that comes down from the on-board ST-LINKV2's MCO signal.  I use STM32CubeMX to generate SystemClock_Config().  On the panel to the left in the Pinout window, I expand RCC and change "High Speed Clock (HSE)" from "Disable" to "BYPASS Clock Source".

 

When I do that, everything looks like it's good.  The PF0 pin goes green, the Clock Configuration screen lights up the 8MHz Input Frequency at HSE in blue.  If I generate a report, the RCC section says "High Speed Clock (HSE): BYPASS Clock Source", but when I generate the code, I get the exact same SystemClock_Config(void) I got before the change.  In fact the freshly generated main.c doesn't change at all as result of the different clock selection in the gui.  Any ideas?

Outcomes