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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

STM32-G071 ADC measurements

HelloI am currently working with the STM32G071 microcontroller and encountering an issue with the ADC when using a specific configuration.Here is a summary of my setup:ADC configured in "Sequencer fully configurable" modeScan conversion mode: Disable...

JBH by Associate
  • 311 Views
  • 2 replies
  • 0 kudos

ThreadX Heap Section button only on one core

We are setting up ThreadX on the STM32H747I-DISCO and have enabled the Memory Management section in CubeMX to generate linker scripts. There is an option to automatically insert the ThreadX Heap memory section on the CM4 core, but not the CM7:threadx...

threadx_heap.png threadx_options.png
chipchop by Associate II
  • 394 Views
  • 4 replies
  • 1 kudos

Resolved! Issue when upgrading FreeRTOS plugin

Hi!I have an issue with the upgrade process of the X-CUBE-FREERTOS plugin. It happened upgrading to 1.3.0 and to 1.3.1 as well: the list of tasks defined in CubeMX seems to be retained in the CMSIS RTOS2 tab as well as the other settings, but when re...

paolog by Associate III
  • 334 Views
  • 5 replies
  • 1 kudos

Resolved! OCTOSPI prescaler value use in HAL seems odd

Hello everyone,I have a question regarding the configuration of the OCTOSPI, especially the prescaler value.I am using the UI to configure the XSPI's prescaler and setting it to 3.The generated code is as follows. You can see that the prescaler value...

DanPy_0-1747747617849.png DanPy_1-1747747956713.png
DanPy by Associate II
  • 331 Views
  • 3 replies
  • 2 kudos

Resolved! USB STM32G0B1KCT6 not working

Hi I have used STMCubeIDE 1.11.0 (Cube 1.6.1) to generate the code for USB CDC interface for STM32G0B1.The code is as CubeMX would generate. I have not modified the code at all.When I plug the device into a PC I get "USB device not recognized" I have...

DCorn by Associate III
  • 4855 Views
  • 8 replies
  • 2 kudos

Resolved! Running SDIO 4BIT wide mode

In this movie setup done  SDMMC 4BIT mode selected in CubeMX: Setup looks: In the older versions CubeMX like video before generated code for SDMMC or SDIO 4BIT setup looks like: That was confusing and doesn't really running SDIO/SDMMC in 4 bit wide m...

01 ST creating filesystem.jpg 02 OLD_CUBE_CODE.jpg 03 F746SDMMC setup.jpg 04 F746SDMMC code.jpg
wegi01 by Associate III
  • 489 Views
  • 4 replies
  • 0 kudos