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

Just found out about CubeMX, was doing it the hard way before this..... I have not found a way in MX to create a complete thread based program.

I cannot find anything in the code generation which allows for me to easily, being the operative word, create threads from the generated code. I have not been able to find any examples either to this nature.What is the best way to go from a standard ...

BEppe.1 by Associate II
  • 2364 Views
  • 8 replies
  • 0 kudos

Resolved! USB not working when MCO2 enabled and driven by PLLI2SCLK

The image shows my clock configuration for the STM32F469IIT. I want a 12MHz output from MCO2 and I found that I could theoretically achieve this using the PLLI2SCLK input. However, when I use this configuration, the device is not recognised by the PC...

0693W00000Hnmc4QAB.png
C.East2 by Associate III
  • 1716 Views
  • 7 replies
  • 1 kudos

Resolved! CubeIDE, STM32F446RE and SAI2

As datasheet states (more than once) the LQFP64 package of the 446RE has 2 SAI blocks (both with SAI-A and SAI-B) and in the HAL driver/definitions stm32f446xx.h both are available, but I'm not able to select the 2nd SAI in Cube (it is not shown ther...

ACAV by Associate II
  • 1618 Views
  • 4 replies
  • 1 kudos

software packs question about STM32L5

Hi,I can add "X-CUBE-AZRTOS-L5_V1.0.0_M33NS" via "Pinout & Configuration->Software packs->Select Components" successfully, but failed at add "X-CUBE-AZRTOS-L5_V1.0.0_M33S".Please check the attachment.Your example "Tx_SecureLEDToggle_TrustZone.ioc " ...

zqizh.1 by Associate II
  • 844 Views
  • 1 replies
  • 0 kudos

CubeIDE : support for more than one cubeMx project

I actually have a Nucleo and a custom board. They are running same software and are very identical in terms of hardware but not identical: but there is at 2 pins that need to be changed and UART added: set baud rate, set NVIC IT. I also have to inser...

DaDude by Associate II
  • 863 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeIDE creates main.c but I am using main.cpp!

I converted project from C to C++ with right click on project-> Convert to C++. The problem occurs when I generate the code in graphic configurator . It creates main.c file. Which is also loaded to controller if I run it. How to solve this problem?

0693W00000GZecYQAT.png
MAnto.2 by Associate III
  • 3457 Views
  • 3 replies
  • 2 kudos