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

HardFault_Handler when enable LWIP and touchgfx

Hello guys. I've bought Riverdi 12.1” board that mounts STM32H757XIH6. I developed graphic part and I use uSD, and USB Mass-Storage without any problems. I use FreeRTOS and FatFS. Now it's time to use Ethernet, so I bought PoE - Riverdi, enabled LWIP...

MauFanGilaMedical_0-1746012830072.png MauFanGilaMedical_1-1746012861994.png MauFanGilaMedical_2-1746012895732.png MauFanGilaMedical_3-1746012927438.png

CubeMX+SD card 4 bit+STM32F796 DISCO SD_FindSCR problem

HI All,I am using STM32F769 DISCO board.I have configured SD card in 1 bit moe and it works fine.But it doesn't work in 4 bit mode.The problem is in SD_FindSCR function.if(__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_RXDAVL))is never executed.Cube MX version is...

load2005 by Associate III
  • 489 Views
  • 4 replies
  • 0 kudos

IGMP enable in CubeMX

HiI try to use IP multicast function. With 6.13, i enable IGMP, and then generate code, but it seems there is no any files added(such igmp.h), these files are necessary for multicast.Could you check this IGMP feature?  I have thought it's basic featu...

Peter3718_0-1742880933683.png
Peter3718 by Associate III
  • 415 Views
  • 1 replies
  • 0 kudos

CubeMX 6.14.xx breaks CMake workflows

Really appreciate updates for using proper OBJECT versus INTERFACE library type, but using CMAKE_SOURCE_DIR and CMAKE_PROJECT_NAME have very specific meaning and disallow the ability to utilize a CubeMX project in normal CMake projects. These both re...

F469 SD initialization bug with F4 FW 1.28.1

I'm putting together a small test program in CubeIDE 1.18.1, CubeMX 6.14.1, on Intel MacOS 15.4.1 on a STM32F469I-DISCO and I've noticed some (possibly) incorrect SDIO initialization code.Cube generated this:void MX_SDIO_SD_Init(void) { /* USER CO...

Resolved! Where to apply interim patches?

If I find a bug in CubeIDE/CubeMX's code generation (like not turning on power to SDMMC), is there somewhere on my system that I can alter the boiler-plate code that is used to generate the project until the correction comes out in a future release?T...

Resolved! STM32H750 CubeMX - some PLL options grayed out?

Hi all,I'm trying to set up a new STM32H750 project. I've created quite a few projects using CubeMX in the past, so I'm familiar with the process. However, now I'm trying to start up a STM32H750 project, and I've very quickly run into an issue. In th...

Resolved! XML file load error, some MCUs only

Is there a reason and fix for why some MCUs chosen in the "MCU/MPU Selector" of STM32CubeMX start a project without issue but some fail with a message dialog?"Can't create [MCU part#] [package type] Project: error when loading [MCU part#].xml file"Fo...