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! Changing from STM32F769NIHx to STM32F769BGTx

Hi ThereIn our project we would like to change the MCU Type from MCU Type NIHx to BGTx. As far as I can see there should not be any conflicts with exception of the Flash size. As we do not need more than the 1MB this is not a problem for us.Is it cor...

LHege.1 by Associate III
  • 1793 Views
  • 3 replies
  • 0 kudos

Resolved! How to use COMP1 and COMP2 in STM32H747I-DISCO board?

I could not figure out how I can connect a sine wave signal to the positive input of COMP1 or COMP2 comparators in STM32H747I-DISCO board. According to the STM32CubeMX the comparators positive inputs are on PB0 (COM1_INP) and PB9 (COM2_INP) GPIO, but...

Louie88 by Senior
  • 1497 Views
  • 5 replies
  • 0 kudos

Resolved! Possible stm32G0 cube mx generation Error for usb

While setting up a project using cubeMx for a stm32G0, I stumbled across a possible error on the USB_device files. This error resulted in the usb reset handler stalling the machine. My project specifies the USB as full speed and looking in the genera...

TSÉNA.1 by Associate II
  • 4338 Views
  • 11 replies
  • 2 kudos

Resolved! Code generated from CubeMX for a ThreadX design creates a [projectName]/ThreadX path but no ThreadX directory

CubeMX Version: 1.8.0Build: 11526_20211125_0815 (UTC)When selecting ThreadX from the software pack, CubeMX creates a [projectName]/ThreadX path but no ThreadX directory in the project tree or in the project folder matching the name in the Project Pro...

GGree.1 by Associate III
  • 2357 Views
  • 9 replies
  • 0 kudos

Resolved! STM32G031F4P ADC Trigger problem.

Hi everyone.I am using STM32G431F4P MCU. I am using Timer3-Channel3 PWM output. PWM frequency is 20 kHz. ADC1 is DMA mode and i want to trigger ADC1 using Timer3-Channel1 (PWM generation no output). Timer3 and ADC1 settings are as follows;This is cod...

0693W00000JPR75QAH.png 0693W00000JPR88QAH.png
ABURM by Senior
  • 1213 Views
  • 6 replies
  • 0 kudos

Resolved! PWM frequency generated using timer 1 is incorrect.

I want to generate a PWM at ~76K Hz using the TIMER1 on an STM32F401 microcontroller.To my understanding, because the timer 1 is clocked at 84 MHz, I need to configure the ARR to 1099. See the screenshot to see my detailed configuration.## The proble...

0693W00000JPWf2QAH.png 0693W00000JPWenQAH.png 0693W00000JPWesQAH.png 0693W00000JPWeTQAX.png
GBert.2 by Senior
  • 1750 Views
  • 2 replies
  • 0 kudos

STM32CubeMX: Feature request - "User Labels" for periphery.

When creating a project with several different hardwares I like the posibility that the CubeMX created definitions for the GPIOs in the main.h header file which can be used in the project and by just changing the project-file one can use a totally di...

stst9180 by Associate III
  • 756 Views
  • 1 replies
  • 1 kudos