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

Resolved! Register Showing

Does anyone know how to view the Registers in CubeMX while changing?If not, I think it would be nice to add a way.

Gedo by Associate II
  • 1158 Views
  • 3 replies
  • 0 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
  • 1808 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
  • 1609 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
  • 3541 Views
  • 8 replies
  • 0 kudos