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
  • 412 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
  • 1423 Views
  • 5 replies
  • 7 kudos

STM32CubeMX generated folders empty

When i generate a project with STM32CubeMx 5.1.0, codes are comes up but the folder below is always empty. Why? I was using the previous version before.\Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates

USB Toggling States between Enumerate and Idle

I set up USB host in Cube MX. The STM32L476 hardware to the USB is connected the same as I have successfully used previously in an F4 processor. I am using pin PA8 to drive the power switch (STMPS2141STR)Under "Connectivity", the mode is "Host Only"....

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
  • 916 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
  • 464 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
  • 3037 Views
  • 3 replies
  • 0 kudos