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
  • 396 Views
  • 4 replies
  • 6 kudos

Resolved! STM32G4 RX DMA not working

I have a Nucleo board https://www.st.com/en/evaluation-tools/nucleo-g491re.htmlI have configured USART1 on PC4 and PC5 in STM32CubeMX, with interrupts and RX DMAI can send but not receiveI was able to get it working on a discovery board before with t...

STm32H745 M4 Clock limitation problem

Hi! I am working with the dual core STM32H745 nucleo board, currently on the M4 core.I am having trouble with configuring my wanted system clock frequency.I want the clock to be 200 MHz and accordingally i try to set it in the CubeMX clock config int...

0693W00000GYfaCQAT.png 0693W00000GYfdQQAT.png
yuri CH by Senior
  • 2452 Views
  • 13 replies
  • 0 kudos

Problem in CubeMX 6.4.0 with correct ADC settings

CubeMX 6.4.0 shows an invalid setting for ADC Continuous Conversion Mode.But this entry has to be disabled in this configuration for correct operation (one ADC channel is triggered by timer). It was also no problem in earlier CubeMX versions.@STM: Ca...

0693W00000HqSUaQAN.png
SStor by Senior
  • 727 Views
  • 1 replies
  • 0 kudos

Resolved! I want to read / write NORFLASH that is externally connected to H723.

H723ZGT6 Nucleo-144CubeMX 6.3.0[ data sheet ]   H723: DS13313 Rev2[NOR Flash]   S25FL256L[Reference manual]   H723: RM0488 Rev2   S25FL256L: 002-00124 Rev. * HI am currently using H723 to create a project to read and write NORFLASH.However, the read ...

june by Associate III
  • 2270 Views
  • 7 replies
  • 0 kudos

Fail to generate code with cubeMx 6.4

Hello,I'm generating code with CubeMx 6.4.0 with a command line.The generation ends with an error even if the files seems to be correctly generated. Here's the log and the ioc file.ThanksJulien

JulienD by Senior
  • 1172 Views
  • 4 replies
  • 0 kudos

Resolved! STM32H7 nucleo - DMA tab in cubeMX configuration of SDMMC

Posted on January 12, 2018 at 20:49Hello,I am trying to use SDMMC/SDIO with DMA + FATFS. When creating project on stm32f7, I can find and configure DMA streams for the sdmmc.I am working with cubeMX version 4.23.Screenshot from STM32F7 - DISCO cube ...

0690X00000609JbQAI.png 0690X00000609LqQAI.png

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
  • 7030 Views
  • 13 replies
  • 2 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
  • 923 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
  • 1274 Views
  • 1 replies
  • 0 kudos