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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

STM32CubeMX bug? MX_DMA_Init() called in the wrong order.

I'm setting up the DMA to move received bytes from USART3 to a circular buffer. But the DMA don't move the received data to the buffer. The received data is received by USART3 (The DR contains the received byte and SR.RXNE is set to 1).All I need to ...

MSipo by Senior II
  • 874 Views
  • 3 replies
  • 0 kudos

CubeMX " Not a valid ioc file" error

Hi,I have installed STM32CubeMX v6.7 on my laptop. The installation was successful.Loaded a project which was setup with STM32CubeMX v6.3 using FW_GO v1.5.0.The code is generated successfully, however when pressing to open the project, " Not a valid ...

Adole.1 by Associate
  • 1479 Views
  • 3 replies
  • 0 kudos

STM32F7xx Eth with CubeIDE Update 1.11.0

I have wrote an product with tcp communication, last modification September 2021...Today I need a small evolution ( move from HSI-RC to HSE)...the Ethernet does not run now.I have try to work with doc concerning the new driver versus legacy...help-me...

EBAHI.1 by Associate II
  • 899 Views
  • 3 replies
  • 0 kudos

Resolved! Failed STM32 Cube HAL for OLED SSD1306 with SPI

I'm configuring a STM32F205RET for SPI: hspi1.Instance = SPI1; hspi1.Init.Mode = SPI_MODE_MASTER; hspi1.Init.Direction = SPI_DIRECTION_2LINES; hspi1.Init.DataSize = SPI_DATASIZE_8BIT; hspi1.Init.CLKPolarity = SPI_POLARITY_LOW; hspi1.Init....

0693W00000Bci7QQAR.jpg 0693W00000Bci6wQAB.png 0693W00000Bci7BQAR.png

Resolved! NO ADC DMA interrupt on F446RET6, CubeMX 6.7.0, FW4_1.27.1

Hello!I have faced the problem with ADC checking using DMA on my F446RET6 MCU. The software tools are CubeMX 6.7.0 and CubeIDE 1.10.1. The Firmware is FW4_1.27.1. Perhaps, it is my mistake, but i canntot understand how to fix it. Here is the simple p...

What causes one of my ADC channels to work incorrectly?

I'm having an issue reading one of the channels on an ADC. It is working for one channel but not the other, even though the settings are the same. I am verifying what the expected value should be based on an oscilloscope measurement taken right off o...

0693W00000WL2lJQAT.png
BStei.3 by Associate
  • 1388 Views
  • 3 replies
  • 0 kudos

Elf file - 2 or more segments define the same memory zone?

This is for a STM32H70 When uploading from CubeMx IDE or STM32CubeProgrammer I get these errors:STM32CubeProgrammer:Warning: File corrupted, Two or more segments defines the same memory area. 17:11:15 : Number of segments: 6 17:11:15 : segment[0]: ad...