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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 312 Views
  • 0 replies
  • 1 kudos

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

Resolved! Does STM32C071CBT6 support PLL for external oscillator?

I am using an 8 MHz external oscillator and was planning to use a PLL to increase the system frequency. However, when I open the Clock Configuration tab in CubeMX, I don’t see any option for a PLL.I’ve also shared a screenshot of the clock configurat...

curiocity_0-1750237282003.png
curiocity by Associate III
  • 654 Views
  • 8 replies
  • 2 kudos

Resolved! SPI-receiver gets out of sync?

Hi,I'm using a STM32H523CC to receive 24 bit data frames via SPI. The SPI acts as receiver-only and is configured as follows:Within my application I do not make use of the HAL-functions but have overwritten the SPI2_IRQHandler(). There I continuously...

Clipboard01.png

Resolved! Starting with X-Nucleo-67W61M1 in CubeMX

I am setting up a project using CubeMX to evaluate the 67W61M1 device, using a Nucleo-F411RE. As far as I can tell the X-NUCLEO-67W61M1 needs SPI1 of the Nucleo for communication. Unfortunately, the Nucleo has SWO (PB3) where SPI1_SCK and while I see...

SidPrice by Associate III
  • 391 Views
  • 2 replies
  • 1 kudos

Resolved! Bug on programming GPDMA transfer (ADC2)

I would like to report a bug, I post it here as so anybody can read it.The bug concerns the GPDMA on STM32H563, but maybe it could happen on others MCUs. I wanted to use a GPDMA1 Channel from a ADC2 request, my Channel was correctly initialized, but ...

Karakala by Associate II
  • 646 Views
  • 4 replies
  • 1 kudos

CMake project bug in cubeMX6.14.0

On a NUCLEO-H7S3L8 I've been testing the Projects/NUCLEO-H7S3L8/Applications/USBPD from STM32Cube_FW_H7RS_V1.2.0 with cubeMX6.14.0. I use the VScode extension, so I select the CMake toolchain. I select the "copy only necessary files" in code generati...

AEfth by Associate II
  • 620 Views
  • 2 replies
  • 0 kudos

threadx does not allow BSP code to initialize

with a standard project with only threadx and bsp code added via STM32CubeMX code generates the MX_ThreadX_Init function in main.c but the BSP initialization functions are below this call.MX_ThreadX_Init actually starts the kernel task switching (unl...

mbedTLS with support of TLS_1.3 in STM32CubeMX

Hi,I'm using the STM32H753I-EVAL2 (MCU Type: STM32H753XIHX) to develop a new product.The product will communicate to server using the LwIP (TCP Layer) + MbedTLS (SSL/TLS Layer), running over FreeRTOS environment.We want to use the latest TLS protocol...

APilai by Associate
  • 4115 Views
  • 3 replies
  • 5 kudos

ATfE(Arm Toolchain for Embeded) support

(repeated post)Currently, STM32CubeMX generates CMake projects based on the ARM-GCC compiler toolchain by default. However, in modern STM32 development environments, this toolchain appears to have performance limitations and may no longer fully meet ...

JontyLi by Associate II
  • 434 Views
  • 0 replies
  • 0 kudos