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

DAC Clock Configuration issues

Hi, I'm using the STM32H563ZIT6 microcontroller with an 8 MHz external crystal oscillator. I have set the HCLK to 250 MHz, and my GPIO LED program is working fine. However, whenever I enable DAC channel 2, I encounter an HCLK configuration error. The...

Screenshot 2024-06-27 185538.png Screenshot 2024-06-27 190059.png Untitled1.png Screenshot 2024-06-27 190425.png

How to configure SD CARD via STM32CubeIDE

Hello,I would like to know how to configure the SD card of an STM32L552E-VE evaluation board, I have an example with this evaluation card 'FatFs_uSD_Standalone' but It's not easy for me to understand how to configure the 'SDMMC' with this board since...

DYann.1 by Senior II
  • 2934 Views
  • 13 replies
  • 2 kudos

Howto use BSP/lsm6dsv16x

I have a custom board with LSM6DSV16XTR connected to SPI2. The configuration was created by CubeMX 6.11.1 and now used in CubeIDE 1.15.1 Now, I am wondering how to use the functions in lsm6dsv16x.c ? Do I have to initialize an object of type LSM6DSV1...

FB1 by Associate II
  • 491 Views
  • 0 replies
  • 0 kudos

Resolved! STM32L432KC VREFBUF

Why isn't VREFBUF enable available in CubeMX for the STM32L432 series? I believe the reference manual says this series has control over the VREFBUF. It also seems there's no struct for VREFBUF control in the stm32l432xx.h file.

PCarn.1 by Associate III
  • 691 Views
  • 1 replies
  • 0 kudos

Resolved! Java error when enabling X-CUBE-FREERTOS on STM32U5

6.11.1 with STM32U575RITxwhen I click "CMSIS RTOS2" to enable the installed middleware X-CUBE-FREERTOS, mouse shows a busy icon and the FreeRTOS configuration in the bottom panel never opens. STM32CubeIDE can open the IOC file and the FreeRTOS config...

USBPD PDO Sink tab missing

Hi,I just watched this video here: How to build an USBPD Sink application using the X-Cube-TCPP software pack - YouTube which explains how to build up a project with TCPP package for CubeMX.I use the newest CubeMX 6.11.1 but it looks different than i...

Capture.PNG
AWack by Associate III
  • 3072 Views
  • 12 replies
  • 0 kudos

How to use OpenBootLoader?

STM32CubeG4 v1.3.0 contains STM32 OpenBootLoader 2.0. How is this used/accessed? I cannot find it anywhere in STM32CubeMX.I have STM32CubeMX v6.0.1 and STM32Cube MCU package for STM32G4 series v1.3.0.

Project generation from command line, headless

I'm trying to generate a project from a .ioc file automatically on a headless system. This sees to be a very common source of problems. Is there a definitive solution for this? Otherwise I'm just here adding my vote for ST to add support for this.OS:...

Very annoying Cube MX login and solution

I have been using STM32 microcontrollers for development for several years, and I am very grateful that development ecosystems such as CubeMX and Cube IDE helped me speed up development.However, the latest version of Cube MX requires user login, and ...

chans9 by Associate
  • 803 Views
  • 0 replies
  • 2 kudos