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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

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
  • 2605 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
  • 1052 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
  • 1037 Views
  • 5 replies
  • 2 kudos