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.14.1 released

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

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
  • 502 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
  • 2127 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
  • 815 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
  • 1430 Views
  • 5 replies
  • 0 kudos

Initialization OSPI in Quad mode SPI for working with NOR FLASH

Hi everyone!I'm trying to use STM32H723 in QUAD SPI mode.CubeMX does project generation but when I trying to compile project at Keil an error appears about undeclared "GPIO_AF4_OCTOSPIM".If I changed it to GPIO_AF4_OCTOSPIM_P1 compilation run without...

AB.19 by Associate II
  • 4265 Views
  • 12 replies
  • 2 kudos