STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

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
  • 630 Views
  • 4 replies
  • 0 kudos

I'm using STM32L073RZ on my own board, and I am trying to program USB device (I tried virtual COM and HID, separately). But after plugging into PC it is detected (after a while) with "Unknown device (device descriptor request failed)" error in windows 1

Electrically (PCB):I think that PCB is not an error here - I just have D+ and D- short tracks from the connector to the uC and that's all.I have a pull-up 1.5k (I tried with and without it), but it is not even needed in STM32. I have check connection...

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
  • 733 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
  • 1217 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
  • 773 Views
  • 3 replies
  • 0 kudos

USB Mass storage class + SPI

I've been working with USB Mass Storage Class to create an SD Card reader with STM32L1 using SPI. I added the SDCard_SPI library and filled the missing functions in the "usbd_storage_if.c" file.What I've got is that my project works fine with SD Card...

TKou by Associate II
  • 624 Views
  • 2 replies
  • 0 kudos