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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 791 Views
  • 0 replies
  • 1 kudos

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

Resolved! STM32h747 ADC sampling problem

Hi!I am currently working with the stm32h747, trying to sample current and voltage using the internal ADC with its analog pins. My samples are wrong, the values sampled are coming out with a wierd offset (for example: 0 voltages is samples as ~1.87v)...

0693W00000Hr0AKQAZ.png
yuri CH by Senior
  • 2082 Views
  • 9 replies
  • 1 kudos

Hello all, I used Demonstrator GUI and CubeMXPRG for several projects till now without any issues. I tick "jump to user code" after flashing and this worked all along. However this feature is giving problems in both the utilities. The code gets

programmed and thereafter either the controller resets or simply hangs. I tried both GUI and Cube programmer. The result is the same. If I change the BOOT0 and BOOT1 pins to FLASH execute mode and apply power the code works but changing the jumpers m...

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
  • 835 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
  • 1359 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
  • 1778 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
  • 1305 Views
  • 3 replies
  • 0 kudos