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.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
  • 673 Views
  • 5 replies
  • 7 kudos

Malloc returns NULL Pointer in FreeRTOS task.

Hello Community, I'm using an ST Nucleo-F767ZI and I create my project, for Atollic True Studio, with Cube32MX.In my project I included FreeRTOS v10.I'm in troubled with the malloc function, because this function return a NULL pointer.I have several ...

FedeRico1 by Associate II
  • 8409 Views
  • 14 replies
  • 1 kudos

Bug: STM32CubeMX code generation for STM32cubeIDE

Hello, I have some problem with the latest version of cubeMX (v6.1.1), it won't create a project file for STM32 (well I would like to use simulink with mat/target before using STM32cubeIDE that's why I use cubeMx and the project work with µvision),th...

0693W000007CqeeQAC.png
SDeha.1 by Associate
  • 1024 Views
  • 2 replies
  • 0 kudos

I2S clock on STM32F303 stuck at 8MHz in CubeMX?

I'm trying to get I2S working on an STM32F303CBTx, but am having trouble configuring the pheripheral in STM32CubeMX. In the reference manual I read:9.2.12 I2S clock (only in STM32F303xB/C/D/E, STM32F358xC and STM32F398xE) The I2S clock can be either ...

Resolved! Why can't I select the toolchain "SW4STM32" for STM32L5?

I installed STM32CUBEMX version 6.1.1 for the project of STM32L5. ​As I edited Project, I couldn't change Toolchain/IDE to SW4STM32.​As below image, ​I could select only EWARM, MDK-ARM, and STM32CubeIDE.​​When I make the code through other toolchain...

0693W000007CkUEQA0.jpg

No printf support on STM32H735G-DK

Hi,I'm trying to run some code on the STM32H735G Development Kit.When simply generating a new firmware in CubeMx (v6.1.1), printf doesn't seem to want to work out of the box and the system hangs. I disable FDCAN init and OCTOSPI init and it can at le...

Arno1 by Senior
  • 1216 Views
  • 4 replies
  • 0 kudos

Resolved! CubeMx and configuring ADC channel(s)

Hi Guys,Im struggling in getting a good way to work with cubemx and multi channel ADC. I want to be able to only change the cubemx file whenever there is a hardware change. Currently i cannot do so because in my firmware i am using HAL_ADC_ConfigChan...

Taxara by Associate III
  • 2118 Views
  • 2 replies
  • 0 kudos