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

Hardfault error in SPI slave - polling mode

Hi, I am using cubemx to configure a stm32f411ve board as slave in receive only, polling mode and sofware NSS, in the code generated I have only added a few lines of code, only which I consider neccesary**the master sends 12 bytesoutside main functio...

OPAMP's of STM32G474 reserve not needed output pin when using internal output connection ? (probably BUG or incorrect CubeMX behavior/ no correct option).

Hello ST community,When I use OpAmp's of STM32G474 and configure all of them to internal ADC connection, all of them still reserve external output pins as analog .I'm using : OpAmp's in Inverting mode, with PGA enabled, positive input internal conne...

MMatj.1 by Associate II
  • 1972 Views
  • 8 replies
  • 0 kudos

MDK-ARM project generation failed

Using the latest version 5.5 of stm32cubemx. When I try and generate a new project I get the following error after clicking generate codeThe resulting project file is unusable.I've attached the ioc file for this project.I'm presuming this is a bug th...

0690X00000BwNsfQAF.png

Resolved! STM32H750VBT6 ADC-DMA doesn't work.

Hi all,I'm using STM32H750VBT6 and CubeMX 5.5.0 for my project. My problem is that I couldn't read ADC values using DMA. I have tried many ways but still stuck on this. Please provide any solution to this.Thanks,Duc-Toan Tra

DTra.1 by Associate
  • 2659 Views
  • 3 replies
  • 0 kudos

Resolved! stm32 timer taking longer than expected

Hello, I am using STM32H753 and STM32CubeMX. In my application I use four timers timers. Two timers are used to generate PWM signaly, and the other two are used to generate time base interrupt. All four timers are synced together using the internal t...

VYoun by Associate III
  • 1081 Views
  • 2 replies
  • 0 kudos

Resolved! Nucleo-H755 and confusion with timers

Hi,I'm using the nucleo-h755xi for testing purposes and I'm doing configuration by using CubeMX.I have opted to using the FreeRTOS middleware for both cores, CM7 will be using TIM6 and CM4 will be using TIM7 to generate ticks for the OS.Now my questi...

0693W000000U6IqQAK.jpg 0693W000000U6JTQA0.jpg 0693W000000U6MDQA0.jpg
TOlli by Senior
  • 1509 Views
  • 4 replies
  • 0 kudos

stm32h753 rtc resets after power down (vbat is connected)

Hello, I am using a stm32h753 and stm32cubemx, and trying to run the RTC module on VBAT. To do this I have connected a battery to the MCU. RTC is connected to LSE. Next, I set the RTC in my code and then I disconnect the MCU from power source, and th...

VYoun by Associate III
  • 700 Views
  • 1 replies
  • 0 kudos