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

CubeMX makes error in generating Project for ARM Keilv5

Hello all!When generating a project for ARM Keilv5 with CubeMX Version 5.1.0, the file system_stm32f4xx.c ist added twice to the project under Drivers/CMSIS heading. This leads to Keil compiling the file twice and results in linker errors as some sym...

herbert by Associate III
  • 694 Views
  • 2 replies
  • 0 kudos

EXTI_InitTypeDef and NVIC_InitTypeDef not recognized.

I set up several pins as EXTI in the CubeMX configurator, but STM32CubeIDE doesn't recognize the EXTI_InitTypeDef and NVIC_InitTypeDef datatypes. Based on the configuration I would expect the correct libraries to be included, but when compiling I get...

MAkke by Associate III
  • 1699 Views
  • 2 replies
  • 1 kudos

STM32H7 and u-SD card on sdmmc1 - Using STM32CubeMX and HAL

Dear friends,I'm Using STM32Cube_FW_H7_V1.4.0 with TrueStudio 9.3.0, on an STM32H753.Has anybody got an micro-SD card working on the SDMMC1 peripheral for an STM32H7?For my it, seems to come with a Timeout error.I initialized it like:void MX_SDMMC1_S...

Jack3 by Senior III
  • 5578 Views
  • 10 replies
  • 0 kudos

STM32CubeIDE - Change default names for generated code

I am successfully generating init code with the Cube IDE tool. However, it gives me names like "MX_USART3_UART_Init" for example. I would like this to be something intuitive to the application like "Motor1_UART_Init". I have searched but can't find a...

JMill.1 by Associate III
  • 573 Views
  • 1 replies
  • 0 kudos

USB Disconnect, Reconnect Issue.

While I was getting my USB CDC VCP working using CubeMX, and thanks to everyone who gave feedback, I ran across a statement regarding a bug in the USB stack. The issue was with the handling of a disconnect / reconnect event and device manager not re...

MBang.1 by Associate II
  • 720 Views
  • 1 replies
  • 0 kudos