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

Resolved! Configure location of STM32CubeMX generated code

This seems like an easy one, but I've searched high and low.  Both STM32CubeMX (v6.9.2)  and STM32CubeIDE (v1.13.2) place generated code in a root folder named Core.  Is there a way to configure file placement into folders of my choice?

BillyBob by Associate II
  • 1043 Views
  • 1 replies
  • 0 kudos

CDC_Transmit_FS function always returns USBD_BUSY

I am now trying to implement CDC-VCP connection between a PC and a STM32 board. Just my goal is a STM32 echo server.​I have done like this: ​STM32 Cube MX : USB FS endableUSB Device : CDC Enable, rx/tx buffer size as 128<-1000Clock config : USB 48MHz...

SSON.2 by Associate II
  • 5975 Views
  • 5 replies
  • 0 kudos

Resolved! STM32CUBEMX 不自动生成代码问题

第一次在论坛中请教问题,如果有不对的地方,请及时通知修改,感谢 我在使用STM32H750XBH6 ,在使用STM32CUBEMX 自动生成代码时出现了问题,DMA的初始化代码没有自动生成,在不停地测试中发现,DMA Request 选择 dma_generator0-dma_generator7、MEM2MEM , 可以生成代码,选择定时比较捕获输出通道作为请求源没有自动生成代码(例如 tim4_ch1\ch2 ,tim3_ch3\ch4),cubemx版本号6.92,希望可以得到一些解决的建...

mingmieg by Associate II
  • 2038 Views
  • 2 replies
  • 0 kudos

Resolved! STM32H5: PWM generation with DMA (classic approach)

Hello,Finally I managed to produce a three-phase PWM in classic DMA mode with the pure HAL-Lib. (Hardware: NUCLEO-H563ZI) However, within the cube produced routine, file: tim.c:void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef* tim_pwmHandle) This wrong cal...

AGerth by Associate
  • 2253 Views
  • 5 replies
  • 2 kudos

Problems when migrating from 6.0.0 to 6.9.2 FreeRTOS LWIP

Hello!When I took a project on version 6.0.0 and compiled it - it works stable. After CubeIDE offered to migrate to a fresh version 6.9.2 and I agreed, I set my Driver_PHY. After that the project builds, but not working.My source data:Nucleo-F767Zhtt...

ruuch by Associate
  • 1151 Views
  • 2 replies
  • 0 kudos