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
  • 743 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
  • 1623 Views
  • 5 replies
  • 7 kudos

CubeMX changes optimization flags again

Hello,CubeMX and libs version as in this topic: https://community.st.com/s/question/0D50X00009cegytSAA/l4-cubemx-package-ver-112-inconsistency?t=1534139773066The problem is that each time one regenerates the project using CubeMX, the optimization fla...

0690X000006BsmLQAS.png

STM32Cube FW_F7 V1.12.0 CDC problem

After updating STM32Cube FW from F7 1.11.0 to 1.12.0 I encountered some problems with CDC FS on STM32F745VET. Short examples of simple code:main.h/* USER CODE BEGIN Private defines */ struct rxDataStruct { unsigned char dataReceived; uint8_t data[2...

Vthe by Associate II
  • 494 Views
  • 0 replies
  • 0 kudos

CubeMX - Terrible ERROR!

Hi,I have an unpleasant experience with NEW CubeMX 4.26.1. I had project for Cube in veriosn 4.20 or something like that. But unfortunately, when I updated the CubeMX to vesrion 4.26.1. Then I opened my project in it, and then after generating code ...

JAN R by Associate III
  • 651 Views
  • 2 replies
  • 0 kudos

CubeMX (4.26.1) is deleting drivers folder (again?)

Seems like a number of builds of cubemx in history have done this and the response from ST is that a new version fixes it. Or am i doing something wrong?If it is a reoccurring bug, perhaps you guys need to consider revising your automatic-regression-...

DJC by Senior
  • 1074 Views
  • 8 replies
  • 0 kudos

stm32cubeMx generate LL init function void MX_SPI2_Init(void) but th e function is not correct in slave mode.

first line in function MX_SPI2_Init() LL_SPI_InitTypeDef SPI_InitStruct; is not filled with zero'sand baudrate is not set for slave mode.But in in funtion LL_SPI_Init baurate is filled in an the destruct SPI CR1 register.I have there fore init the st...

CUBEMX BUTON ADC INACTIVE FOR STM32F205

Hello, i validated IN0 and IN1 for ADC1 and ADC2 in CubeMX Pinout tab; in configuration tab, the button ADC and ADC2 are inactive : i can't configure the ADCAny idea to solve this ?Thanks for any supportRegardsNB : it works well for STM32F3 devices.....

CubeMX F3 USB code generation bug

Hi,I'm trying to use the current CubeMX to generate USB CDC code for SMT32F303RE. The generated code doesn't connect to my Windows 10 machine. The device not even appear.I did almost the same on STM32F411RE and STM32F407VG, both works perfectly.Looki...

ZGomo by Associate
  • 1200 Views
  • 5 replies
  • 1 kudos