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

Resolved! How to configure external Ethernet PHY?

I have a custom board that uses STM32F746VGT6 MCU and 1894K-33LF Ethernet IC. I have an old STM32CubeIDE project that allows to configure Ethernet parameters (such as duplex mode, speed, autonegotiation) from internal MX configurator. Generating new ...

_AdamNtrx by Associate III
  • 1111 Views
  • 3 replies
  • 1 kudos

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
  • 471 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
  • 512 Views
  • 4 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
  • 457 Views
  • 3 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
  • 752 Views
  • 4 replies
  • 0 kudos