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
  • 536 Views
  • 5 replies
  • 6 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
  • 2901 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
  • 956 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
  • 826 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
  • 1067 Views
  • 2 replies
  • 0 kudos

Resolved! How to generate code with HAL_NVIC_DisableIRQ by default

Hi, I would like to use cubeide (MX tool) to generate a project that use EXTI_13 but with IRQ disabled by default. I can choose Enable/Disable (generate all code or none), Create code on MSPInit function or in MX_NVIC_Init, call HAL_GPIO_EXTI_IRQHand...

Lgarb.1 by Associate II
  • 1660 Views
  • 2 replies
  • 0 kudos

Resolved! DMA _Init() being called in wrong place by code generator

The code generator is inserting the DMA_Init() and BDMA_Init functions in the wrong place, leaving DMA not working unless I manually move them after every call code generator run.I place them in the USER CODE segment above the INIT segment then remov...