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

Resolved! I2C DMA synchronization not triggering

Hi guys,I am trying to run a demo on STM32U083C-DK board. This demo consists of LPTIMER generating PWM that is used for synchronization of I2C read from on-board temperature sensor. Rising edge writes the addres of read and falling edge reads data. T...

dryet_0-1724843526621.png dryet_1-1724843567189.png dryet_2-1724843593231.png dryet_3-1724843626795.png
dryet by Associate II
  • 1247 Views
  • 4 replies
  • 0 kudos

Resolved! Updating Mbed TLS

I am considering using MbedTLS in a project. My concern is that the version in STM32CubeMX is 2.16.2 which is quite old (Jun 2019). They just released v3.0.0 last month which I believe supports TLS1.3. How long does it take for ST to update the ve...

MStra.3 by Associate III
  • 3467 Views
  • 3 replies
  • 1 kudos

Resolved! Trouble generating linker

Hi,I’m encountering an issue with linker file generation in STM32CubeMX for the STM32H56VGTX MCU. When I generate the code using CubeMX, it produces linker files configured for the STM32H563xx family, which has 2048 kBytes of Flash memory. However, t...

JonConesa by Associate III
  • 1900 Views
  • 3 replies
  • 1 kudos

如何调整CubeMX的默认引脚

如题,在我使用H743XIH6时,我想使用FMC外设,但是我不太想用默认的PF0,PF1作为地址线,我想使用PG0、PG1作为地址线,但是我在MX中无法修改满足上述需求,在最后的代码生成中,他们是叠加在一起初始化的。而我取消PG0、PG1的话,则FMC外设也一起被取消了 

ALO9611_1-1724597444878.png
ALO9611 by Associate II
  • 1204 Views
  • 4 replies
  • 0 kudos

Resolved! External Clock Configuration

Hi,I am using the STM32L031F6 MCU and have configured the internal clock, which is working properly. However, I need to configure the external clock. We observed a pin conflict when changing to the external clock configuration because we are using th...

Screenshot 2024-08-21 153259.png Anusree_k_0-1724255752629.png
Anusree_k by Associate II
  • 3060 Views
  • 5 replies
  • 3 kudos

Resolved! Bug found in CubeMX 6.12.0

Hi Testing CubeMX 6.12.0 and found a bug.  This may exist in other editions.   The code generator improperly places the user code comments in the final while(1) loop.  This causes MX (and its integration into IDE) to delete all user code.  While test...