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
  • 965 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
  • 1776 Views
  • 5 replies
  • 7 kudos

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
  • 1351 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
  • 1777 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
  • 1900 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
  • 3757 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
  • 1006 Views
  • 2 replies
  • 1 kudos

Resolved! Not able to use Port B alternate function (I2C)

Hi community,I am trying to use I2C on the STM32L010RBTX,during configuration in MX, i realized that when PB8 and PB9 is configured as I2C, the GPIO mode field shows n/a.And the I2C won't work as well.However, when i configure to PA9/PA10,GPIO mode s...

0693W00000LxM6wQAF.png 0693W00000LxM8xQAF.png
AWong.11 by Associate II
  • 2222 Views
  • 8 replies
  • 0 kudos