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
  • 741 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
  • 1623 Views
  • 5 replies
  • 7 kudos

Resolved! replaced old code when update GPIO inform

Hi everyone, I have problem when i try to change GPIO inform then i push "generate code". But it replace my old code.can you let me know how to only update inform for code not replace old code?thanks you and sory about my poor english!

KUSAGI by Associate II
  • 957 Views
  • 3 replies
  • 0 kudos

I am getting hundreds of errors : HAL_Status_Typedef, HAL_LockTypedef and HAL_TickFreq_TypeDef undefined in many .h files, yet stm32f7xx _hal.h and stm32f7xx_hal_def.h are included in the .h files. How can I fix this, please ?

I have generated a project for the STM32f769 Discovery board using STM32CubeMX, to read in audio from the Line In jack, convolve the audio with a long FIR filter then output the audio to the Line Out jack. I am using the EWARM IDE. stm32f7xx_hal_d...

MLawr by Associate III
  • 900 Views
  • 2 replies
  • 1 kudos

Resolved! stm32CubeMX corrupts Makefile during re-write

When generating code on an existing Makefile project any existing C_DEFS are corruptedC_DEFS = \ -DUSE_HAL_DRIVER \ -DSTM32F301x8 becomes-DC_DEFS = USE_HAL_DRIVER \ -DSTM32F301x8 so the definition of C_DEFS is lost and random errors result from the...

Resolved! DAC to ADC loop doesn't work

Hello,I'm working with the NUCLEO-F722ZE EVB on STM32CubeIDE.My design has a DAC output connected via a jumper wire to an ADC input (see the red wire in the attached picture.The DAC is successfully generating a sawtooth wave - verified via an oscillo...

skon.1 by Senior
  • 2943 Views
  • 8 replies
  • 0 kudos

STM32CubeMX 6.0.0 STM32Cube FW_L4 V1.16.0 Bug report

USB CDC is not properly recognized by Windows 10.How to recover :\Inc\usbd_conf.hSource code change/** Alias for memory allocation. *///#define USBD_malloc malloc#define USBD_malloc (USBD_CDC_HandleTypeDef *) USBD_static_malloc/** Alias for memory re...

tsuna by Associate II
  • 1523 Views
  • 4 replies
  • 0 kudos