How to pass HSE Crystal speed to ArduinoCore / CMSIS #2322
-
I want to use an external crystal as system clock source, and while I managed to get it set up and implement a SystemClock_Config function that overrides the weak default, This is because I use a 16MHz crystal, but somewhere must be the information that a 8MHz crystal is used, I suspect some I tried adding But is it the preferred/best/safe way to do this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This is specified in the Wiki: |
Beta Was this translation helpful? Give feedback.
-
Oh, I must have overread that since I checked those pages... so, about everything that is in the Thank you! |
Beta Was this translation helpful? Give feedback.
Oh, I must have overread that since I checked those pages...
so, about everything that is in the
stm32yyxx_hal_conf_default.h
can be used inhal_conf_extra.h
as well?Thank you!