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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

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
  • 1085 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
  • 1436 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
  • 1518 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
  • 3095 Views
  • 14 replies
  • 0 kudos