10 years, 2 months ago.

External Clock Crystals

Can external crystals (8Mhz and 32Khz) be fitted to the Nucleo boards? If so, are there clock set up's available in the MBED-SRC libs?

Question relating to:

ST
A world leader in providing the semiconductor solutions that make a positive contribution to people’s lives, both today and in the future.

1 Answer

10 years, 1 month ago.

The nucleo boards have footprints for High Speed External oscillator (HSE) and Low Speed External oscillator (LSE) but the quartz are not populated. At this time the MBED codebase doe not provide examples of the clock switch.

However, you can use the underlying ST library providing access to the oscillator configuration (or directly access the registers). In your case you should look for the RCC peripheral for clock configuration

Examples exists in ST libraries packages and are compatible with mbed code because mbed layer sits on top of these libraries. you can download the packages including many examples there:

for NUCLEO-F030R8

for NUCLEO-F103RB

for NUCLEO-F401RE

Thank you Maxime, I'll take a look

posted by Paul Staron 02 Mar 2014