Loading...
 
Skip to main content

System Workbench for STM32


STM32 CubeMX plugin - manual clock frequency setup is not possible

I've got the same in v4.27.0. It used to work in v4.16, I think. And now, there is some bug. I've solved it this way:
- save and close project,
- open the project with notepad (or some other text file editor),
- find the line RCC.HSE_VALUE,
- enter desired value, for 8MHz crystal, it should be RCC.HSE_VALUE=8000000,
- save the file,
- open the project, again with CubeMX,
- set FCLK, APBs, PLL etc.,
- never ever touch HSE Input frequency text box again 😉