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.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
  • 790 Views
  • 5 replies
  • 7 kudos

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
  • 1069 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
  • 4320 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
  • 2125 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
  • 2478 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
  • 1539 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
  • 1058 Views
  • 4 replies
  • 0 kudos