|
Reading the source code, I found out that the STM32F103 gets configured for 48 MHz using the internal HSI oscillator, when USB is enabled. But as far as I know, the HSI oscillator is inappropriate for USB due to lack of CRS feature. Am I right or did I miss something? |
Answered by
fpistm
May 25, 2026
Replies: 2 comments
|
Hi, Yes HSI is not recommended for USB but in several case it works probably (not reliable for high usage). Generic clock config provides only internal clock support as it is generic. Anyway clock config can be easily redefined as it is a weak function. |
0 replies
Answer selected by
srontje
|
OK thank you. I just wanted to make sure that I understood the topic properly. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, Yes HSI is not recommended for USB but in several case it works probably (not reliable for high usage). Generic clock config provides only internal clock support as it is generic. Anyway clock config can be easily redefined as it is a weak function.