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
  • 996 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
  • 1791 Views
  • 5 replies
  • 7 kudos

STM32H7 Ethernet using FW V1.10.0 problems with memory?

I am adding ethernet connectivity to an existing STM32H743 project and am using the STM32CubeIDE V1.9.0 / STM32CubeMX V6.5.0 and H7 firmware FW V1.10.0. I have followed the guides on setting up the various memory settings and have had success gettin...

PMais.1 by Associate
  • 1284 Views
  • 1 replies
  • 1 kudos

CubeMX DSP BUG

在使用CubeMX生成Makefile工程文件时,在Mid中间件选项中选择“X-CUBE_ALGOBUILD”选项,并添加DSP Library,但是在最后的生成的项目文件中并没哟dsp.lib文件,应该是一个bug,望修复

ALO9611 by Associate II
  • 2318 Views
  • 6 replies
  • 0 kudos

STM32CubeMX: how to disable project saving on code generation?

Hello,I use STM32CubeMX in a shared project and different developers use different tools to work with its output. So e. g. I want code generation with a makefile output while others use the STM32CubeIDE.Currently every time when I click "generate cod...

jjwk by Associate
  • 1817 Views
  • 4 replies
  • 2 kudos

STM32CubeMX Processing Before and After Code Generation

STM32CubeMX release 6.9.0 contained support for processing before and after code generation. The documentation does not appear to be updated to describe how this works.What kind of file and scripting is expected for this feature?

AGill.4 by Associate II
  • 3300 Views
  • 5 replies
  • 2 kudos

USB_DEVICE missing from CubeMX

CubeMX version 6.10.0Chip is STM32H563IIKxFirmware package is STM32Cube FW_H5 v1.1.1 (which is the latest shown in the software packages manager).Neither USB_DEVICE nor USB_HOST is listed in middlewares:As can be seen, my project involves FreeRTOS wh...

BrianH_0-1706126637661.png
Brian H by Senior
  • 2371 Views
  • 2 replies
  • 0 kudos

STM32U5 ADF in LPBAM Mode

I want to use STM32U5 ADF in LPBAM Mode, I can't see the ADF option in the CUBE MX LPBAM design configuration. I want to use ADF in stop 2 mode with LPDMA and SRAM4 I have the ready code for ADF and LPDMA I wish to operate them in LPBAM Mode. 

SShai.3 by Associate II
  • 2439 Views
  • 6 replies
  • 0 kudos

Resolved! STM32H723ZG DMA I2S - tx works, no RX

HelloI've seen tons of posts about this, I'm hoping I'm just missing something simple, I would really love to get this working. STM32H723ZG, DMA TX works, I can send a sine wave fine but the RX buffer never changes and is never filled. I've put the R...

FDCAN: fdcan_tq_ck < fdcan_pclk requirement

We are using custom board with STM32H735. We were debugging the same issue as this one. In the reference manual RM0468, we discovered this note:I think this means that even when not using calibration unit, FDCAN kernel clock must be <= than APB1 peri...

heveskar_0-1706011696642.png

Resolved! STM32CubeMX-6.1.2 bug of generating SysTick clock source code

Hi, engineers of ST company. I want to consult you a problem about generating code for 'SysTick clock source'.Let us look at the first picture from documentation PM0215  page 63, there introduces the function of 'SysTick control and status register',...

hexiaole_0-1705920142853.png hexiaole_1-1705920190810.png hexiaole_3-1705921366220.png hexiaole_2-1705921342981.png
hexiaole by Associate II
  • 3296 Views
  • 5 replies
  • 3 kudos