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! How to set up HS CDC of STM32H747-Disco in CubeMX6.2.1?

I can transmit data to my computer when I used HS CDC in FW_H7_V1.8.0 of CubeMX6.0.1. Yesterday, I updated CubeMX6.0.1 into CubeMX6.2.1 and also used FW_H7_V1.8.0, but the HS CDC showed STMicroelectronics Virtual COM Port error code "10".So, I set up...

JHuan.4 by Associate II
  • 1443 Views
  • 4 replies
  • 0 kudos

What Debug mode to use ? JTAG 4 Pins or 5 Pins ?

I'm learning arm, I have a custom board with a STM32F4 MCU and a debug probe with JTAG 20 pins.In CubeMX System Core> SYS> Debug I have this option:- Serial Wire- JTAG (4 Pins)- JTAG (5 Pins)- Trace Asynchronous Sw- JTAG with Trace with Synchro (1 bi...

A..1 by Associate II
  • 13543 Views
  • 8 replies
  • 0 kudos

Resolved! STM32CubeMX configures MCU to use SMPS instead of LDO

Dear ST community,there seems to be a bug in the latest version of the initialization code creator. I'm using STM32Cube IDE Version: 1.6.1 Build: 9958_20210326_1446 (UTC) with the included STM32CubeMX 6.2.1.20210324. The firmware package is STM32Cube...

Resolved! STM32H7A3 DAC2 clock enable

I’m using STM32CubeMX 6.2.1, STM32CubeIDE 1.6.1 and STM32Cube_FW_H7_V1.9.0. I found that the MX generated init code (LL) for DAC2 calls LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_DAC12) when it should call LL_APB4_GRP1_EnableClock(LL_APB4_GRP1_PERI...

AMacI.1 by Associate II
  • 965 Views
  • 2 replies
  • 0 kudos

STM32CUBEIDE delete all of my files and folder

When I try to create stm32 project using CUBEIDE, I accidentally click "cancel". Then CUBEIDE delete the folder generated by them which it is good. After that, it delete all of my files inside one higher level parent directory. WTF!! This is severe b...

STria by Associate II
  • 8475 Views
  • 23 replies
  • 3 kudos

Reading Multiple ADC channel

Hi, I'm trying to read ADC value from multiple ADC channels but reading the same ADC value for all channels.This is my code snippet. Please support to fix it asap.#include "main.h"/* Private includes --------------------------------------------------...

0693W00000BbcoMQAR.png 0693W00000BbDjWQAV.png
VDutt.1 by Associate
  • 21224 Views
  • 6 replies
  • 3 kudos