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
  • 798 Views
  • 5 replies
  • 7 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
  • 3337 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
  • 1733 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
  • 920 Views
  • 1 replies
  • 0 kudos

Resolved! [STM32L412] CubeMX generated LL code for ADC TEMP channel

Hi,I'm using CubeMX 6.11.0 (STM32L4 package version 1.18.0) to generate code for the STM32L412 with LL drivers.My configuration enables the VREFINT and TEMP channels for ADC1.The generated function MX_ADC1_Init() contains the line  LL_ADC_SetCommonPa...

ml512 by Associate
  • 886 Views
  • 1 replies
  • 1 kudos