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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1757 Views
  • 0 replies
  • 2 kudos

How to use the DMA Request Synchronization in STM32CubeIDE

Hi there!I am trying to create a lock-step synchronization between a timer that updates GPIO and a dac.As you can see from the below, the GPIO leads the DAC transitions by 1 cycle, and that's not what I want: My setup is as follows.TIM8 generates a T...

0693W00000LxUW4QAN.png
etheory by Senior II
  • 4176 Views
  • 3 replies
  • 0 kudos

Resolved! [H723] I want to know why it becomes a hard fault

H723ZGT6 Nucleo-144CubeMX 6.3.0AN209, Summer 2017, V 5.0An error occurred when writing a for loop process before SDRAM initialization.I know the solution, but I don't know why this is happening.(Add static or volatile or write a for loop after SDRAM ...

0693W00000Lx4MxQAJ.png
june by Associate III
  • 2733 Views
  • 2 replies
  • 0 kudos

Resolved! What's up with missing HAL_I2C_MspInit(hi2c)?

I'm working on test code for a bare metal STM32G0C1 project. I'm using STM32CubeIDE 1.9.0 and created the project with the included STMCubeMX tool.When digging around in the generated code to understand I2C I found that the function HAL_I2C_MspInit(...

DPaul.2 by Associate II
  • 4439 Views
  • 5 replies
  • 0 kudos

Debugger not reading .elf file

I’ve written a stm32 C program on the Stm32CubeMX environment, and it builds with zero errors and warnings. However when I debug, it gives me an error. (See attached photo) Any help to fix it would be amazing!

Resolved! CubeMX 6.5.0 code generation error when ADC enables temperature sensor�?Vref and Vbat channel(LL library)

Hello Everyone,I am using STM32G474RE and the STM32CubeMX version is 6.5.0.When ADC5 enables temperature sensor�?Vref and Vbat channel, STM32CubeMX will generate code in MX_ADC5_Init function(LL library):/** Configure Regular Channel */ LL_ADC_REG_Se...

Shen by Associate II
  • 1613 Views
  • 3 replies
  • 0 kudos

You can also use PDM2PCM on STM32F3 in CubeMX

Just like what I did in G4, I was able to add PDM2PCM in F3 namely F334 and F302.https://community.st.com/s/question/0D53W00001TGJ2wSAH/why-is-pdm2pcm-not-enabled-for-stm32g4-in-cubemxPls add PDM2PCM in F3 as well.

How do I set the STM32CubeMX firmware location?

I am using STM32CubeMX for projects. Due to the configuration of our system. I set the firmware location to an alternate directory using the Project Manager tab.  Everything generates fine. However, if I save the project, close it and reopen it, the...

AWolf.8 by Associate III
  • 5656 Views
  • 4 replies
  • 0 kudos
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.