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
  • 969 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
  • 1777 Views
  • 5 replies
  • 7 kudos

Resolved! How to debug dual core simultaneously in mdk arm

Hi every body.I have a project with stm32h747aii and i use mdk arm. Recently i did it with cubeide and i could debug both cores at the same time and within one window.I wanted to know that if it is possible in mdk arm 5.36 or not?When i enter each co...

ArmanIlmak_0-1701851987312.png

using fatfs iand azure rtos

HiWhen selecting azure RTOS in CubeMX, it is not possible to select FATFS. FATFS is greyed out. It is only allowed to choose FileX. Why?Thx

MK..1 by Associate III
  • 1771 Views
  • 4 replies
  • 1 kudos

Usage of this same ADC pin on two ADC instances

Hello, I am working on STM32F7x uC and I want to use one GPIO pin, e.g. PA3 as analog input. However, value from analog input should be read both by ADC1 and ADC2. CubeMX allows me that configuration and it should work. However, when I deinitialize o...

Tomnow1 by Associate
  • 2572 Views
  • 3 replies
  • 1 kudos

Resolved! USB FS Host using FreeRTOS

Hello,I am trying to configure USB FS Host using FreeRTOS on STM32H750.After connecting a device to the USB I get failure on memcpy(). The problem happens because pxQueue->uxMessagesWaiting gets value while the queue (os_event) has no elements.I beli...

tarbal by Associate III
  • 1726 Views
  • 1 replies
  • 0 kudos

Resolved! Why does CubeMX configure B1_Pin?

Beginner's question here. I have Nucleo-L476RG board and trying to learn more about the code CubeMX generates. To this end I started a new project and answered 'no' to setting up the peripherals, to make it as simple as possible.As part of MX_GPIO_In...

Dabbo by Associate III
  • 2611 Views
  • 3 replies
  • 2 kudos

Error in generated cyabs_freertos_helpers.c file

Hi,When I generate code with the STN32CubeIDE 1.14.0 and CubeMX 6.10.0 RC9 then it does now the __WEAK in the cyabs_freertos_helpers.c file. My workaround is at the moment to include directly in that file the "stm32u5xx_hal.h" then it works till the ...

nobody by Associate II
  • 1013 Views
  • 2 replies
  • 0 kudos

Resolved! How to make SDIO & eMMC FatFs Work with STM32F4 ?

HelloI am using :STM32F413HDESCOVRYSTM32 CubeMX toolAtollic TrueStudio V9.3eMMC : Kingston EMMC04GI already created the files user_discio.c user_discio.h eMMC_Driver.ceMMC_Driver.hwhen i use f_mount i get FR_NO_FILESYSTEMthx

0690X0000089iuXQAQ.jpg
Mcherif by Associate II
  • 5201 Views
  • 8 replies
  • 0 kudos

Resolved! X-Cube-SMBUS not working

I'm trying to use X-CUBE-SMBUS extension with I2C3 on STM32L4VCT6But it's not letting me select Platform Settings 'Found Solutions:I'm getting the following message in my terminal. I'm not sure what this is about:```2023-12-01 16:15:17,676 [INFO] Thi...

ACipr1_1-1701466516304.png
ACipr.1 by Associate
  • 1606 Views
  • 2 replies
  • 0 kudos