I creating a project with the microcontroller STM32F101C8t. This microcontroller has an internal clock of 36MHz. My question is how to correctly set the external clock value, ie what crystal value should I use. I already set the external clock pins in the STM32CubeMX, now it is necessary to set the correct value for the external clock.
Electronic – How to set external clock value for STM32F1
clockclock-speedstm32stm32f10x
Related Topic
- Stm32L0 – can I use LSE clock for 1ms tick and use HSI for systick
- Electronic – How to measure Clock frequency of PIC
- Electronic – What kind of external clock is needed for PIC32
- Electronic – How to change clock source dynamically on an ATtiny1634
- Electronic – Importance of an FPGA external clock
- Electrical – How to query APB1 clock frequency
Best Answer
If you are using CubeMX there is a tab dedicated to clock setup. On the left there will be a field for the HSE value. Then you either set the PLLs manually or run the clock solver.