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

STM32F411 JTAG setting bug

Hello,I use CubeMx (6.6.1), STM32F411CCUx​​CubeMx causes a problem when 'PB4' pin and JTAG (4 pin) are used together.​​​If JTAG (4pin) is set in CubeMx, PB4 is not used.If i set something in PB4, JTAG is released.​​ In the datasheet, PB4 and debug ha...

0693W00000QLbb6QAD.png 0693W00000QLbb0QAD.png
hjuns by Associate III
  • 1129 Views
  • 4 replies
  • 0 kudos

STM32Cube for STM32U5 cannot set ADC Oversampling Ratio value

Hi,I'm using STM32Cube to configure an STM32U575. I'm trying to configure the ADC4 so that oversampling is used. I need to set the Sequencer option to "Sequencer set to not fully configurable" so I have access to the additional channel inputs (IN15,...

AGula.1 by Associate
  • 1483 Views
  • 2 replies
  • 0 kudos

Resolved! What is "CK_PWR"?

In STM32CubeMX clock schematic and in the clock schematic of the reference manual CK_PWR is mentioned. It is never explained what it does and what it is for.I'd like to know what it is for and how it affects current consumption (since it is before th...

Resolved! Wrong constants in HAL ADC initialization (adc.c)

In adc.c (HAL driver), line 89 there are wrong constants generated:LL_ADC_SetCommonPathInternalCh(__LL_ADC_COMMON_INSTANCE(ADC1), LL_ADC_PATH_VREFINT|LL_ADC_PATH_TEMPSENSOR);correct is:LL_ADC_SetCommonPathInternalCh(__LL_ADC_COMMON_INSTANCE(ADC1), LL...

straubm by Associate III
  • 1581 Views
  • 8 replies
  • 0 kudos

Resolved! Incorrect order of initialization STM32H753

The ADC and SPI use the DMA, but the CubeIDE initialize the DMA at last ant the SPI initialization fails. See screenshot.CubeMX Version 6.6.1Please fix this mistake. Attachment, the Screenshot.The second problem: I cannot chage the "Rank" order from ...

MMüll.6 by Associate III
  • 3196 Views
  • 14 replies
  • 0 kudos

Resolved! STM32CubreMX and STM32CubeU5 : projet manager bug

STM32CubeIDE Version: 1.9.0With the STM32CubeMX : Version: 6.5.0-RC4 and a project for STM32U585in the "project manager/advanced settings" tab, a line is missing to activate the "register callback" for the OCTOSPI interface best regards

MFred.2 by Associate III
  • 805 Views
  • 2 replies
  • 1 kudos