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.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
  • 801 Views
  • 5 replies
  • 7 kudos

Resolved! ADC Initialization Function Generated From IOC

STM32CubeIDE 1.15.1, Windows, STM32H563 MCU When MX_ADC2_Init() generated by saving IOC file I get the wrong sampling time and rank for Vddcore. The IOC file shows 640.5 cycles and rank 3 but MX_ADC2_Init() shows 2.5 cycles and rank 1:   /** * @bri...

mccabehm_0-1719266346344.png

Resolved! How to Set VREFBUF to Internal Voltage Refence

I'm using at STM32H563VITz in LQFP100 package.According to the reference manual (RM0481 Rev 21209) I can use the internal Voltage Reference (and then set it to 2.0478V)I've also referenced the post at: How to configure VREFBUF on my STM32 - STMicroel...

BenG_0-1727268558193.png BenG_1-1727268566309.png BenG_2-1727268830619.png
BenG by Associate II
  • 1273 Views
  • 3 replies
  • 1 kudos

Resolved! Generated Dual-Core CMake project Path typo

Hello,I've generated code for a dual cure MCU (stm32H755) and tried to build the project (on a unix system). However, I get an error in `mx-generated.cmake` indicating that the startup file cannot be found. I tracked down the issue to the directory f...

Resolved! CubeMX setting GPDMA1 in UART repeats init members

 Lines 19 and 26 are repeated. Mode is set to normal (0x0000) twice. The structure is already initialized to `={0};` it doesn't need to be overwritten once, let alone twice.Initialized for STM32H563.usart.c  /* GPDMA1_REQUEST_USART1_TX Init */ DMA...

MBC by Associate III
  • 1140 Views
  • 2 replies
  • 1 kudos

Resolved! STM32G4: STM32CubeMX bug for FDCAN?

I am seeing a similar issue in STM32CubeIDE v1.15.1 when trying to configure the FDCAN for the STM32G432KB - I am not able to set "Nominal Time Seg1" or  "Nominal Time Seg2" to '1'.

CTapp.1 by Senior III
  • 1111 Views
  • 3 replies
  • 0 kudos

Resolved! STM32H573VITxQ RMII interface

I'm planning to build a low-power Ethernet project using the STM32H573VI microcontroller. I need to use an SMPS to lower power consumption because of that reason i choose that MCU. During createation of project, I noticed that STM32CubeMX offers RMII...

alpkra by Associate
  • 1967 Views
  • 4 replies
  • 2 kudos

Problems with CubeMx 6.12 + adc5 + dma

In my project I use 4 adc, managed with the same code. With adc5, and two channels, I had a problem: I read two equal values, that is, the second was equal to first channel.After several searches I discovered that, in the adc.c file created by cubemx...