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
  • 860 Views
  • 5 replies
  • 7 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
  • 4335 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
  • 2129 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
  • 2484 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
  • 1552 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
  • 1073 Views
  • 4 replies
  • 0 kudos

Compile Error when active FreeRTOS V1

In the attached .ioc file, when FreeRTOS V1 is enabled via Cube, the project does not compile and gives errors. The errors image is also attached.Another thing is that the LCD clock must be set to 96.875MHz to work properly! The tipycal clock for my ...

Slh by Senior
  • 933 Views
  • 5 replies
  • 0 kudos