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

STM32MX as a live peripheral interface

I have a request.The complexity of the peripheral features and the peripheral registers with the inter dependent settings makes it difficult to get everything right the first time or even after multiple tries.  This involves a code generation, code c...

RChap.1 by Associate II
  • 239 Views
  • 3 replies
  • 2 kudos

Resolved! STM32N6 cubeMX bugs and function portability problems

With new and fast N6 MCU comes new CubeMX package which is full of bugs and errors, I spending hours to find and solve such problems, now I cant trust cubeMX at all, every function must be checked after code generation !ADC rank must be 7, but cubeID...

TheImmortal_0-1750328954613.png TheImmortal_1-1750329528935.png TheImmortal_2-1750330715663.png

STM32H755 Power Regulator Voltage scaling issue

I am using STM32H755 microcontroller and STM32CubeMX V6.14.0 for my development.I am not able to set the clock frequency to 480MHz. Whenever I do so, I receive power regulator voltage scaling error.The product revision used by me is rev.V. The RCC pa...

Damon03_1-1750822248920.png Damon03_2-1750822285264.png
Damon-03 by Associate
  • 202 Views
  • 2 replies
  • 0 kudos

Resolved! STM32H735G-DK: RGMII Ethernet interface with RX_ERR?

Hi,when looking into the schematics of the STM32H735G-DK board (MB1520B), the Ethernet-PHY is connected via RMII.Now when I configure RMII for an STM32H7 in CubeMX, the interface pins do fit properly to what is used in the MB1520B schematics - except...

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

TouchGFX and USBPD

Hello.  I am trying to create a project that uses both the Nucleo GFX01M2 and SNK1M1 with the G071RB dev board. I want to configure my setup as a USB sink device. However, in STM32CubeMX I can select either the sink USBPD application, or the Touchgfx...

TS-LMG by Associate III
  • 438 Views
  • 8 replies
  • 2 kudos

Resolved! RTC Calendar resets in CubeMX generated Init function

Hi everyone ! first time poster, hope I'm doing it right.I'm working with an STM32F107VCT and using CubeMX to generate code.I have an issue with the RTC calendar, it goes back to 0 every reset which, if I'm not mistaken, it should not on a soft reset...

gjanet by Associate II
  • 3667 Views
  • 10 replies
  • 4 kudos

Resolved! Support relative paths in IOC file

I fully appreciate that CubeMX is geared towards hobbyists and demo projects.But let's imagine for a second that someone is trying to use this software professionally.I have created a template to generate some custom code with CubeMX and it works as ...

Armandas by Associate III
  • 2768 Views
  • 10 replies
  • 0 kudos