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

When I add TIM4 with interrupts in the .ioc file, using the tool, it refuses to update the clock configuration to show that TIM4, and the timer does not perform normally

I add TIM4, with prescaler of 63 and period of 9, and enable the interrupt. The ISR should trigger each 1 msec. It does not, it triggers about every 1.3 msec. When I look in the SystemClock_Config function it has the following unexpected behavior, i...

CLee.0 by Associate III
  • 850 Views
  • 1 replies
  • 0 kudos

Why did ST remove support for IAR EWARM V6 in MXcube 5 ?

So I said yes to updating to MXcube V 5.x and now I cannot compile the code because it generates code that is only compatible with the latest IAR EWARM versions. I have 6.x and there are evidently features in the new IAR versions that keep me from m...

Changing sampling time on STM32 MCU ADC?

I am working on a project where I need 6000 samples per second converted by the ADC. In STM32CubeMX, I have the following configurations set for the ADC:What parameters can I change so that I am getting 6000 samples per second? Do I need to configure...

0693W0000059A8wQAE.png
MCrew.1 by Associate III
  • 3466 Views
  • 6 replies
  • 0 kudos

STMCubeMX - "Pin compatible feature" bug reporting.

Hi everyone, We have discovered a bug with the STMCubeMX'S Pinout compatible feature between STM32F030C8 and STM32F030CC.Based on the STMCubeMX both MCUs (STM32F030C8 and STM32F030CC) are Full Pinout Compatible. Based on the STM32F030 datasheet, th...

CSern.1 by Associate II
  • 1719 Views
  • 6 replies
  • 0 kudos

Resolved! STM32H723 STM32CubeMX Clock Configuration

Hi,STM32CubeMX allows to configure STM32H743 SYSCLK to 400MHZ, D1CPRE Prescaler to /2 and HPRE Prescaler to /1. (CPU CLK = 200MHZ and HCLK = 200MHZ)But this configuration is not allowed for the STM32H723. The HCLK box turns red and shows a message ...

Asantos by Senior
  • 2121 Views
  • 6 replies
  • 0 kudos

Change device package on an STM32H7 project?

CubeMX does not support import for STM32H7 projects. Is there a way to change packages on an H7 project. Specifically, Can I change from a 144 pin STM32H745ZI to a 176pin STM32H745II ?Edit: For this specific package change (i.e. changing to a larger ...

WLear by Associate III
  • 1276 Views
  • 4 replies
  • 0 kudos

Resolved! STM32L010C6Tx PWM TIM2 Channel 1 not working.

Hello, I am using Stm32CubeIDE. I configured simple program [code attached] in Cube to test if PWM works properly. I get expected results for PA1 and PA2 (channel 2&3), but no voltage at PA0.When writing this pin (PA0) as GPIO I get both low and high...

MŻuk.1 by Associate
  • 908 Views
  • 4 replies
  • 0 kudos