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.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! 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
  • 1290 Views
  • 2 replies
  • 0 kudos

Resolved! what are the procedures followed replacing STM32F401RE IC with same IC in NUCLEO board ? In terms of boot loader.

I am using NUCLEO-64 stm32f401 and had to replace the IC with a new one of the same type since the old one got damaged. After soldering the new IC I downloaded my l test code(LED Blinking) but the debugger stopped in HARDFAULT_HANDLER. None of my GPI...

Jeflet by Associate II
  • 869 Views
  • 2 replies
  • 0 kudos

USE_USB_FS define in v1.25.0 not generated in Makefile

Firmware package v1.25.0 introduced new define for USB stack called USE_USB_FS. This isn't generated anywhere even when USB speed in CubeMX is set to "Device Full Speed 12MBit/s". Previously, the following defines have been used (and they still are!)...

paradajz by Associate
  • 853 Views
  • 3 replies
  • 1 kudos

Resolved! Bugs for STM32H723H

CubeMX doesn't let change the speed for the LTDC Pin PB11 to High, it only accepts "low",When activating the ADC3, the init has 3 lines wrong:static void MX_ADC3_Init(void){.. /* Peripheral clock enable */ __HAL_RCC_ADC12_CLK_ENABLE(); ->> Should be...

Marco.D by Associate II
  • 794 Views
  • 2 replies
  • 0 kudos

Hi, i'm a beginner and need some help. I bought a nucleo g474 Board and followed 2 startup how tos. Keil + Cubemx. When i produce the initialisation code i always get the error in the stm32g4xx_ll_fmc.c file Does anybody know what im doing wrong?

C:\Users\marti\AppData\Local\Arm\Packs\Keil\STM32G4xx_DFP\1.1.0\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_fmc.c(176): error: #20: identifier "FMC_NORSRAM_TypeDef" is undefined HAL_StatusTypeDef FMC_NORSRAM_Init(FMC_NORSRAM_TypeDef *Device, FMC_NO...

Thomas1s by Associate II
  • 1862 Views
  • 9 replies
  • 0 kudos

Resolved! Use CubeMX STM32F103 Hard Fault exception??

Helloi'm using stm32f103rct.Use cubemx and just set RCC,and SYS(JTAG, Timebase Systick) compile with IAR and then download and debug press break.Hard fault exceptionhelp plz

0693W000004KMPxQAO.png
sjaey.1 by Associate II
  • 1560 Views
  • 9 replies
  • 0 kudos