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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1240 Views
  • 0 replies
  • 2 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
  • 1829 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
  • 1854 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
  • 2900 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

Resolved! how to sort hardfault error in stm32f0.....?

can anyone suggest a method to sort hardfault error.I went on commenting few lines to sort the problem and found that when the uart is continuesly receiving and transmitting data this occurs.

NK.13 by Associate II
  • 1764 Views
  • 3 replies
  • 0 kudos