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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

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
  • 3723 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
  • 1915 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
  • 2223 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
  • 1349 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
  • 960 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
  • 853 Views
  • 5 replies
  • 0 kudos