STM32CubeMX (MCUs)

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

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
  • 897 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
  • 1302 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...

Resolved! USB HID device on STM32F042F4 using CubeMX - FLASH overflow.

Hi,When I set the USB class to anything in CubeMX, the compiler gives me the error - FLASH overflow. It happens even with a completely empty main.c file, so is there a way to make it work, or should I choose MCU with 32kB flash (it will fit then)? Th...

Xses by Associate II
  • 1071 Views
  • 2 replies
  • 0 kudos

ST-Link debugger connection lost after adding DMA to SPI

With STM32CubeIDE 1.7.0 (Windows) I try to setup SPI2 with DMA at an Nucleo-G431RB.After starting with an new STM32Cube C-Project for the Nucleo-G431RB with all peripherals at their default settings, I enable SPI2:Full-Duplex Master at PB[15:13]8bits...

SZwie by Associate
  • 1501 Views
  • 5 replies
  • 1 kudos

Resolved! STM32H7, Where parameter RCC.Cortex_Div is used?

I'm generating a CubeMX project for STM32H753.In the clock config, set the systick divisor 8 (see picture).Difference in the ioc file: for divisor 1:RCC.CortexFreq_Value=400000000For divisor 8:RCC.CortexFreq_Value=50000000RCC.Cortex_Div=SYSTICK_CLKS...

0693W00000GZCQZQA5.png
Pavel A. by Evangelist III
  • 600 Views
  • 3 replies
  • 0 kudos