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

CubeMX and STM32H753I-EVAL2 issues

Having some issues with CubeMX not showing properly the DevKit hardware features. For example:The devkit has an ST-LINK V3 chip (per documentation and according to silk screen) yet CubeMX has the ST-LINK V2 setting available only, ST-LINK V3 is greye...

armDevCP by Associate II
  • 1006 Views
  • 4 replies
  • 0 kudos

How to recover from FR_DISK_ERR during f_write in STM32

Hi all, I am now using SYM32F103RE to read data from codec via I2S & write into SD card. I use the HAL library in STM32CubeMX w/ Chen's fatfs & I2S DMA. Unlucky, f_write will sometime return FR_DISK_ERR. According to fatfs, I can only f_close the fil...

SSin by Associate III
  • 2785 Views
  • 4 replies
  • 0 kudos

Feature request: create pair of .c and .h files

It is a very common practice the source files go in pairs: a .h file with the interface, and a .c file with the implementation.This is acknowledged in CubeMX - which has an option to do exactly that: But, with CubeIDE (in fact, Eclipse), it requires ...

AndrewNeil_0-1730989041590.png

Bug: STM32MX useless CMake C standards check

When STM32MX (6.12.1) is used to generate a CMake project it puts the following logic into cmake/stm32cubemx/CMakeLists.txt: # Validate that STM32CubeMX code is compatible with C standard if(CMAKE_C_STANDARD LESS 11) message(ERROR "Generated code...

Resolved! Bugs in CubeMX 6.12 with new STM32C071 controller

Hello everyone,we are currently developing a new product based on the new STM32C071G8U. Unfortunately, we found some Bugs in the CubeIDE 16.1 CubeMX extension when configuring the peripheral of the microcontroller. 1. All Packages smaller than 48 pin...

DSchm3_0-1730185764666.png DSchm3_1-1730185934524.png DSchm3_2-1730186088139.png
DSchm.3 by Associate II
  • 1133 Views
  • 2 replies
  • 0 kudos