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

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
  • 800 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
  • 404 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
  • 2551 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
  • 797 Views
  • 3 replies
  • 0 kudos