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

Resolved! Embedded ST-Link in NUCLEO Board

Hello,I have NUCLEO-H755ZI-Q ST Board. To initialize the board, I used the STM32CubeMX initialization code generator ("Start My project from ST Board").The Debug in this initialization is set to "Disable" (i.e., no Serial Wire or JTAG is active).How ...

Chaim by Associate
  • 767 Views
  • 1 replies
  • 1 kudos

STM32PacketCreator Bug

When press enter after text on "Packet Description", Packet generated successfuly and did i uploaded to git. but it did not appierd on cube mx. after delete the enter from end of "Packet Description", it worked. 

nimaltd_0-1719638590282.png
nimaltd by Senior
  • 489 Views
  • 0 replies
  • 0 kudos

Running STM32CubeMX without GUI

Hi All,I am trying to setup a build pipeline for the STM32 platform to be able to compile projects in an automated fashion. So far, I have an .ioc file which I use the to generate the project using the STM32CubeMX commands which are invoked via the s...

ANath1_0-1717562433830.png
ANath.1 by Associate III
  • 5488 Views
  • 15 replies
  • 4 kudos

Resolved! I am getting this error message:   - Main Config: These peripherals still have some not configured or wrong parameter values:[FATFS,Verify...

Hi,While configuring STM32F446RE on CubeIDE for writing and reading on SD Card using SDIO mode (1 bit mode), when I'm generating code I get this error message :   - Main Config: These peripherals still have some not configured or wrong parameter valu...

meco54 by Associate
  • 1999 Views
  • 1 replies
  • 1 kudos

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
  • 3776 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
  • 692 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
  • 1065 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...