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
  • 343 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
  • 1368 Views
  • 5 replies
  • 7 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
  • 1015 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
  • 1794 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
  • 5227 Views
  • 12 replies
  • 2 kudos

Resolved! STM32H7 LWIP Code generation bug

Hi,there is probably small bug when generating project STM32CubeIDE using LwIP stack. In file LWIP/App/lwip.c, there is duplicate user code section 4_3. This is present twice (on lines 113 and 151):/* USER CODE BEGIN 4_3 */ /* USER CODE END 4_3 */Fir...

0693W00000D2XyUQAV.png 0693W00000D2XyoQAF.png

CubeMX 6.2.1 RC2 latest User constants error

I use user constants in projects entered in CubeMX window. I found two isues with latest MX.When i open ioc file in CubeIDE firstly after open IDE , then i see user constants OK, but when i move in some settings or close generate and reopen, my const...

MM..1 by Chief III
  • 1069 Views
  • 6 replies
  • 0 kudos