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
  • 629 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
  • 1557 Views
  • 5 replies
  • 7 kudos

Resolved! USB_OTG_FS and USART1 Async on same board

Hi! I'm using an STM32F401RET6 and was planning on using both USART1 in Asynchronous mode and USB_OTG_FS peripherals.In STM32CubeIDE when they are configured at the same time there is an error. I've tried PA9/10 and PB6/7 for TX/RX for USART1 but the...

jlaufer_0-1742146271064.png
jlaufer by Associate III
  • 818 Views
  • 3 replies
  • 1 kudos

Resolved! STM32G0B1 NRST not pinned?

Hi, Not sure if this is an issue or if I'm missing something.Shouldn't the processors reset-pin be pinned by default even though it allows for alternative functions?Maybe this is a non issue, but I feel like the reset pin is somewhat critical. 

XD_0-1742131303016.png
XD by Associate III
  • 500 Views
  • 1 replies
  • 1 kudos

STM32N657-DK

I just started working with the STM32N6570-DK and tried a simple blink the LED example based on the "How to create an STM32N6 FSBL load and run" article.  I selected the Initialize with default parameters option and without touching any configuration...

john-6 by Associate II
  • 557 Views
  • 0 replies
  • 0 kudos

Resolved! Freertos semaphore not initialised correctly by CubeMX

By setting up a new project in STM32CubeMX 6.10.0, when adding a Semaphore in FREERTOS, the generated code is not correct, and the binary semaphores are initialised in a Taken state ( initial_count=0 of osSemaphoreNew() )  - resulting in the fact tha...

An error occured while generate NetXDuo Code

 I make a new product with NetXDuo for STM32H743.But, it is included error code in RTE_Components.h RTE_Components.h (A project)/* USER CODE END Header */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __R...

Resolved! STM32H745 bootloader access after full chip flash erase

I'm trying to verify my connection to the STM32H745 built in bootloader over UART 1, using pins PA9 and PA10 using STM32CubeProgrammer.  First I erased flash by using full chip erase flash memory in STM32CubeProgrammer using JLink/Flasher.  I then di...

GHolc.1 by Associate III
  • 780 Views
  • 2 replies
  • 1 kudos

Resolved! Generated uVision Project File is corrupted

When generating code in CubeMX for the MDK-ARM Toolchain, the uVision Project file (.uvprojx) is corrupted.When I try to open the project it shows the following message: Comparing the project files shows that the following section gets removed:Manual...

uvision.png diff.png
Jonas3 by Associate II
  • 632 Views
  • 2 replies
  • 0 kudos