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

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
  • 1913 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
  • 2641 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
  • 2977 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
  • 804 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
  • 1039 Views
  • 4 replies
  • 0 kudos