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.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
  • 395 Views
  • 4 replies
  • 6 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
  • 4200 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
  • 3262 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
  • 1705 Views
  • 4 replies
  • 3 kudos

Non-standard SPI transfer and receive options

I'm using a STM32G4 and communicating with multiple devices that use a 16 bit + 1 bit (write/read bit followed by six register address bits, 16 data bits, and a parity bit MSB first) on SPI. What I'm seeing is on transfers i have to shift my data 1 b...

RMas by Associate II
  • 898 Views
  • 1 replies
  • 0 kudos