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
  • 667 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
  • 1579 Views
  • 5 replies
  • 7 kudos

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
  • 1650 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
  • 2290 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
  • 1660 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
  • 717 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
  • 1834 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
  • 1354 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
  • 1089 Views
  • 2 replies
  • 0 kudos

Download STM32CubeMX

I can't download STM32CubeMX from website.It always show this message: "SORRY, PAGE NOT FOUND"How can I fix it ?Thanks!

YChua.2 by Associate II
  • 1326 Views
  • 5 replies
  • 0 kudos