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

CubeMX side by side install vs.firmware packages

I've installed STM32CubeH7 library 1.10.0 manually from github.I have CubeIDE 1.7 and CubeMX 6.3. Since they both do not understand STM32CubeH7 library version 1.10.0, I've installed CubeMX 6.5 side by side with v. 6.3.​The package manager of CubeMX ...

Pavel A. by Super User
  • 531 Views
  • 0 replies
  • 0 kudos

Resolved! Including FATFS with CubeMX breaks everything.

Using an stm32f105RBt6 : i have a working project with canbus and USBdevice.i have another working project with canbus and FAtFS(SPI-sd card)None of them work once i include FATfs+USBCDCdevicei dont know what to make up from this, last time i had a s...

0693W00000LzMWPQA3.png 0693W00000LzMTVQA3.png
Javier1 by Principal
  • 1639 Views
  • 7 replies
  • 0 kudos

Resolved! Creating basic program with STM32CubeMX for STM32G030F6P6 without any changes results in code executing with no source code

I created a project with STM32MXCube for the STM32G030F6P6. No changes to the settings. Generate code, run it in STM32CubeIDE in the debugger (STLINK). No changes to the generated code. It stops at main. If I single step it gets to the while(1) loop...

RLour.1 by Associate II
  • 2297 Views
  • 7 replies
  • 0 kudos

Resolved! Micro-SD on STM32H7A3: f_mount returns "FR_NO_FILESYSTEM"

I have a new project on an STM32H7A3 processor with a  microSDHC Card. We want to read/write files with FatFS. In another project with STM32H7A3 we have SDHC Cards working perfectly. Code is created with the latest release of CubeMX 6.5.0 and HAL V: ...

GS1 by Senior III
  • 2225 Views
  • 5 replies
  • 0 kudos

STM32CubeIDE / F4 V1.27.0 ETH generation fail

Dear Community,Time to time I am trying to use STM32CubeIDE and since STM32CubeMX started to declare itself as deprecated, I have tried it again - every time I had problems with it anyway.First, it wants to use the latest firmware for my MCU (F4 V1.2...

VaZso by Associate III
  • 985 Views
  • 4 replies
  • 0 kudos

Resolved! Bug in stm32cubeMX/IDE in STM32F4 Code generation, With DMA

When generate code via stm32cubeIDE from .ioc ,It Randomly generate line MX_DMA_Init(); Before / After other Module .Problem is, When other module have some DMA config inside , for me ,it ADC , But MX_DMA_Init(); generate after MX_ADC1_Init(); , That...

PArch.1 by Associate
  • 653 Views
  • 1 replies
  • 0 kudos

Resolved! Configure STM32CubeMX for SPI half-duplex communication

I have two peripherals on my board that I need to communicate with using 3-wire, half-duplex SPI. I have tried every combination of settings I can think of, but I am unable to communicate with either chip.Here is my SPI1 init function:static void MX_...

0693W00000LzONKQA3.jpg 0693W00000LzONoQAN.jpg
ndsmith34 by Associate II
  • 2330 Views
  • 2 replies
  • 0 kudos

Resolved! STM32CubeIDE 1.9.0 H750VBT6 ADC fault

Was old project, works well, need make minor changes with not related to ADC functions, not look press "migrate" to latest version. was confused all ADC operations fault. when check what wrong, found ADC lost clocking.Take new computer, install clean...

0693W00000LzHuqQAF.jpg
AGord.2 by Associate II
  • 1342 Views
  • 6 replies
  • 0 kudos

Timer 6 ISR utilizing 56-60% CPU (Threadx +STM32H7)

I am using stm32h7 with threadx where TIM6 is time timebase for HAL and systick is used by threadX. The project is generated using the standard cubeMX configuration. I am using tracelyzer to visualize my CPU utilization, and i found out that TIM6 ISR...

JTari.1 by Associate II
  • 1012 Views
  • 3 replies
  • 0 kudos