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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

Resolved! How to disable USB Mass storage at runtime.

I to all,I have a project where an STM32F013RTC use an SD card.At run time the SD is share with FAT_FS or it is used as USB mass storage device, but not at the same time.I need to disable USB module.The configuration is made from CubeMX, so I have th...

ABatt.1 by Senior
  • 1266 Views
  • 3 replies
  • 0 kudos

STM32H725 ADC1/2 run at half the configured speed?!

Hi,I'm currently setting up ADC1/2 of STM32H725IGx, using STM32CubeMX 6.3.0 with FW_H7_V1.9.0. They are configured to run at async ADC clock, which is about 126 MHz defined in CubeMX Clock Configuration, divided by 4 => 31,5 MHz.However, sampling and...

RAM size is wrong.

I am using below development toolsMCU: STM32H7B3IIT6IDE: STM32CubeIDE Version: 1.8.0GUI: TouchGFX Version: 4.18.1I am using IS45S16800F-7CTLA1-TR SDRAM. I added CubeIDE interface. External SDRAM size 128Mb==16MB but Built analyzer shows 1024KB. Why d...

0693W00000JQ3JMQA1.png

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
  • 1561 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
  • 1274 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
  • 3686 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
  • 1947 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 Associate III
  • 1065 Views
  • 6 replies
  • 0 kudos