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
  • 218 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
  • 1215 Views
  • 5 replies
  • 7 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
  • 2528 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
  • 2146 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
  • 2900 Views
  • 6 replies
  • 0 kudos

Resolved! Makefile project for STM32G431 fail to build

Hi all,I am trying to create simple makefile project in CubeMX for stm32g431. After executing makefile I get error:/home/pawel/STM32Cube/Repository/STM32Cube_FW_G4_V1.1.0/Drivers/CMSIS/Include/cmsis_gcc.h: In function '__get_CONTROL': /home/pawel/STM...

PHryn by Associate III
  • 3317 Views
  • 10 replies
  • 0 kudos

Using STM32F407 timer

According to STMCube, one may use channels 1,2 as encoder, and channels 3,4 as PWM output simultaneously.I doubt that.The moment the SMCR register bit 0 is activated, PWM disappeaars.This makes sense, as there is only one counter register.Best Regard...

JSmit.51 by Associate
  • 917 Views
  • 3 replies
  • 0 kudos

STM32F1 V1.8.0: ADC and DMA in continuous mode

I updated the software package for the STM32F1 MCU from the 1.6.0 version to 1.8.0 and I then felt in trouble with the ADC acquisition with the DMA in continuous mode : the data sound to be shifting in the buffer.I read 3 signals (actually RGB LED). ...

TPier by Associate III
  • 1208 Views
  • 4 replies
  • 0 kudos