-
Notifications
You must be signed in to change notification settings - Fork 1k
STM32F407G-DISC1 Clock configuration - HSI/HSE values mismatch? #2646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
invalid
This doesn't seem right
Comments
Hi @hamkoroke Arduino_Core_STM32/variants/STM32F4xx/F407V(E-G)T_F417V(E-G)T/variant_DISCO_F407VG.cpp Lines 150 to 197 in eebd0e3
|
@fpistm Damn, I was looking to the wrong file the whole time. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Not totally sure but for the variant STM32F407G-DISC1 the clock configuration says that is using HSI but the value for:
is 8, but it seems that it might set to the value 16 instead when HSI is used instead of HSE?
There is a related issue by an user that had a problem with this (not using stm32duino but seems related): Issue
The documentation of the board, UM1472 - STM32F4DISCOVERY User Manual, Section 6.9 (OSC Clock Supply) also states:
So maybe if HSE is used, then that value would be correct (8) but for HSI should be set to 16?
The thing is that if there is an external oscillator is probably recommended to use HSE intead of HSI?
Thank you.
Board (please complete the following information):
The text was updated successfully, but these errors were encountered: