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

Clock configuration using CubeIDE

Hi,i have a simple question: how do i have to configurate the clock of my STM32F072RB to send or receive CAN-Messages with 500kBit/s. With 8MHz it seems to work only until 250kBit/s.Best regards

NDorn.1 by Associate II
  • 1459 Views
  • 5 replies
  • 0 kudos

Resolved! STM32F407 Virtual com port error 43

Hello, I use STM32F407 and I wanna config virtual com port on my board using CubeMX,but I always get error 43, I saw many topics, my stack size is 0x4000 and heap size is 0x2000.I tried to change max packet size, reinstall stm32 vcp drivers, but noth...

qqAnton by Senior
  • 1451 Views
  • 5 replies
  • 0 kudos

Resolved! CubeIDEMX doesnt' enable RCC bit?

I used STMCubeIDE to generate the following code...It is for Timer16 to count up and generate an interrupt after 100ms. Can someone tell me why the code did not set up __HAL_RCC_TIMx_CLK_ENABLE()?When I use the IDE to generate GPIO stuff it automat...

SWenn.1 by Senior III
  • 608 Views
  • 2 replies
  • 0 kudos

Resolved! CubeMx RCC_ClockConfig fails

Hello,We have been using STCubeMx(v6.2.1) to generate our system initialization code. We started a new project for an stm32H7A3xx MCU.But with the auto-generated code, it fails on the HAL_RCC_ClockConfig->HAL_InitTick->HAL_SYSTICK_Config.We tried dif...

Aterrades by Associate II
  • 2433 Views
  • 6 replies
  • 0 kudos

Resolved! Sending more than 8 bits through SPI using HAL

Hello! I need to send/receive a 16 bits data to an external ADC, but I realized that SPI HAL functions just support 8 bits buffers. How can I send more than 8 bits? Even DMA function all work with 8 bits. In CubeMX I set the word length as 16.

Kolab by Senior
  • 2283 Views
  • 6 replies
  • 0 kudos