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

Resolved! Basic stm32G4 rtos cube generated : build error

cubemx: 6.11   cubeide:1.15  cubeg4:1.5.2 azrtospackage:2.0.0./AZURE_RTOS/App/app_azure_rtos.c:53:14: error: expected ';' before 'static' 53 | __ALIGN_BEGIN static UCHAR tx_byte_pool_buffer[TX_APP_MEM_POOL_SIZE] __ALIGN_END; | ^~~~~~~ | ; ../AZURE_RT...

oss-mazi by Associate II
  • 2365 Views
  • 3 replies
  • 2 kudos

Resolved! Configuring external SRAM for STM32H743 using CubeMX

Dear ST Community,   I need to use an SRAM with the STM32H743AII6 MCU. When I try to configure the project on CubeMX, a warning appears next to the FMC line. I feel like I should fix this before going further with the configuration. I am curious why ...

cubemx_fmc.PNG
jd2 by Associate II
  • 5896 Views
  • 6 replies
  • 5 kudos

StandAlone STM32L452CEU6 Application

Hello everyone,I'm working on a Data Logger that inputs strain gauge sensor signals. I've already tested successfully my application on bread board but now it requires a standalone implementation in a new PCB. Since I can not waste shots I'll ask the...

Giova1 by Associate
  • 1698 Views
  • 1 replies
  • 0 kudos

Resolved! CubeMX support for Cmake

Hello, I would like to use the offical VScode extentention together eith STM32CubeMX.The guide says I need to set up MX generator Toolchain / IDE to Cmake.However I have no such option: How could I use the extention with CubeMX?I remember the option ...

yourigh_0-1713210486041.png
yourigh by Associate II
  • 6017 Views
  • 6 replies
  • 1 kudos

STM32F401 SPI CLK turns off with DMA

Hello Got a weird issue, to further test I created  blank project with no other code to rule out conflict. When I put in HAL_SPI_Receive_IT(&hspi3, SPI_RX_BUF, 2);,According to my logic analyzer, the clk and data pins stay high and dont move. When I ...

i-3.jpg i-2.jpg i-1.jpg i-4.jpg

UART DMA Memory Corruption during Buffer Wrap-Around

I'm using HAL UART Receive with DMA (configured using CubeMX). I'm encountering a problem where data via UART, send in chunks, is corrupted if a chunk doesn't fit at the end of buffer perfectly. By chunks I mean a set of byte-sized data that is trans...

01555cdd-5cbd-43c4-a234-eb25a712e08a.jpg 2567e32a-06ac-4be4-a013-18cc8052056c.jpg
lgacnik97 by Associate III
  • 5480 Views
  • 9 replies
  • 3 kudos

Resolved! Vbat ADC setting is missing in the new version

Hi, i'm using STM32H750VB and i could previously make the Vbat measurement setting under Analog->ADC3 in the old version of cubemx (6.10), but this option has been removed in the new version (6.11). Also the temperature sensor setting is lost.  Is th...

CubeMX610.jpg CubeMX611.jpg
Eralp by Associate III
  • 3087 Views
  • 4 replies
  • 3 kudos