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
  • 51 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
  • 1105 Views
  • 5 replies
  • 7 kudos

STM32CubeMX generated DMA code

Hi,I'm using V6.15.0 of CubeMX with STM32U5 to generate DMA code. When I use the following configuration, it appears to generate incorrect code?I've noticed the following:1) It placed the Node_GPDMA1_Channel1 structure on the stack:This doesn't seem ...

jminack_0-1755478887628.png jminack_1-1755479106077.png jminack_2-1755479311613.png jminack_3-1755480360402.png
jminack by Associate II
  • 568 Views
  • 3 replies
  • 1 kudos

Resolved! Query about STM32F446 HSE pll setting failure on CubeMX

I am using NucleoF446RE (STM32F446RE) with CubeIDE 1.19.0.I wish to set PLL  as 16MHz by HSE (STLINK 8MHz MCO).Because HSI clock is 16MHz.I had set PLL M/N/P = 4/64/8. CubeMX reported P was fail . ]So I had set P=4. and It makes PLL-CLK = 32MHzAfter ...

faiilure PLL.png success pll.png
SNish by Associate III
  • 362 Views
  • 4 replies
  • 1 kudos

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

STM32N6 CubeMX incorrect timer clock derivation

Hello, While I was developing code for STM32N6, which uses FreeRTOS that uses SysTick as tick source, I changed the HAL timebase to utilize Timer 6 (TIM6). I've noticed that the generated CubeMX code will incorrectly calculate the input clock frequen...

Self-assignment warning bug

This warning is occurring in the STM32U5xx HAL driver's low-level ADC header file (stm32u5xx_ll_adc.h). The warning indicates there's a self-assignment of a variable analog_wd_monit_channels where a variable is being assigned to itself. STM32CubeMX/T...

Jiajin by Associate II
  • 371 Views
  • 3 replies
  • 0 kudos