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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

Custom User Code Sections

In many cases, especially for middleware, it may be necessary to extend the code generated by CubeMX.Since not all files have sections that are untouched by the code generator or some places inside a file are missing those user code sections, I'm oft...

dmocom by Associate II
  • 2936 Views
  • 7 replies
  • 8 kudos

Resolved! Ethernet PHY type resets itself

Hi,A small but annoying bug with STM32CubeMX 6.14.0 with H7 package 1.12.1.  Every time I change anything in the LWIP general settings (e.g. DHCP enable/disable), the PHY setting changes by itself from USER_PHY to undefined. This is a nuisance as if ...

ADunc1_0-1743728005237.png
ADunc.1 by Senior
  • 292 Views
  • 1 replies
  • 1 kudos

UART RX not working on Nucleo-H723

I am trying to get the USART2 working on my Nucleo-H7 board. I am using HAL_UART_Transmit for the TX side. This works fine. But when I use HAL_UART_Receive on the RX side, there is never any RX data coming into the device. I have stepped through the ...

MHoop.1 by Senior
  • 1423 Views
  • 5 replies
  • 0 kudos

Resolved! CubeMX 6.14 encoding of generated code changed?

Hi,just made an update of CubeMX from 6.11.1 to 6.14.The problem I have is that our comments within user blocks were ISO-8859-1 encoded and this never was a problem until now and with 6.14, when we generate code, all Umlauts are replaced with the UTF...

bbee by Associate III
  • 266 Views
  • 3 replies
  • 4 kudos

Resolved! H7B0VBT SAI2 configuration stuck at loading

I'm trying to configure SAI2 as a I2S master.I2S_CKIN has been enabledBut the configuration cannot be loaded when I changed SAI A Mode to master.Now I got a page like this.Is there anything I can do to fix it?

page.jpg error.jpg
ShiYe by Associate
  • 184 Views
  • 2 replies
  • 1 kudos

Errors in STM32CubeMX USBX device code generation

I've been working with USBX for a while now, and after updating to the latest X-CUBE-AZRTOS-H7 package (v3.2.0), I'm running into a couple of problems relating to the templates STM32CubeMX generates. Specifically, the files ux_device_descriptors.c an...