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

STM32CubeMX: Project generation have a problem

Hello, I am using STM32CubeMX version 4.26.1 and Keil uvision5. For a simple LED blinking example, I have made a model in Matlab/Simulink (both in version 2017b and in version 2018a). However, when I click on "build model" on Simulink, I receive an e...

0690X000006By3UQAS.png
OYava by Associate
  • 2555 Views
  • 4 replies
  • 0 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
  • 4017 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