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.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
  • 965 Views
  • 5 replies
  • 7 kudos

CubeMX generates garbage CDEF line in Makefile

I've just recently started to use makefiles and one of the requirements is passing a few defines to the compiler. These I define in CDEF as CDEF = -DVAR1 -DVAR2 -DVAR3but after running the code generation, CubeMX has changed that to -DCDEF = VAR1 VAR...

Cannot get FMC SDRAM driver to work on stm32f429 discovery board

Using CubeMX configuration specific to stm32f429 discovery board which configures FMC to support SDRAM board. Have a memory test program that tests the 8Mb memory available at 0xD0000000. This program fails to run by triggering a hardware fault excep...

MLiva by Associate III
  • 3993 Views
  • 10 replies
  • 1 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
  • 1695 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
  • 1036 Views
  • 4 replies
  • 0 kudos