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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 757 Views
  • 0 replies
  • 1 kudos

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

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
  • 1084 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
  • 9314 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
  • 22047 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
  • 3845 Views
  • 4 replies
  • 0 kudos

Block diagram of TIM14

Dear All, As you know well STM32CubeMX IDE is showing clock configuration block diagram which is the user programmable interface as showing in the attached picture. My question is ....Can we able to see all the timer block diagrams also in the format...

0693W00000BckoMQAR.png
DLesl by Associate II
  • 1002 Views
  • 3 replies
  • 0 kudos

Resolved! NUCLEO STM32F767ZI: problems to enable USB OTG FS (Host)

I started a STM32 framework project here: https://github.com/FBergemann/STM32-FreeRTOS-Framework/tree/dev-usb-host-msd. And i am currently busy to set up logging to console and USB FS (as Host to USB stick). But i didn't manage to enable USB OTG FS. ...

FBerg.1 by Associate III
  • 3838 Views
  • 10 replies
  • 0 kudos