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

Resolved! Generating code for SPI using DMA issue

Hi,I'm working on NUCLEO-H743ZI board, using the STM32CubeMX 5.4.0 tool.When i'm generating code for SPI using DMA - It seems that it doesn't work.I tried to generate the same code for another device (STM32F411 Discovery Board) and i sow that there...

AGutm.1 by Associate
  • 888 Views
  • 2 replies
  • 0 kudos

Resolved! Getting errors after including arm_math.h

Hello i want to use dsp in my project in Keil IDE for that i have to include arm_math.h.In that case i am getting 30 errors C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.6.0\CMSIS\DSP\Include\arm_math.h(1183): error: #79: expected a type specifier  __STATIC_FORCE...

RShar.9 by Senior
  • 5105 Views
  • 11 replies
  • 0 kudos

How make USB HID work on BluePill (STM32F103C8T6)

Hi friends,I am trying to make me USB HID work on STM32 blue pill (STM32F103C8T6).I generated project from STM32CubeMX, Device should be connected like mouse device ,but after i connected blue pill to pc, it showed error message. In device manager->s...

0690X00000D85WFQAZ.png 0690X00000D85WyQAJ.png
AChyt.1 by Associate
  • 2006 Views
  • 1 replies
  • 0 kudos

BUG: assert_fail() fails

Micro: STM32F030RCTx.Compiler: GCC 9.2.1Package: FW_F0 V1.11.0When USE_FULL_ASSERT is enabled, STM32CubeMX generates this function in main.c:void assert_failed(char *file, uint32_t line) { ... }however the prototype in stm32f0xx_hal_conf.h has been ...

DOsbo by Senior
  • 1234 Views
  • 6 replies
  • 0 kudos

GPIO "user labels" are not always defined in main.h

Hello,When you associate a "user label" with a GPIO (for example DEBUG1 associated with PB11), the associated constants are sometimes not defined in the main.h file (but sometimes yes). When it is not, the associated initialization of the port is als...

JVERN.18 by Associate III
  • 1152 Views
  • 1 replies
  • 0 kudos

Getting a USB Device working

I have been given a board with a STM32L4 MCU on it. Basic features are USB connectionUSART QSPI bus connection to flash memory.I have managed to get a bare bones App working using CUBEMX.Eventually this should look like a memory stick from the USB pe...