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
  • 1049 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
  • 1825 Views
  • 5 replies
  • 7 kudos

STM32L4R5ZI - Octospi bug in code generation

I am using the interfaces octospi1 and octospi2 to interface two qspi-nor flashes.The interfaces are configured the following way:Quad spi (octospi 1 uses low port 1 and octospi 2 uses low port 2)CLK (octospi 1 uses port 1 and octospi 2 uses port 2)N...

Seegras by Associate II
  • 721 Views
  • 0 replies
  • 0 kudos

Impossible to load or migrate project in STM32CubeMX v6.2.1

This is an everlasting bug of STM32CubeMX since v6.x release. After installing the latest v6.2.1 and trying to open IOC file (STM32H745BI MCU) creaded with previous version v5.x of CubeMX one gets unknown error window shown in the attachment.It does ...

davhak by Associate II
  • 2786 Views
  • 9 replies
  • 0 kudos

STM32H7 CubeMX RCC Init order bug causes hardfault

Edit: I managed to narrow this down and create a reproducible, minimal example.Posted as bug-report here: https://community.st.com/s/question/0D53W000011uLtPSAU/stm32h7-cubemx-critical-codegeneration-bug-rccllIn my opinion the CubeMX generated clock ...

0693W00000DpgrBQAR.png

Resolved! STM32CubeMX, how can I manually assign pins?

When I enable a peripheral like LTDC - the pins automatically get assigned. I would prefer to assign them manually so that I can have all related signals come out from a single side of the LQFP. How can I do this? Or is this not advised?

RMora.4 by Associate III
  • 1092 Views
  • 2 replies
  • 0 kudos

Resolved! CDC USB fails at the Python level on the PC

there is some code left out of the Cube initialisation that causes this issueplease put this back in...using L432 today, but this issue is a HAL problem.This corrected function fixes this issue. ( thanks to stack overflow)https://stackoverflow.com/qu...

T J by Lead
  • 2089 Views
  • 5 replies
  • 0 kudos