embeddedstm32iotmicrocontrollernucleo

Selecting External Clock Source for NUCLEO-WB55RG Board


Selecting External Clock Source in the STM32CubeIDE

  1. I am not finding the clock frequency of the oscillator used on the NUCLEO-WB55RG board?
    What's the value?
    Where can I find it?

  2. How to select it as clock source for the MCU?
    Which one should be selected in the "PLL Source Mux", and "System Clock Mux"?


Solution

  • You could try reading the User Manual, which tells you what the HSE crystal is. From section 7.7:

    HSE: high quality 32 MHz external oscillator with trimming, needed by the RF subsystem

    You could also select the Nucleo-WB55 as your target board when creating your project. This will pre-populate the HSE frequency with the correct value:

    enter image description here

    And to select this as your system clock source, just select it in the System Clock Mux:

    enter image description here

    This is the default if you created a project specifically for the Nucleo board.