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.15.0 released

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

GPIO "user labels" are not always defined in main.h

Hello,When you associate a "user label" with a GPIO (for example DEBUG1 associated with PB11), the associated constants are sometimes not defined in the main.h file (but sometimes yes). When it is not, the associated initialization of the port is als...

JVERN.18 by Associate III
  • 1003 Views
  • 1 replies
  • 0 kudos

Getting a USB Device working

I have been given a board with a STM32L4 MCU on it. Basic features are USB connectionUSART QSPI bus connection to flash memory.I have managed to get a bare bones App working using CUBEMX.Eventually this should look like a memory stick from the USB pe...

Stm32CubeMX deleted my desktop folders/files

Hello there, i chose Desktop as the location of my program then generated the code. The code saved well in my desktop but all the desktop files and folders were deleted!!! Even the ones in my Mac desktop although I am using CubeMx in windows 10. now ...

MAlma.1 by Associate
  • 384 Views
  • 0 replies
  • 1 kudos

FATFS + DMA + FreeRTOS on STM32F446 Fixed

Hi guys i was trying to get the FATFS + DMA + FreeRTOS on STM32F446 working and you have a small error in your code. In order to get the SD Card to work, the HAL_SD_TxCpltCallback and HAL_SD_RxCpltCallback functions in bsp_driver_sd.c should not have...

NMan.11 by Associate II
  • 1246 Views
  • 5 replies
  • 1 kudos

STM32CubeMX Generates Invalid Project

Hi,I use STM32CubeMX and SW4STM32 on my Macs. When I generate a project using CubeMx on my Mac running MacOSX 10.14 it loads fine into SW4STM32 and builds into a valid .bin. However, project files generated on my Mac running OSX10.15 does not compile...

0690X00000D95e1QAB.png

Does new project use all the available RAM?

I have created new project with STM32CubeMX for my STM32F091RC. I have noticed that when allocating memory it ends very fast. Do I need to change any settings to use all of the available 32Kb of memory?In "startup_stm32f091xc.s" I find these values:S...

JBond.1 by Senior
  • 1820 Views
  • 13 replies
  • 0 kudos

STM32G431KBU SPI Clock limited to 40MHz by CubeMX?

Hi Community, I'm using CubeMX 5.5.0 to setup my STM32G431KBU application, with these parameters:  SYSCLK = 100MHz  APB2 peripheral clock = 100MHz  SPI1 mode = Full-Duplex Master  Clock Parameters -> Prescaler (for Baud Rate) = 2then I receive an "Pa...

Jhon by Associate II
  • 2544 Views
  • 6 replies
  • 0 kudos