Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


STM32 CubeMX plugin - manual clock frequency setup is not possible

Hello,

System Workbench for STM32 - C/C++ Embedded Development Tools for MCU
Version: 2.5.0.201807130628
STM32CubeMX plugin version 4.26.1
OS: Ubuntu 16.04LTS

I created a new project for STM32F103C8 controller. I wanted to set up the external clock sources, but in the clock configuration window i can not change the value in the LSE oscillator input box. It is filled automatically with a stupid value and not possible to change/delete etc. The HSE oscillator clock input box also buggy. It is set to 8 by default. When i set to 16 and click out of the input box then the value change to “0.000016”. If I set 16000000 and click out of the input box then the value change to “0.000016”. How can I set up the values what i want to use?

I have the same problem as you, but in windows 7. I cant set up the external source oscilator in any board.

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 ;)


 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  2. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  5. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  8. Build a project in "release" mode by tang, 2025-02-20 10:36
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27

Last-Modified Blogs