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
  • 1638 Views
  • 0 replies
  • 2 kudos

I2S microphone and sampling frequency in CubeMX

Hello,Configuring the I2S on CubeMX on STM32G431, for which I've connected a microphone in PDM, I want a sampling frequency of 48KHz@16bit.Typically, this requires a PDM frequency of 3.072MHz and a decimation of 64.I wonder why I need to tell CubeMX ...

PCu1 by Senior
  • 925 Views
  • 0 replies
  • 0 kudos

CubeMX generates bad code for UART in half duplex

hello,I am working on a design using MB1684 with STM32C011 as target. I configured UART2 as half duplex, TX only, so that I could use it for debugging, and I discovered that CubMX generates code which causes the board to hang, because it waits for bo...

danmcb by Associate III
  • 1244 Views
  • 2 replies
  • 4 kudos

Resolved! STM32H563 DAC1

I used CubeMX 6.12 to generate code and DAC output works as intended.I cloned that project, migrated to CubeMX 6.13 and generated code. DAC output doesn't work. Migration to 6.13 also used FW H5 1.4 instead of 1.3.Comparing stm32h5xx_hal_msp.c I see ...

STM32CubeMX stuck at "Copying Library files"

Hi,I am trying to "generate code" using an existing .ioc file. When I click on "generate code" , it is stuck. I am not able to close the window. I had to restart my laptop. I uninstalled and installed again. Tried the same process. But it didn't work...

uthraj_0-1698337612070.png
uthraj by Associate II
  • 4862 Views
  • 7 replies
  • 2 kudos

STM32cubeMX generate wrong makefile

Hi, I'm using the last version of STM32cubeMX. When trying to generate a makefile project for the STM32L073RZ microcontroller. The resulting makefile is wrong. Build target are nonsense: ###############################################################...

CubeMX Projects Are Not Completely Generating

I'm experiencing complete failure in generation of new projects.  Using either CubeMX or CubeIDE it is the same behavior.Generate a new project like I've done for 10+ years, only to find the folder structure missing almost everything required to buil...

Screenshot From 2025-02-16 17-35-55.png Screenshot From 2025-02-16 17-37-17.png Screenshot From 2025-02-16 18-12-32.png

Resolved! Pin PB4 is pulled high during reset for a stm32F103

I am using an stm32F103 and have configured PB4 as a output pin and this works correctly. However when the chip is reset, this pin is automatically pulled high. It appears that this behavior exists because of the pin's dual use as NJTRST. Is there a ...

JGaby.1 by Associate III
  • 3198 Views
  • 8 replies
  • 6 kudos

Resolved! OctoSPI missing for STM32H753VIH in CubeMX?

As far as I can tell from the datasheet for the STM32H753VIH, as well as the part selector in CubeMX, the device should have an OctoSPI peripheral.However, when I create a project with the device and go to the connectivity tab, I don't see the OctoSP...