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

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
  • 13891 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
  • 986 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
  • 8615 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
  • 21410 Views
  • 6 replies
  • 3 kudos

How to correctly configure CubeMx for timer One Pulse Mode?

I am trying to output One Pulse Mode, however the output is not back to 0V when the pulse is complete. The One Pulse is started with a button interrupt.The timing of the One Pulse is correct, but when the pulse is finished, the output was set to high...

0693W00000BctCeQAJ.png 0693W00000BctClQAJ.png 0693W00000BctCqQAJ.png
Xxoyo.1 by Associate III
  • 3519 Views
  • 4 replies
  • 0 kudos