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

Communication between Cores with FreeRTOS on STM32H747i-Discovery, How can I adjust the example "FreeRTOS_AMP_Dual-RTOS", which is designed for the STM32H745-Dicovery board?

Hi there, I am experimenting with the H747i-DISCO board to get the communication between two cores up and running. The mentioned example (github) is written for a slightly different board, the STM32H745-Discovery, so it should be not too difficult to...

JSchn.4 by Associate III
  • 4515 Views
  • 22 replies
  • 0 kudos

Resolved! H7A3 SDMMC 2 not working, system stall at MX_SDMMC2_SD_Init().

Hello, when testing the SDcard on SDIO 1-bit interface , we see a big problem here:when card in slot, cpu stall in MX_SDMMC2_SD_Init() , on debug can see: card info sector count, block size etc. read seem ok, but then waiting for response -- forever....

AScha.3 by Super User
  • 1026 Views
  • 3 replies
  • 0 kudos

Code generation and ETH descriptor count

Hi everyone,when using the CubeIDE 1.5.0 I encountered unexpected behaviour. I set up the Ethernet peripheral of the STM32H7 in a way that I have 14 Rx and 14 Tx ETH descriptors: However, after generation the code only specifies 4 descriptors each:At...

0693W00000ANNiMQAX.png 0693W00000ANNjyQAH.png 0693W00000ANNlpQAH.png
DWeb_2 by Associate III
  • 1000 Views
  • 2 replies
  • 0 kudos

Resolved! STMCubeIDE problem with repository directory

Hi,With CubeMX I can adjust where the repositories are saved. This function is missing in CubeIDE and its also not using the same from CubeMX.Because the saved files are huge, then I get problem when I login/logout in the company. Because the files a...

Osto by Senior
  • 1691 Views
  • 2 replies
  • 0 kudos

STM32L433 - LPUART1 wrong baudrate

Hello,I'm using STM32L433RCT-P nucleo board and I was testing some hardware. I noticed the baudrate error with LPUART1 is really high (135100 instead of 115200, 67570 instead of 57600).I have no problem using manual configuration instead of CubeMX, ...

MFran.4 by Senior
  • 572 Views
  • 1 replies
  • 0 kudos

STM32CubeMX won't finish generating code and is stuck.

Hi.I am working with a STM32F030x8 microcontroller.I am using KEIL uVision5 version 6.2.0 to test some C code on the microcontroller.From what I understand, I need to generate a startup file in order to build the code properly.Without it I get: ERROR...

0693W00000ANVEZQA5.png
PSchj.1 by Associate
  • 1054 Views
  • 2 replies
  • 0 kudos

Resolved! Why is CubeMX trying to enable Overclocking in my project?

I created a new project for an STM32F407VE and when the code is generated CubeMX puts this in SystemClock_Config: /** Activate the Over-Drive mode */ if (HAL_PWREx_EnableOverDrive() != HAL_OK) {  Error_Handler(); }When you try to compile it, it gets ...

MStra.3 by Associate III
  • 982 Views
  • 2 replies
  • 0 kudos