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.14.1 released

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

CubeIDE : support for more than one cubeMx project

I actually have a Nucleo and a custom board. They are running same software and are very identical in terms of hardware but not identical: but there is at 2 pins that need to be changed and UART added: set baud rate, set NVIC IT. I also have to inser...

DaDude by Associate II
  • 624 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeIDE creates main.c but I am using main.cpp!

I converted project from C to C++ with right click on project-> Convert to C++. The problem occurs when I generate the code in graphic configurator . It creates main.c file. Which is also loaded to controller if I run it. How to solve this problem?

0693W00000GZecYQAT.png
MAnto.2 by Associate III
  • 2512 Views
  • 3 replies
  • 2 kudos

using variables / constants in .ioc file from main?

Good afternoon....Can someone tell me how to use constants that are #defined in main back in the .ioc file? I have run the CubeMX and generated the ioc file then generated main. I then do work in main and make some changes to the initialization fea...

SWenn.1 by Senior III
  • 1418 Views
  • 6 replies
  • 0 kudos

Getting GPIO pin to toggle in Blinky

I'm trying to get my embedded skills back from many years ago, so I have an STM32L475 L475E board I am working with. I am using Blinky to reference from, but I can't get the output pin to toggle in the thread for the flashing led./* Private defines -...

BEppe.1 by Associate II
  • 2580 Views
  • 5 replies
  • 0 kudos

STM32cubeMX SDIO HAL driver doesn't work

Hello all, I just start a new project with STM32CubeMX v6.3.0, STM32CubeIDE v1.7.0 & STM32F103RC. When I add the SDIO @ CubeMX, the program just freeze @ MX_SDIO_SD_Init. So I go deeper & find out in function SDMMC_GetCmdResp1, SDIO_FLAG_CTIMEOUT fl...

SSin by Associate III
  • 761 Views
  • 1 replies
  • 1 kudos

Resolved! where i can get "selecting an alternate function for STMH7"

I am very new in STM32, earlier i tried it on CubeMX but no use of it.now i want o start code on register base. like belowlike, https://controllerstech.com/how-to-setup-uart-using-registers-in-stm32/but i am not getting where is alternate function ...

ykn by Senior
  • 664 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeMX6.3.0 DAC+DMA+TIM

I use STM32CubeMX6.3.0 to config DAC ,DMA ,TIM2,and gererate projec for MDK,the initial order is below(auto create by STM32CubeMX6.3.0): MX_GPIO_Init();MX_DAC_Init();MX_DMA_Init(); MX_TIM2_Init();​​then I create a buffer for sin wave,data,and start D...

bmo.11 by Associate
  • 905 Views
  • 2 replies
  • 0 kudos