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
  • 520 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
  • 1483 Views
  • 5 replies
  • 7 kudos

I just added FreeRtos to my project through .ioc file. I tried to compile my project, but I get an error "Error: Cannot find the specified linker script. Check the linker settings in the build configuration.". Why am I getting this error?

I just added FreeRtos to my project through .ioc file. I tried to compile my project, but I get an error "Error: Cannot find the specified linker script. Check the linker settings in the build configuration.". I am very new with CubeIDE and have only...

SPate.4 by Associate II
  • 962 Views
  • 3 replies
  • 0 kudos

Resolved! Can't get TIMER to perfect count and Toogle Pin

Ok, so I decided to change from Arduino IDE (STM32F103) to STM32CubeIDE (STM32F334R8).I can't get perfect timing.My program just have to toogle my pin after x us (that is presented inside a vector)Just to illustrate, here is my arduino code (I only ...

TMaia.1 by Associate II
  • 1474 Views
  • 5 replies
  • 0 kudos

Updating STM32G0 MCU Package in CubeMx gave me problems

I'm using a STM32G030K6 device. It was working fine until I migrated from 1.3.0 version to 1.4.0 version MCU Package. Now when I try to compile it throws the errors below. Could someone give an explanation why this? How could I make CubeMx switch ba...

0693W000006EkgFQAS.png
xpp07 by Senior
  • 693 Views
  • 3 replies
  • 0 kudos

Resolved! CubeMX no longer supports code generation for Keil / IAR IDE?

I recently installed the latest STM32CubeMX. Much to my great regret, I did not find the ability to generate code for the Keil / IAR IDE. Is this option really no more, or has it been hidden? If not, which of the latest STM32CubeMX versions has these...

PBobo.1 by Associate II
  • 1561 Views
  • 4 replies
  • 0 kudos

We have downloaded the STSW-IOD01 firmware for the Nucleo-L073rz board. The STSW-IOD01 project is not set up in a format able to be used with the STM32CubeMx. Is there some way to convert it so we can use it with the STM32CubeMx environment?

We have selected the Nucleo-L073rz board in STM32CubeMx, created a project and are copying the code from STSW-IOD01 into the new project but this is very tedious and prone to errors. Also, please note that the STSW-IOD01 firmware comes preloaded in ...

LFerg.2 by Associate
  • 480 Views
  • 0 replies
  • 0 kudos

Resolved! Setting specific GPIO_Output pins high/low

I am able to set pins (high/low) that I have specified to be GPIO_Output in the Pinout& Configuration tab of the .ioc file. Using the code written below (changing the pin number) I am able to observe the expected behaviour on a oscilloscope using all...

RRobi.1 by Associate II
  • 2140 Views
  • 6 replies
  • 0 kudos

I recently purchased a new laptop and installed cube MX latest version for STM32F4 Series 1.25.2 I also installed the latest version of Keil. I am having an issue when generating code from cube MX to keil:

Here is the error message I am getting from CubeMX:Here is my project manager window:See also STM32 Cube MX file log:eThanks very much for taking the time to read and hopefully help me with this issue.Thanks,Luke

LMyle.1 by Associate III
  • 590 Views
  • 1 replies
  • 0 kudos

Is fADC=48MHz actually possible?

I tried using STM32CubeMX to configure an STM32H725 LQFP-100 device to get fADC=48MHz by getting the ADC Clock Mux output to 96 MHz, and using a /2 prescaler on the ADC1 peripheral but the drop-down for "ADC Clock Prescaler" only allows /4 or higher ...

0693W000006FtpNQAS.png 0693W000006FtpSQAS.png