STM32CubeMX (MCUs)

Ask questions on STM32CubeMX. Discuss code generation and configuration challenges, among other topics.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.16.1 released

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 681 Views
  • 0 replies
  • 1 kudos

STM32CubeMX 6.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 1588 Views
  • 5 replies
  • 7 kudos

Resolved! How to change STM32CubeMX Firmware repositort folder ?

I have STM32CubeMX and STM32CubeIDE installed, but each use a different Firmware repositort folder. So I have to download (with a slow ADSL line) and install twice every firmware package.I want to install the package in a directory out of C:/users/Ad...

0693W000005BfTuQAK.png

STM32CubeMX Crashing on Code Generation

Having a very difficult time figuring out what happened to STM32CubeMX. In middle of very timely development and suddenly I can't generate any code. It just hangs. I have to shut down Java to force the program to close.I have downloaded the latest ve...

Resolved! How to Use STM32G0 Power Voltage Detector with STM32CubeIDE??

Hi,I am working on STM32G0 Nucleo Board with STM32 Cube IDE 1.3.0 .How to Use STM32G0 Power Voltage Detector (Internal ) with STM32CubeIDE ?I want my MCU should only start when Voltage goes above 2.5V (Say)..The above setting nothing generate in .c f...

0693W000001sh8tQAA.jpg

Issues on creating a project using STM32CubeMX tool.

Following the instructions below, I create a new project.https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Step2_Blink_LEDBut it seems that the led blinking thread fails to get started.I must comment some system initialization to get the default thre...

Jinyu Z by Associate II
  • 1770 Views
  • 8 replies
  • 0 kudos

cubemx project

I use cubeMX version6.0.0,generate a simple serial port project, I need to click three times 'run' can run to the main function(break point) use jlink in debug mode , The serial port tool has output character,. But direct download and re power-on doe...

Syang.2 by Associate II
  • 1116 Views
  • 4 replies
  • 0 kudos

Resolved! Not able to set the clock frequency to MAX (480 MHz)

Hello,I am trying to set the clock frequency to max of 480 MHz. I tried 120 MHz and there is not problem with that. The block code is very similar for both, so not sure what is going wrong.I feel the oscillator fails and goes into an error state. Bas...

0693W000005BQQWQA4.png
Kaveh by Associate III
  • 1630 Views
  • 4 replies
  • 0 kudos

Resolved! C++ with STM32CubeMX and CubeIDE

Hi,I'd like to use C++, and I had a question.Currently my procedure is:(a) Configure the peripherals using CubeMX (since I wish to use MX HAL) and generate code .(b) In CubeIDE I rename the main.c file to main.cpp, and then from the project window I ...

shabaz by Associate
  • 1014 Views
  • 2 replies
  • 0 kudos