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
  • 325 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
  • 1355 Views
  • 5 replies
  • 7 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
  • 1184 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
  • 4313 Views
  • 5 replies
  • 1 kudos

RCC config problem

Hi,Latest CubeMX.Steps to reproduce RCC config error1. Board:STM32H747I-DISCO2. Click on X-CUBE-AI, select Cortex-CM7, select Install for X-CUBE-AI/Core, press OK3. Project manager: set project name, toolchain: CubeIDE, generate the code4. Click agai...

Test User by Associate III
  • 1437 Views
  • 2 replies
  • 0 kudos

Resolved! Install fails on step 8/9 'C:\Program' is not recognized

I have been trying to install STM32CubeMX (SetupSTM32CubeMX-6.9.1-Win.exe) for a *while* and yes I right-clicked and chose "Run as Administrator". It always fails during step 8/9 with the same message that "'C:\Program' is not recognized as an intern...

Initial message.png JavaErrorDetails.png TooTallError.png
TonyM by Associate II
  • 6684 Views
  • 2 replies
  • 0 kudos

Changing SystemClock in XiP

Hello,I'm currently working with the STM32H750 and using a bootloader that runs a basic Clock and QUAD SPI Config for XiP and jumps to the main application.Once in the main application, a new clock config is applied using the generated SystemClock_Co...

rmartins by Associate II
  • 1820 Views
  • 5 replies
  • 0 kudos

CubeMX HRTimer config bug

HelloI found bug in BurstMode Configuration in HRTimer. There is not possible to set Burst Mode Period lower than DeadTime. It is OK, but CubeMX compare numbers only and does not count with prescalers values. I think Burst mode period must be grater ...

PDvor.2 by Associate
  • 1036 Views
  • 2 replies
  • 0 kudos

Resolved! STM32CubeMX I2C on STM32H563

Hi,I use STM32CubeMx 6.9.1 on a STM32H563 project. Programming the I2C pins, there is no way to setup the I2C_SCL pin as Alternate PushPull. Only the Alternate Open Drain is possible. Why?In my application, the I2C_SCL pin is connected to a serial EE...

Ez by Associate II
  • 2166 Views
  • 4 replies
  • 0 kudos