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! How can we contact ST Cubemx fw engineers?

Today i lost 4 hours to get UART DMA working, to find out CubeMx put some initialisation code in the wrong order. I would like to tell ST employees about this.This was generated by CubeMx, UART DMA did not work at all MX_GPIO_Init(); MX_SPI2_Init(...

sde c.1 by Senior II
  • 702 Views
  • 3 replies
  • 0 kudos

FATFS+STM32F030R8T6 Errors

Hello Everyone!I've tried to configure SD Card to STM32F030R8T6 via SPI1.For reference I took this link: https://controllerstech.com/sd-card-using-spi-in-stm32/After configuration CubeMX in STM32CubeIDE I've got the start code.Without any other codin...

0693W00000HrRa0QAF.png 0693W00000HrRaoQAF.png 0693W00000HrRbwQAF.png 0693W00000HrRcGQAV.png
USolar by Associate III
  • 1177 Views
  • 3 replies
  • 0 kudos

Resolved! STM32F051 DAC not working

I'm working with a STM32F051 Discovery board. I've created a project that should allow me to adjust the output voltage to the DAC pin PA4, but the expected step voltage output to that pin remains at ground voltage level.I'm sure that I'm missing som...

TBibe.1 by Associate
  • 1535 Views
  • 2 replies
  • 1 kudos

BUG: CubeMX enables unused channel on dual-channel DAC

I configure STM32F767I(G-I)Tx via CubeMX. I enabled ADC_IN4 and DAC_OUT2 on dual-channel DAC.ADC_IN4 shares pin with DAC_OUT1. Even though DAC_OUT1 was not enabled in CubeMX I can see it applies voltage on the pin breaking ADC reading,This can be sol...

EHabi.1 by Associate
  • 1095 Views
  • 3 replies
  • 0 kudos

Resolved! Missing option in CubeMX for battery charging on STM32H730

In CubeMX ther is missing optines to select charging of the battery and the seceltion of charging resistor 1.5K or 5KI would expect it to be under "System Core" -> RCC as it should go into resig PWR_CR3 So for my system I have to duck in "main.c" HAL...

MRick.2 by Associate II
  • 1805 Views
  • 4 replies
  • 0 kudos