LL_code does not use SystemCoreClockUpdate?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-04-03 2:15 AM
Posted on April 03, 2018 at 11:15
Using:
Truestudio for STM32 v9.0.0.0
STM32CubeMX v4.25.0
STM32F100C8
LL_drivers only
In stm32f1xx_ll_utils.c the SystemCoreClock variable is set directly:
void LL_SetSystemCoreClock(uint32_t HCLKFrequency) {
SystemCoreClock = HCLKFrequency;}Instead of using SystemCoreClockUpdate(), why?
STM32CubeMX does not set the symbol HSE_VALUE and this causes SystemCoreClockUpdate() to fall back to a default of 8000000 for HSE_VALUE which may be correct... (it wasn't for me)
Regards,
Wilko
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
