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
  • 908 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
  • 1748 Views
  • 5 replies
  • 7 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
  • 491 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
  • 3159 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
  • 1029 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...

STM32CubeMX irresponsive after firmware download failure.

Tested with STM32CubeMX 5.1.0, 5.0.1, 4.27.0: I open the Embedded Software Packages Manager and click on a new firmware to install, press Install Now. The Download fails for unknown reason (network overload?), thats okay. See attached picture. But, w...

KnarfB by Super User
  • 712 Views
  • 1 replies
  • 0 kudos