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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

STM32F7 FMC SDRAM error after reinit

I have a custom board. There I have an issue with the FMC SDRAM after the HAL_SDRAM_Init call when calling it a subsequent(!!!) time. It works when doing the call the first time. I then deinit the SDRAM because of some current consumption tasks. When...

LFeld.1 by Associate
  • 1436 Views
  • 0 replies
  • 0 kudos

Resolved! HAL PWR Wakeup PINS do not match datasheet and cubemx.

Please tell me why the wakeup pin numbers are shifted up by one in the HAL PWR lib?See.. https://community.st.com/s/question/0D53W00001DKQdnSAH/wake-from-standby-not-working-stm32h753iit6?t=1637613024141If there is a legitimate reason for this mappin...

FColl.1 by Associate III
  • 1782 Views
  • 8 replies
  • 0 kudos

Resolved! I cannot use SW pins as GPIO for some reason

I swear i was able to do this in the past but then ...... then i updated from 6.3.0 to cubeMX 6.6.1.Maybe thats the reason, maybe not . Im using a stm32f105RBT6When i flash the chip and remove the stlink both PA13 and PA14 are stuck into some idle 1,...

0693W00000WJQkaQAH.png 0693W00000WJQhvQAH.png
Javier1 by Principal
  • 1322 Views
  • 5 replies
  • 0 kudos

If I want to make custom code structure or if I want to maintain 2 applications which have 2 different folders but can use same STM code, Is it possible? Can I change directory structure from cube MX or from any other tool?

If I want to make custom code structure or if I want to maintain 2 applications which have 2 different folders but can use same STM code, Is it possible? Can I change directory structure from cube MX or from any other tool? Like 2 applications which ...

AShah.10 by Associate
  • 570 Views
  • 1 replies
  • 0 kudos

Cant change user labels for pins in cube 6.6.1

I tried to change the user label for multiple pins in Cube 6.6.1 running on a mac without luck. On the rare occasion where it takes the label, it ends up on the pin in the table reversed and you can't change it. For instance, I entered "TIM3" and ...

Resolved! TrueSTUDIO 9.3.0 : undeclared and unknown type error

I'm new in embeded programming. and now I'm trying to test UART with NUCLEO-F103RB. I installed STM32CubeMX 6.6.1 and TrueSTUDIO 9.3.0. I created using CubeMx and compiled with TrueStudio, but failed.. there are many undeclared(first use in this func...

TKyeo.1 by Associate
  • 1570 Views
  • 2 replies
  • 0 kudos

STM32 CUBE MX FATFS HEADER FILE INCLUDE ISSUE

Hi All,​I am currently building a project with USER-DEFINED FATFS (since my SD card mount on SPI instead of SDIO). I notice two weird include statement, FFCONG.h LINE 25 and 26,"#include "main.h"#include "stm32f4xx_hal.h""which are unnecessary becaus...

MXian.1 by Associate
  • 1092 Views
  • 3 replies
  • 1 kudos

Resolved! Possible erroneous CubeMx code generation

I noticed that CubeMx (version 6.6.1 and earlier) when generating the code, may place the MX_DMA_Init() function after other ***_init functions that configure DMA registers. The problem is that those registers cannot be accessed 'before' enabling the...

GZini.16 by Associate
  • 903 Views
  • 2 replies
  • 0 kudos