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

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
  • 1799 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
  • 1598 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
  • 3524 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
  • 1272 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
  • 1147 Views
  • 2 replies
  • 0 kudos

Porting X-CUBE-TIMCOOKER from F302R8 to F401RE

I want to port the TIMCOOKER examples from STM32F302R8 to STM32F401RE. This is easily done according to the data-brief, as the examples are generated using CubeMX. However, there are no .ioc files present in the repository so I guess you need to chan...

CubeMX, reports, .ioc file format, diff / tooling

a) looking at UM1718 Rev 41 (July 2023) "11.4 Generating the report" there should be a button in the "Project Manager" Tab to start a export. I don't remember seeing it before and in "STM32CubeMX - STM32 Device Configuration Tool Version: 6.9.0-RC9 B...

_richard by Associate III
  • 4233 Views
  • 5 replies
  • 1 kudos