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

Problemes Cube MX and FreeRTOS on STM32U5

English belowPlusieurs problèmes avec X-CUBE-FREERTOS.1.2.0 , 1.3.1 , 1.4.0 et suivant (MDK-ARM) :1) Si je ne met pas TOTAL_HEAP_SIZE à au moins le double que nécessaire, les dernières taches déclarées dans CubeMx ne sont pas exécutée . Aucune alerte...

Markko67 by Associate II
  • 218 Views
  • 3 replies
  • 1 kudos

Line endings - bug in CubeMX, all versions

Code generated by CubeMX use Windows line-endings, which generate huge problems under other operating systems (repository, editors, etc.). You have to strip CR-LFs after every code generation.Somebody should use standard method of platform-independen...

trzeci by Associate III
  • 2390 Views
  • 15 replies
  • 6 kudos

Resolved! Cannot download STM32CubeMX

Attempting to download the new STM32CubeMX 2.0 (required since not included in STM32CubeIDE anymore) does not work from your site.https://www.st.com/content/st_com/en/stm32cubemx.html# has links all over the page to "Download STM32CubeMX"...Unfortuna...

Screenshot 2025-12-10 at 13-07-56 STM32CubeMX Graphical tool - STMicroelectronics.png Screenshot 2025-12-10 at 13-09-49 STM32CubeMX Graphical tool - STMicroelectronics.png

UART DMA transmit works only one time

Hello,I got a problem with HAL library 10.4 for STM32L152RE in UART DMA transmission, the data is transmited only one time using the function HAL_UART_Transmit_DMA(&huart3,t_Buffer ,11) using uart3,  after that the UART3 structure keep the "flag" hua...

STM32CubeMX 6.16.0 - questions

Following the article Security:How to start with STM32CubeMX Secure Manager on STM32H57 - stm32mcu I'm stuck in the step 3.2 Boot Path Configuration. At this point, STM32CubeMX had grayed out the button "Select" in Boot Path Selection. It is released...

Marcos3 by Associate II
  • 248 Views
  • 2 replies
  • 1 kudos

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
  • 324 Views
  • 0 replies
  • 1 kudos

Resolved! STM32CubeMX does NOT work in quiet mode

Follow-on from CubeMX code generation from command line.I am posting again in hopes of getting meaningful answer.I tried creating a simple script text file to automate code generation for my project. The script file has all of three lines:config load...

Resolved! STM32C071 ADC ranking missing in CubeMx

A new question moved from this thread. Thank you a lot! But still I have many questions regarding this. Like this one: I have configured the ADC with the Temperature Channel and Vref int channel to be used with DMA. However in many examples they show...

Matthias32_0-1765548300336.png

Resolved! STM32CubeMX(6.15.0) bug for NUCLEO-H723

In the STM32CubeMX configuration interface, there are two identical options here.They can be configured into different options.After generating the code, it will be based on the configuration of the second option.  

istery_0-1757838266221.png istery_1-1757838420502.png istery_2-1757838480946.png
istery by Associate II
  • 386 Views
  • 2 replies
  • 0 kudos