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
  • 582 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
  • 1518 Views
  • 5 replies
  • 7 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
  • 9188 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
  • 21931 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
  • 3791 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
  • 995 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
  • 3793 Views
  • 10 replies
  • 0 kudos

Out-of-box Cube code generated for STM32F411-E DISCO doesn't run. Error_Handler triggered in clock configuration.

I've just switched to working on an STM32F411-E DIscovery. Starting a new project (STM32CubeIDE) and allowing it to populate the default peripheral config for the board is generating code that will not run (at least not for me).The clock configuratio...

YIzAKat by Associate III
  • 1598 Views
  • 6 replies
  • 0 kudos