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

Resolved! MX 5.4.0 Bug: <Error generating MDK project file>

I downloaded and installed stm32cubemx version 5.4,and the default installation configuration is maintained.When I tried to generate an MDK project, I reported an error.But it can be used normally after uninstalling and installing version 5.3.I don't...

0690X00000BuxR7QAJ.jpg 0690X00000BuxR2QAJ.jpg 0690X00000BuxRCQAZ.jpg 0690X00000BuxRHQAZ.jpg
Yzy.1 by Associate
  • 684 Views
  • 2 replies
  • 0 kudos

BUG: CubeMX STM32F767IG RCC Assert Failed

CubeMX 5.5.0STM32Cube_FW_F7_V1.15.0STM32F767IGAssert Failed: FILE - ../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.c, LINE - 602RCC_OscInitStruct.PLL.PLLR is not assigned a value, therefore = 0, which fails above assertAdding following code re...

svcguy by Associate III
  • 758 Views
  • 4 replies
  • 0 kudos

Timebase Source TIM1: wrong initialization in MX code

I selected TIM1 as Timebase Source of HAL libraries. I think the generated code from MX tool is wrong.HAL_InitTick() is called two times: the first during HAL_Init(), the second during SystemClock_Config(). However the first time is called as HAL_Ini...

GModu.1 by Associate II
  • 900 Views
  • 3 replies
  • 0 kudos

How to use cubeMX created semaphores inside another source file? CubeMX creates semaphores inside app_freertos.c but they are not accessible from custom source files??

I am using STM32CubeMX with FreeRTOS/ CMSIS_RTOS_V2. However I think I have not understood the logic behind the creation of the files.CubeMX created a file "app_freertos.c" without a header file and the semaphore created is inside this file.I have tw...

aotuz by Associate
  • 1483 Views
  • 5 replies
  • 0 kudos

Target Settings in CubeMX and Truestudio

Hello FriendI have question about Target settingIn general I selected using processor in cubeMXthen make bt CubeMX Truestudio project must contain target Settingsbut some computer has no target Setting.Now, one by one select processor in Truestudio f...

0690X00000BxHVNQA3.png 0690X00000BxHWBQA3.png

why are vbat, vrefint and temp ADC3 channels on STM32H7 no longer available on the latest CubeMx version? I'm I missing another conifguration to make them available?

screenshot from an .ioc file created with an earlier version of CubeMxCubeMx version 5.30screenshot from an .ioc file created with CUbeMx version 5.5.0Full details of installation:STM32CubeMX - STM32 Device Configuration ToolVersion: 5.5.0-RC6Build:...

0690X00000BxBm3QAF.png 0690X00000BxBnLQAV.png