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

stm32cubemx generate error

I want to report an error. I use lastest version cubemx v5.3.0. And lastest lib "STM32Cube MCU Package for STM32F1 Series 1.8.0".I use Makefile to build. Not keil.Every time (except first time) I generate code. There is an error in Makefile:I have wa...

0690X000009Zfu3QAC.png

Resolved! RTC (re)initialization with Cube generated LL project

The "MX_RTC_Init" function called by default from the main.c resets the RTC's date and time to zero values (by default) or to some other predefined constant values.The standard practice is to set a bit in one of the backup registers after setting the...

STM32L072CBT6 MX_USB_DEVICE_Init(); problem

I have developed a wireless receiver based on the STM32L072CBT6 mcu but I have ran into a very weird problem.The receiver can be powered either from mains power or from USB (both converted down to 3V3). When I power it from USB it will always start w...

MStab by Associate
  • 413 Views
  • 0 replies
  • 1 kudos

hello world with ADC crashes on STM32F051

Hello,I ran into a problem with a STM32F051K6T and cannot figure out where the problem is.With Cube I configure the controller with UART (TX-only 115.2kBd) and polling on ADC_IN0.The generated code for uVision compiles and loads errorfree.But even th...

Manitux by Associate
  • 547 Views
  • 2 replies
  • 0 kudos

ADC input voltage range in differential mode

In STM32CubeMx H7(v1.5.0) the example of ADC_DifferentialMode for NUCLEO-H743ZI is showing that we can measure difference voltage range of 6V6 in this mode and readme,txt file is also clearly telling us that we can vary the input voltage from -3V3 to...

0690X000009Z2xqQAC.png

Found a bug with the latest rev of STM32CubeMX Rev 5.3.0

I just migrated to CubeMX Rev 5.3.0. I'm developing a project for the Nucleo STM32F429ZI board. My target toolchain is Keil MDK-ARM V5. I'm using mostly the LL function libraries. I'm using the latest FW_F4 V1.24.1 package. Bug: As soon as regenerate...

MSilv by Associate
  • 395 Views
  • 0 replies
  • 0 kudos

SensorTile and CubeMX integration

Hello, I've been learning and using CubeMX a lot for project generation. I work with VS code and compile via make through the generated makefile and it is going pretty good.Now I have to work with the SensorTile and I really wish to use the cube con...

ANist by Associate III
  • 1239 Views
  • 6 replies
  • 0 kudos