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
  • 488 Views
  • 5 replies
  • 6 kudos

STM32Cube generation code problem?

I have problem when I generation code , my computer hangs.only alt+control+del is work :) ,what can i do ?I thought is the installation of java problem, reinstall not helped, after that reinstall cube and this not helps what can I do now I don't know...

VBond by Associate
  • 403 Views
  • 0 replies
  • 0 kudos

CubeMX - User Code sections are deleted after regeneration

Hi,I am generating the basic initialization of my projects code with CubeMX. As far as I understood it, the user can insert "USER CODE" sections to prevent the automatic code generator from overwriting these code blocks.In my case, I want to prevent ...

JAlth by Associate
  • 516 Views
  • 0 replies
  • 0 kudos

Enable FreeRTOS Queue Sets in CubeMX

I am developing firmware for the STM32F413 that uses FreeRTOS, and I need to create a queue set. Thus far, I have been unable to find a way to enable queue sets in CubeMX. Obviously I can manually go into FreeRTOS.h and change the configuration const...

USB MSC and FatFS on the same mass storage device

Hi,for my current project, I like to use the FatFS library to read/write data to an SD card, connected to a STM32F429 through SDIO interface. This generally works and I can create/read/write files on the SD card.In addition, I like to use USB mass st...

JAlth by Associate
  • 977 Views
  • 0 replies
  • 0 kudos

HAL_Delay issue

This has been posted in the "Community" space but actually belongs here. -- pahttps://community.st.com/s/feed/0D50X00009nLfs2SAC

Pavel A. by Super User
  • 470 Views
  • 0 replies
  • 0 kudos

STM32CubeMX code generation error

Posted on November 09, 2015 at 11:52When generating MX_Device.h with CubeMX for a STM32F407 device, the following pin names are illegal, because there is minus sign in the name:/* Pin PA13 */&sharpdefine MX_SYS_JTMS-SWDIO_Pin                   PA13/...

Why CubeMX generated code wipes out USER CODE areas ?

I use the latest STM32F4CubeMX and latest TrueStudio and updated firmware library. I have chosen in the Project Settings "code generator" option "Keep User Code when re-generating" but it does not. User code is strictly within the USER CODE labeled ...

eBirdman by Senior II
  • 540 Views
  • 2 replies
  • 0 kudos