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.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
  • 391 Views
  • 4 replies
  • 6 kudos

CubeMX 5.1 - CMSIS DSP library missing for Toolchain SW4STM32

Hello STM,when I generate a project for STM32H750 with CubeMX 5.1 with Toolchain SW4STM32 selected, CMSIS DSP library is missing from the project and it does not compile. Also, a preprocessor define of__ARM_ARCH_7EM__=1is missing to specify the ARM A...

Max Rest by Associate II
  • 874 Views
  • 1 replies
  • 0 kudos

CubeMX generated MX_ADC1_Init() in LL mode must specify ADC_REG_InitStruct.SequencerLength as a value of ADC_LL_EC_REG_SEQ_SCAN_LENGTH, not plain number of channels

I need to convert group of channels in scan mode. I've selected 4 channels in CubeMX GUI and specified this number in the 'Number of conversion' field. Then generated code in LL mode. In the initializer MX_ADC1_Init() i see ADC_REG_InitStruct.Sequenc...

tolix by Associate
  • 442 Views
  • 0 replies
  • 0 kudos

Maximum APB clock frequency on STM32H743 family

Hi,What is the maximum frequency that the APB buses on the STM32H743 can be run at?In CubeMX's Clock Configuration page when trying to configure the APB bus frequencies, there is a note on the APB clock that its maximum frequency is 100MHz. CubeMX al...

0690X0000087nULQAY.png
cxiao by Associate
  • 2878 Views
  • 3 replies
  • 0 kudos

There is still a Bug in HAL SD driver code

Hello,I'm currently trying to get a SD card running on a Nucleo-L476RG in SDMMC (SDO) mode. Unfortunatelly I had a problem for days now and just found out, that this is a known bug already posted nearly one year ago. For this topic, please see here: ...

CWaec by Associate II
  • 908 Views
  • 3 replies
  • 0 kudos

customization using .ftl and .extSettings not working

Hello,I am using CubeMX version 4.27.0 and trying to customize the code generation. My project is configured as a Makefile project.First I tried to use the .extSettings file to make minor modifications to the generated Makefile. Nothing worked as adv...