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.17.0 released

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1756 Views
  • 0 replies
  • 2 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
  • 3988 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...

SteveM732 by Associate II
  • 1403 Views
  • 2 replies
  • 1 kudos

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
  • 1876 Views
  • 2 replies
  • 0 kudos

STM32L4R9 Octo SPI test

I want to use L4R9's OSPI interface.I only have a microcontroller board, and I want to test whether it can send data.During the test, I found that the HAL_OSPI_Transmit() function never sends data,and the oscilloscope cannot pick up the waveform.It i...

maya123_0-1730275514056.png maya123_1-1730275518839.png
maya123 by Associate II
  • 2452 Views
  • 5 replies
  • 2 kudos
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.