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

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
  • 846 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
  • 1261 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
  • 1084 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
  • 1438 Views
  • 6 replies
  • 0 kudos

SPI speed limited to 40 MHz on STM32L4R5Zi?

Hello! I was looking at the datasheet for the STM32L4R5ZI chip and it shows the limitation of the SPI (for the 2.7V to 3.6V range). I set this in the *.ioc file and tried to select a prescaler of 2 on a 120 MHz block to get a frequency of 60 MHz. ...

JayDev by Senior II
  • 1084 Views
  • 2 replies
  • 0 kudos