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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1251 Views
  • 0 replies
  • 2 kudos

Resolved! How to define LwIP DHCP hostname in CubeMX?

Hello,I am wondering how to set the DHCP hostname for LwIP when using STMCubeMX. The CubeMX tool creates a definition for the hostname in ethernetif.c: #if LWIP_NETIF_HOSTNAME /* Initialize interface hostname */ netif->hostname = "lwip";#endif /* LWI...

ZdenekK by Associate
  • 3922 Views
  • 4 replies
  • 0 kudos

USB_Host_Library / FreeRTOS Problem

Hello All,We've been struggling with getting hard faults originating in FreeRTOS generated code, but triggered by initialization of a USB optical mouse.  The symptoms and stack trace are nearly identical to a previous unreproduced / unresolved post:h...

farrelldw by Associate II
  • 5140 Views
  • 7 replies
  • 3 kudos

Resolved! cpp project using STM32CubeMX and Keil

Hi,I have created a project using STM32CubeMX and Keil uVision.The generated CubeMX comes with its own main.c and main function.What I want to do is disable that main.c build in the project and create my main.cpp file,where I can put my main function...

AVerm.4 by Associate III
  • 3067 Views
  • 2 replies
  • 0 kudos

Resolved! Two IOC, One CubeIDE project

Hey guys, I've recently begun development using CubeIDE. I have two embedded system projects with a very similar code base and the same MCU, so I was hoping to be able to have one project and two different IOC files for the different IO configuration...

Avan .5 by Associate
  • 4801 Views
  • 4 replies
  • 1 kudos

Resolved! STM32CubeIDE generated xxx_FLASH.ld file does not include ALIGN(4) in some FLASH sections

Hi @Khouloud ZEMMELI I generated C code and other files after opening .IOC file in STM32CubeIDE (not STM32CubeMX).I observe many FLASH sections in the STM32H753BITX_FLASH.ld file do not call ALIGN(4).The left side file is the one that got generated a...

RajeevAroraCrcEvans_0-1707892750372.png

VREFBUF on new STM32G050C8 ?

Hello, does anybody know if the new STM32G050C8 does, as at least CubeMX states, have an internal voltage reference buffer?Because any reference manuals or datasheet say the opposite... is the documentation perhaps outdated?Anyway thank you in advanc...

cs2 by Associate
  • 2093 Views
  • 3 replies
  • 0 kudos

Resolved! Which MDMA channel use?

Hello! I am trying to use MDMA with stm32h743zi, but when i set up it on cubeMX, i don't know which channel number to choose.I looked up information about MDMA but nothing useful found... Any help here to know which number to choose? As always, thank...

rubenles_0-1707812458721.png

STM32H7 RTC Alarm OUT

Hi, I'm trying to get an alarm signal on an external contact (PC13). In the program everything works as it should and the interrupt occurs, but nothing changes on the external contact. What did I miss?              

Screenshot_8.png
Denys_T by Associate III
  • 5908 Views
  • 12 replies
  • 0 kudos