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

FatFS on SD card using SDIO in STM32F103

Hi,I'm trying to configure CubeMX to create a FatFS on an SD card using SDIO interface in STM32F103.I was reading https://community.st.com/t5/stm32-mcus/how-to-create-a-file-system-on-a-sd-card-using-stm32cubeide/ta-p/49830 but it's using SDMMC while...

AFink by Associate III
  • 4044 Views
  • 2 replies
  • 1 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
  • 1222 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
  • 1868 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
  • 1658 Views
  • 3 replies
  • 0 kudos