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
  • 633 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
  • 1563 Views
  • 5 replies
  • 7 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
  • 3449 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
  • 1885 Views
  • 3 replies
  • 1 kudos

如何调整CubeMX的默认引脚

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

ALO9611_1-1724597444878.png
ALO9611 by Associate II
  • 1184 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
  • 3020 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...

ADC Clock and Conversion Time question

Hi, I'm giwon KIM in South Korea. I'm using NUCLEO-401RE board. In STM32F401RE datasheet and reference manual, It is said to be capable of operating at up to 30 MHz.So its conversion time was set by calculating (12+3) / 30 MHz = 500 nsec.I generated ...

giwonKIM_0-1724206009978.png
giwonKIM by Associate III
  • 3635 Views
  • 6 replies
  • 2 kudos