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

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
  • 916 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
  • 1572 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
  • 937 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
  • 1503 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...

STM32F746 Ethernet TCP client issues.

Hello, I would like to connected my STM32F746G Disco board to the server on PC computer. I started from example from STM32CubeMX. I would like to do something like that:PC computer as server - I using Hescules Setup Utility.STM32F746NG - Disco as cli...

KB.2 by Associate II
  • 1009 Views
  • 1 replies
  • 0 kudos