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
  • 456 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
  • 1444 Views
  • 5 replies
  • 7 kudos

Resolved! Overflow on timeouts in STM32 HAL driver

Every code in HAL driver has the below structure that doesn´t care about overflow on HAL_GetTick().... tickstart = HAL_GetTick();   while (Something()) { if (Timeout != HAL_MAX_DELAY) { if (((HAL_GetTick() ...

NUCLEO-F411RE: user USB support

Hi,I am using NUCLEO-F411RE for development and wondering whether I can developed user USB Device application with custom VID and PID. I tried custom hid example from STM32Cube_FW_F4_V1.24.0 SDK but seems not working, once downloaded I can see only 1...

DHinge by Associate II
  • 1266 Views
  • 1 replies
  • 0 kudos

How to get STM32CubeMX to include DSP Header files?

I have searched, but I cannot find any information how to get the newer STM32CubeMX 5+ or the STM32CubeIDE to include the DSP header files arm_math.h, arm_const_structs.h, and arm_common_tables.h. They were copied on the older versions. How do I tell...

Stephen28 by Associate III
  • 6748 Views
  • 23 replies
  • 4 kudos

Hardfault error in SPI slave - polling mode

Hi, I am using cubemx to configure a stm32f411ve board as slave in receive only, polling mode and sofware NSS, in the code generated I have only added a few lines of code, only which I consider neccesary**the master sends 12 bytesoutside main functio...

OPAMP's of STM32G474 reserve not needed output pin when using internal output connection ? (probably BUG or incorrect CubeMX behavior/ no correct option).

Hello ST community,When I use OpAmp's of STM32G474 and configure all of them to internal ADC connection, all of them still reserve external output pins as analog .I'm using : OpAmp's in Inverting mode, with PGA enabled, positive input internal conne...

MMatj.1 by Associate II
  • 1974 Views
  • 8 replies
  • 0 kudos

MDK-ARM project generation failed

Using the latest version 5.5 of stm32cubemx. When I try and generate a new project I get the following error after clicking generate codeThe resulting project file is unusable.I've attached the ioc file for this project.I'm presuming this is a bug th...

0690X00000BwNsfQAF.png

Resolved! STM32H750VBT6 ADC-DMA doesn't work.

Hi all,I'm using STM32H750VBT6 and CubeMX 5.5.0 for my project. My problem is that I couldn't read ADC values using DMA. I have tried many ways but still stuck on this. Please provide any solution to this.Thanks,Duc-Toan Tra

DTra.1 by Associate
  • 2673 Views
  • 3 replies
  • 0 kudos