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
  • 366 Views
  • 4 replies
  • 5 kudos

PI sampling period for FOC SDK

For calculating apriori PID parameters when running ST FOC SDK, you obviously need to consider the sampling time of the regulator for the integral term. According to UM1052, current sensing is synchronous to the PWM. Is the sampling period of the cur...

Resolved! Generate code for STM32CubeIDE (V1.13.1) from STM32CubeMX (6.9.1)

Hello,I am newbie to use of these tools. I want to initialize all the I/O and some modules on a STM32F030CC micro-controller.  I defined all the I/O from STM32CubeMX.  I want to use the 2 PWM output on PB0 (TM3_CH3) and PB1 (TM3_CH4). I transfer the ...

cr_qc by Associate II
  • 1755 Views
  • 3 replies
  • 1 kudos

Running as an administrator to update CubeMX

To the people that take care of developing the MacOS version of CubeMX; for the vast majority of users, running as an administrator is not a thing. Keep that in mind when you are putting together the dialogs under "CHECK FOR UPDATES". If administrato...

Resolved! Generating Defines from CubeMX Settings

Is it possible to generate #define from project parameters in CubeMX, such that they are produced in a header file my user code can reference?One example (of many possible ones) would be the HCLK frequency. I see MX generates the proper code to confi...

PSquared by Associate
  • 1576 Views
  • 3 replies
  • 0 kudos

Resolved! Disable NRST STM32G030J6

I have a design with a STM32G030J6 (SOIC8) controller. I don't need an external reset. I want to use the pin 4 as a GPIO (PA1). I connect a button to this input. I select the appropriate option in CubeMX, but when the button is clicked, the controlle...

0693W000001saHKQAY.png
AARTA.1 by Associate
  • 3485 Views
  • 8 replies
  • 0 kudos

Resolved! Offline updates of STM32CubeMX

HelloOur software development environment is running on Internet offline computers.Is it possible to get alerts when new versions of STM32CubeMX and firmware packages is released so we can download them and move them to our offline environment ??best...

hakan23 by Associate II
  • 1259 Views
  • 2 replies
  • 1 kudos

Why I don't have MX_X_CUBE_AI_Init

Hi,I've successfully generated a project with X-CUBE-AI. I searched for some examples on the internet and I've found that MX_X_CUBE_AI_Init is missing from my project. Why this function call is missing? I've the latest CubeMX. 

TestUser_0-1691902794912.png
Test User by Associate III
  • 1121 Views
  • 2 replies
  • 0 kudos