STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.13.0 released

We are pleased to announce to you that the release 6.13.0 of STM32CubeMX is available. What is new in 6.13.0: Added support for the following series, microcontrollers and microprocessors: STM32N6, STM32U3, STM32WL3x, STM32G411xx and STM32C0Added the ...

Resolved! STM32H743 (STM32H7) SDMMC DMA not configurable

Hello, I'm attempting to use the SDMMC with an SD card, and with DMA. However, when I use the STM32CubeMX IDE, there is no option to enable or use the DMA. Using: STM32CubeMX version 5.3.0Here's the configuration for SDMMC1 on the STM32H743And here i...

0690X00000AA4V8QAL.png 0690X00000AA4VIQA1.png
caleb by Associate III
  • 4470 Views
  • 13 replies
  • 0 kudos

Resolved! Method to reorder peripheral init functions? (DMA BUG)

Is there a way to reorder the peripheral initialization functions in the main.c auto code without opening the .ioc file? MX_DMA_Init() was getting called after MX_USART1_UART_Init() in my project, which was causing the DMA instance's registers to not...

ALars.2 by Associate II
  • 540 Views
  • 2 replies
  • 0 kudos

Resolved! cubeMX 6.4 dialog box breaks command line build

HelloVersion 6.4.0 (and maybe some versions before) introduces an ugly dialog box when generating code. This dialog box breaks command line generation because it needs somebody to click.Can it be replaced by a warning in the logs?ThanksJulien

JulienD by Senior
  • 759 Views
  • 1 replies
  • 0 kudos

STM32CubeIDE v1.8 generation error

/** * @brief GPIO Initialization Function * @param None * @retval None */ static void MX_GPIO_Init(void) { GPIO_InitTypeDef GPIO_InitStruct = {0};   /* GPIO Ports Clock Enable */ __HAL_RCC_GPIOB_CLK_ENABLE(); __HAL_RCC_GPIOC_CLK_ENABL...

ivainc by Associate III
  • 809 Views
  • 3 replies
  • 0 kudos

Incorrect code generation for PLL of F767

I want to use HSI, not external component to generate frequency. I generate code by CubeIDE only (pack 1.16.1), there is no my code. I only add define USE_FULL_ASSERT and implement void assert_failed. But CubeIDE's code fails on assert_param(IS_RCC_P...

0693W000008xivuQAA.png 0693W000008xiw4QAA.png

CubeIDE strange build behaviour

I know, it's not easy to get this answer this way. I have a working F446RE code with CubeMX generated base in CubeIDE. I use the LL drivers and just simple int and string variables, not any dynamic memory handling. In some cases if I insert a new cod...

Peterb by Associate
  • 767 Views
  • 5 replies
  • 0 kudos

Resolved! SAI slot number bug in CubeMX 6.4.0

Datasheet claims that with FSDEF=0 (FS signal is start frame, not channel identificaion) i can set up number of slots (NSBLOT) to any value. In my case 1. CubeMX claims that it must be equal two (which is not true). When i try to set value to 1, then...

stm32h7b0vb ADC+dma always Overrun Error

ADC Trigger from Timer,DMA transmit ,and then Always Overrun Error, buffer address @0x30000000.Data can not be transferred to buffer correctly,ADC1 register DR is 0x801 while buffer is 0x01.

0693W00000HpnN9QAJ.png
wjun.1 by Associate
  • 653 Views
  • 3 replies
  • 0 kudos