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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1289 Views
  • 0 replies
  • 2 kudos

Resolved! CUBE MX with Keil 5.39 Full Assert bug in stm32l0xx DFP

Encountered an annoying project generation bug recently. By default CubeMX adds to keil project a hwhole bunch of files:Even if you don't need any of the LL. So, when you tick "Enable Full Assert" checkbox, it causes an error, because no "stm32_asser...

MaxFlatline_1-1707994561233.png MaxFlatline_0-1707994799324.png MaxFlatline_1-1707994814780.png

Memory Tool - Configure memory as Normal

Hello,we had a play with the memory tool to configure the memory regions (the linking to the OCTOSPI configuration, etc is neat), however we ran into the following issue:When using the tool, the internal RAM is configured as `Device` memory, rather t...

maltevesper_0-1711054363254.png

to run the code in keil

I created a project based on stm32h743 ,ARM M7 in keil through cubeMX, so my problem is, i need to run the code in debug ,for that i need to press the run button  3 times , then only my code execution is starting ,otherwise it does not , so please pr...

Change flash memory in linker

I change the flash memory in the linker file from 0x8000000 to 0x8006000 and size from 512k to 484k.My program crash on HAL_Delay i think the issue is from the address that i change it from the linker so what else i have to change to my programme wil...

Helmish by Associate II
  • 2016 Views
  • 2 replies
  • 0 kudos

Resolved! "Matrix switch"

hello,"I need some help on how to build an 8x8 relay matrix and how to control it with my STM32 board."

Zhani98 by Associate
  • 2104 Views
  • 3 replies
  • 0 kudos

HAL_SPI_TransmitReceive_DMA not written correctly by CubeMX

I am using SPI with DMA as shown in the screenshot. DMA is using Data Handling to truncate data from SPI's 16bit buffer into 8 bit values.The following part of the code errors out. Commenting this code out makes my application work, but every time I ...

btd5_0-1711728270877.png
btd5 by Associate II
  • 1559 Views
  • 2 replies
  • 0 kudos

Hard Fault after call to static library

I'm using a BSEC static library for BME688 sensor. My application project builds fine. As soon as I reach the first BSEC function (which is provided by the "libalgobsec.a" static library), program goes to hard fault interrupt handler.My best guess wo...

lgacnik97 by Associate III
  • 2523 Views
  • 2 replies
  • 0 kudos