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

Only Release configuration generation

Hello,I am using STM32CubeIDE v1.14.1. I am trying to setup my project such a way that the code generator generates only Release configuration. Or to be more precise, just to update the only existing configuration (Release, defined in the .cproject f...

ppedro by Associate II
  • 2676 Views
  • 5 replies
  • 0 kudos

Resolved! Error in adc.c generated by STM32Cube FW_G4 V1.5.2

Hi all,just found an error preventing the adc from working properly when the driver is generated by STM32Cube FW_G4 V1.5.2 (and 1.5.1).there are some missing lines like this one:sConfig.Channel = ADC_CHANNEL_2; you can compare my 2 attached files to ...

Yves Bmnt by Associate III
  • 3917 Views
  • 4 replies
  • 2 kudos

Null Packet Size is not visible in CubeMX Gui

HiI think I found a small bug.I copied the settings from one project to another. After that I did a diff to show if I'm missed to change some value. And one variable was missing, so I checked double to find the variable in the GUI, but I did not foun...

Burst_withNullPacketSize_iocNotepad.png Burst_withoutNullPacketSize_GUI.png nonBurst_withNullPacketSize.png
nobody by Associate II
  • 1923 Views
  • 3 replies
  • 0 kudos

STM32CubeMX 6.10.0 hangs on "Generating user source code..."

The STM32CubeMX tool (I'm using 6.10.0) continuously hangs after GENERATE CODE on "Generating user source code..."The STMCubeMX.log file (within the .stm32cubemx directory) shows a java.lang.NullPointerException:  2024-02-20 08:52:19,505 [ERROR] Code...

Reneb by Associate III
  • 5487 Views
  • 9 replies
  • 2 kudos

Resolved! CubeMX does not fit the new cmsis v6 on Keil.

CMSIS need to be updated to the new version.The version 6 changes some register name in header file.(Drivers\CMSIS\Core\Include\core_cm4.h  etc.)Tested on MCU package F3 v1.11.4 and G0 v1.6.2. Guessing all MCU package using CMSIS v5.0.3. 

Zack by Associate II
  • 2828 Views
  • 3 replies
  • 0 kudos

STM32CubeIde not remarking settings correctly

Hi, i found a strang behaviour.I did some settings to the lwip library in MX and taught it would unlock some features but no.There are still grayed out.  Often it works, but it's really confusing.

MOtto.2 by Associate II
  • 1990 Views
  • 1 replies
  • 0 kudos

Resolved! Why STM32F207 is getting stucked in Startup file, when im generating ethernet code from CubeMx 6.8.1

Hello guys!Now a days im facing issue with ethernet configuration in the latest version of CubeMx 6.8.1.When im configuring the ethernet for my F207 nucleo board in its getting stucked into startup file. and through debugging when im pressing F5 butt...