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! How can I use STM32 F030R8 as i2c slave using interrupt?

Since quite some time I am trying to find a way for an STM32 chip to receive and send data as a slave over i2c. The master always sends the same amount of bytes and after sending these bytes, requests two bytes back from the slave. I used the CubeMX ...

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
  • 724 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
  • 787 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
  • 967 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
  • 1574 Views
  • 5 replies
  • 0 kudos