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.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
  • 714 Views
  • 5 replies
  • 7 kudos

Resolved! STM32CubeMX 6.2.1 for NUCLEO-H745ZI-Q doesn't generate PeriphCommonClock_Config() when ADC clocked by PLL3

I create a STM32CubeMx project (test.ioc) for a NUCLEO-H745ZI-Q board and select PPL3 to clock the ADC, but the function PeriphCommonClock_Config() is not generated unless I also clock the USB from PPL3 as well.After enabling a single ADC1 channel I ...

0693W00000Bd2GXQAZ.png 0693W00000Bd2HLQAZ.png
CHossack by Associate III
  • 1767 Views
  • 3 replies
  • 0 kudos

sdcard not working in freertos when using with sdio

Hi all, I have had some problems when working with sdcard (using sdio) in freertos. I use dev kit STM32-E407 Olimex ( it support sdcard slot on board, I use sd card 16GB). when I read sdcard without using freertos, It's working. But when I using free...

TTa.1 by Associate
  • 1270 Views
  • 1 replies
  • 0 kudos

USB CDC CubeMX generated code does not work on STM32F446RE

Hello,I recently started using STM32 Microcontrollers, and before using STM32 Cube IDE, I used Mbed Studio for PC to USB communication using USB, and now having switched to Cube IDE, I can't seem to make the CDC class work, when I try to debug it, it...

MStr.1 by Associate
  • 658 Views
  • 1 replies
  • 0 kudos
MLync.1 by Associate II
  • 1676 Views
  • 7 replies
  • 0 kudos

Resolved! STM32CubeMx freeze if DMA Event for SPI4 is activated

Hello,if I generate with CubeMX 6.2.1 (Windows 10 or Ubuntu 20.04) the attached project, it freezes with the following screen:MCU: STM32H7A3V(G-I)Tx2021-07-13 09:20:39,936 [ERROR] runtime:60 - Error executing FreeMarker template FreeMarker template e...

0693W00000BdVm8QAF.png
CKage.1 by Associate
  • 1000 Views
  • 3 replies
  • 0 kudos

Hi, I am using STM32H7A3 board. I need to store a large file. My requirement is to connect an external Flash to STM32 board. When i checked the documents i found QSPI support external flash memory.

The QSPI pins are mentioned in STM32H7A3 reference document. Please refer Img1.In STM32CubeIDE I am seeing the interface as OCTOSPI. Please refer Img2.I need to know Does STM32H7A3 board supports QSPI or OCTOSPI?If it supports , please give the det...

JJoy.1 by Associate III
  • 1595 Views
  • 5 replies
  • 0 kudos