Loading...
 
Skip to main content

System Workbench for STM32


Issue Clock Configuration CubeMX Plugin on Eclipse

Hi
I'm using the latest version of the plug-in stsw-stm32095.zip (cubemx v4.20.1).
When I creating a project using STM32CubeMX from the SW4STM32 package, a problem occurs
with HSE frequency configuration:
After setting the frequency (In this case 8 MHz) at any mouse click anywhere the frequency value
is constantly divided into 1000000 and the frequency can not be adjusted.
Is this a bug or does it need to be customized?

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 😉