Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
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:
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: