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
  • 682 Views
  • 5 replies
  • 7 kudos

HRTIM Dead time feature request

Hello, is it possible to add a feature in CubeMX deadtime section in HRTIM (STM32F3, STM32G4 and STM32H7)?In Time Base Setting, whenever you change the "Period" setting, the resulting frequency will show.Is it possible to add the same feature when yo...

Resolved! I am using STM32CubeMX (Version 6.0.1) to transfer a basic project using an STM32F407VGTX chip to Keil uVision5 (V5.32.0.0) but the project files are not transferring correctly. None of the files seems to be correctly assembled in Keil.

I have attached a screenshot of a comparison of a project that works (an old one that I created previously in an older version of STM32CubeMx) on the left hand side of the window versus one I just created today using the most recent version of STM32C...

PMorr.1 by Associate II
  • 1744 Views
  • 6 replies
  • 0 kudos

FREE RTOS / SDCARD / SDIO / FATFS f_open Problem

I am using STM32F767NIH6 board.I would like to apply SD card this time.It works well in non os, but in free rtos, the sd card fails.if(HAL_GPIO_ReadPin(SD_DETECT_GPIO_PORT, SD_DETECT_PIN) == 0){ if(f_mount(&SDFatFS, (TCHAR const*)SDPath, 0)!=FR_OK) p...

0693W0000059Pu7QAE.png 0693W0000059PtnQAE.png 0693W0000059PtTQAU.png 0693W0000059PsuQAE.png
Ljunh.1 by Associate II
  • 3708 Views
  • 11 replies
  • 1 kudos

Resolved! STM32H757 FMC SDRAM1 Warning in CUBEMX.

Dear Friends.Can someone explain the warning in the picture attached?If I change the "Clock and chip enable" parameters, the warning keep on.Best Regards.Thank you!

CKUND.1 by Associate II
  • 1455 Views
  • 1 replies
  • 0 kudos

Resolved! I can’t start the CAN module on STM32F103C8 in normal mode

when I run the CAN module in loopback mode - packets transferred to the bus - everything is OKwhen I run the CAN module in silent mode I will receive packets - everything is OKbut when I start the CAN module in normal mode - 15 pulses go out on the T...

STM32CUBEM MX generated HAL code size is more

Hi, I am using STM32F746 discovery board and I generated code using STM32CUBEM MX. I just enabled external crystal as clock and UART. My .text session code size is 10188 bytes which is like 10KB. I wanted to add this code as bootloader but I feel 10...

0693W000004IQGWQA4.png

Stm32CubeMX USB Download Firmware Update class not working

I have been experimenting with adding the USB DFU to firmware using the Stm32CubeMX. On both a "black pill" STM32F411 and a home made STM32F405 board, pulling boot0 high during reset, the device will show up as DFU and I can flash new firmware using...

lbthomsen by Associate II
  • 1595 Views
  • 2 replies
  • 0 kudos