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
  • 391 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
  • 1389 Views
  • 5 replies
  • 7 kudos

Resolved! cmsis_armclang.h not included when using STARM_NEWLIB

I'm a new user of the STM32 and its tools, and I'm confused about their behavior when using ST's Arm Clang toolchain (not the hybrid Clang-GNU but the full Clang/LLVM). The ST-provided `cmsis_armclang.h` isn't being included in my build of a simple C...

wallwhit by Associate II
  • 1065 Views
  • 7 replies
  • 4 kudos

STM32CubeMX Generates MX_LWIP_Init even when disabled

STM32CubeMX always generates the function MX_LWIP_Init even when its generation is disabled. This causes a redefinition during compilation if a custom implementation already exists. On every regeneration the autogenerated file re inserts the function...

AAlis23_0-1758020584315.png AAlis23_1-1758020674000.png

Resolved! STM32N6570-DK USBX (USB-C, USB1) Error Code 43 on PC

Hello, I'm trying to implement USB communication with a PC using USB1 (USB-C port) on an STM32N6570-DK with CubeMX. Most tutorials I've found on USBX are for older CubeMX versions and boards, so I'm a bit stuck. When I connect the board to my PC, I o...

image.png image.png image.png image.png
TerZer by Associate III
  • 643 Views
  • 7 replies
  • 0 kudos

Resolved! Creating threads in threadx with cubeMX?

Hi all,I'm using an stm32f746 and I switched to a stm32u5a9 mcu. I was learning about freeRTOS with the f746 and now it looks like I should be using threadX instead. Since I don't know much about RTOS, switching is not a big deal. But using cubeIDE b...

threadx1.png
Rodo by Senior
  • 281 Views
  • 1 replies
  • 1 kudos

Resolved! TIM16 incorrect, random period

This is for an STM32F303.I've reduced my MX configuration down as much as possible so that it only has SWD and a button on GPIO PA8 configured and the incorrect behaviour still occurs. The intent is for PA8 EXTI falling edge to start a timer, and for...

avidroneg_0-1759763131044.png avidroneg_1-1759763166203.png
avidroneg by Associate III
  • 546 Views
  • 10 replies
  • 1 kudos