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

Resolved! Generated Dual-Core CMake project Path typo

Hello,I've generated code for a dual cure MCU (stm32H755) and tried to build the project (on a unix system). However, I get an error in `mx-generated.cmake` indicating that the startup file cannot be found. I tracked down the issue to the directory f...

Resolved! CubeMX setting GPDMA1 in UART repeats init members

 Lines 19 and 26 are repeated. Mode is set to normal (0x0000) twice. The structure is already initialized to `={0};` it doesn't need to be overwritten once, let alone twice.Initialized for STM32H563.usart.c  /* GPDMA1_REQUEST_USART1_TX Init */ DMA...

MBC by Associate III
  • 1169 Views
  • 2 replies
  • 1 kudos

Resolved! STM32G4: STM32CubeMX bug for FDCAN?

I am seeing a similar issue in STM32CubeIDE v1.15.1 when trying to configure the FDCAN for the STM32G432KB - I am not able to set "Nominal Time Seg1" or  "Nominal Time Seg2" to '1'.

CTapp.1 by Senior III
  • 1138 Views
  • 3 replies
  • 0 kudos

Resolved! STM32H573VITxQ RMII interface

I'm planning to build a low-power Ethernet project using the STM32H573VI microcontroller. I need to use an SMPS to lower power consumption because of that reason i choose that MCU. During createation of project, I noticed that STM32CubeMX offers RMII...

alpkra by Associate
  • 2041 Views
  • 4 replies
  • 2 kudos

Problems with CubeMx 6.12 + adc5 + dma

In my project I use 4 adc, managed with the same code. With adc5, and two channels, I had a problem: I read two equal values, that is, the second was equal to first channel.After several searches I discovered that, in the adc.c file created by cubemx...