-
Notifications
You must be signed in to change notification settings - Fork 3k
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
SystemCoreClock and USB clock settings dependency (STM32 series) #1408
Labels
Comments
ARM Internal Ref: IOTMORF-231 |
See comment for #4421 |
Update for NUCLEO_F103RB is in #4740 With default value :
|
#4740 has been merged - shall we close this issue ? |
@Willem23 reopen if still valid with new findings please |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In case you want to use the USB device (or host) features the core clockspeed has to have certain values otherwise you can not get the correct USB clock of 48 MHz. On the F103 for example you can run at 72 MHz core speed with 8MHz external clocks (PLL: 8x9 = 72, USB: 72/1.5=48), but you can only get a maximum of 48 MHz core speed using the 8 MHz HSI (PLL: (8/2)x12 = 48, USB: 48/1=48).
It would be nice to include #define settings for USB in system_stm32fxxx.c. It would be even better when these selections can be set without importing and modifying the mbed lib source.
See also discussion on issue #1096 regarding timeout for clock auto-select.
The text was updated successfully, but these errors were encountered: