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

pin configuration in STM32H753XIH6

Hi,Currently we are using STM32H753XIH6 controller. In controller datasheet pin name B6 type is given as VSS but in cubemx it is given as NC. Please clarify which type is correct for B6 pinThanks

DVisa by Associate II
  • 644 Views
  • 2 replies
  • 0 kudos

How to Configure FATFS for SDMMC ?

Hi ,​I`m trying to build a project with STM32CubeMX and use FATFS for SDMMC ,then print it with UART on screen.​Here is the configuration on CubeMX.(If I configured wrong way,then you can tell me! I`ll appreciate that)​​I have built it for many time...

0690X000009ZgHvQAK.png 0690X000009ZgI5QAK.png 0690X000009ZgI0QAK.png 0690X000009ZgIFQA0.png

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
  • 473 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
  • 666 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
  • 456 Views
  • 0 replies
  • 0 kudos