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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

Resolved! Project>Build Project greyed out/nonfunctional

Why does this happen ? Could this, in part, be due to me not knowing whether to choose "new C project" vs "new C++" project?Using: STM32CubeIDE 1.5.1Build: 9029_20201210_1234 (UTC)OS: Windows 8.1, v.6.3, x86_64 / win32Java version: 1.8.0_272

RPasc.2 by Associate III
  • 1225 Views
  • 1 replies
  • 0 kudos

How to use DMA to update the PWM setting on a timer

Hi all,I am using a PWM timer. That is initialized and works fine.Code for init below:static void MX_TIM2_Init(void) {   /* USER CODE BEGIN TIM2_Init 0 */   /* USER CODE END TIM2_Init 0 */   TIM_ClockConfigTypeDef sClockSourceConfig = {0}; TI...

SSchu.4 by Associate II
  • 940 Views
  • 1 replies
  • 0 kudos

Resolved! What could cause Usb Bad Descriptor and how to debug

Hello, It's my first try with Usb directly on an MCU, i used stm32cube mx and code generator to make a first test but when i'm running a simple cdc code i get windows throwing me an error about usb bad descriptor.I linked my ioc and my usb schematic,...

0693W000006E90lQAC.png
FGERA.1 by Associate
  • 1390 Views
  • 5 replies
  • 0 kudos

Resolved! Migrating to new Cube version

Hi, some year ago i loaded STM32CubeIDE_1.2.0 and the package STM32Cube_FW_F4_V1.24.0 and i make some project (26). Now I load STM32Cube32 1.5.0 and package STM32Cube_FW_F4_V1.25.0.The packages are loaded in the same area (Repository).I try to import...

Evaluating the X-NUCLEO IHM16M1 board using STM32CubeIDE. Working add on package for CubeMX cannot be found.

I am attempting to evaluate the X-NUCLEO IHM16M1 board using STM32CubeIDE.  MCU board is a NucleoF401RE. I have tried to find a (working) add on package for CubeMX but can only find .zip files with example code for Kiel etc.  Is there an add on packa...

Why is there no way to export a CMSIS/HAL set from CubeMX?

The packs we can download contain entire STM32Fx series with include files for everything.When we select a specific MCU in CubeMX we should be able to use this to export a "clean" set of HAL and CMSIS files as well as potential low level boot/init f...

kyrreaa by Associate III
  • 1193 Views
  • 7 replies
  • 0 kudos

Resolved! Re-run STM32CubeMX after generating code ?

After creating a new project STM32CubeMX it automatically generates code. If I want to change any setting using STM32CubeMX how can it be restarted from within STM32CubeIDE ?I ran STM32CubeMX by double-clicking the .ioc file, but STM32CubeMX does no...

RPasc.2 by Associate III
  • 1581 Views
  • 6 replies
  • 0 kudos