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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

STM32CubeMX not generating syscalls.c and sysmem.c

Hi everyone,I used STM32CubeMX (version 6.11.1) to generate the initialization code for an STM32G491RCT.The toolchain is configured as a Makefile project.At the end of the C_SOURCES definition, it specifies sysmem.c and syscalls.c.# C sources C_SOURC...

mbaer_zg by Associate
  • 2771 Views
  • 5 replies
  • 13 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
  • 339 Views
  • 0 replies
  • 0 kudos

sysmem.c build error in clang

When building an STM32CubeMX generated cmake project with clang there are two files that generate errors:sysmem.cthe linker script (STM32L431RCTX_FLASH.ld and stm32l476rgtx_flash.ld)sysmem.c produces the following error:Core/Src/sysmem.c:30:35: error...

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
  • 362 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 ...