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

f_mount returns FR_NO_FILESYSTEM

I use stm32F407ZG, when I update mxcube to 5.3 version and stm32f4 package to 1.24.2 fatfs version updated to R0.12c while previous fatfs version was R0.11 and work perfectly. after code generate and compile I realized f_mount function returns FR_NO_...

alianvari by Associate III
  • 1071 Views
  • 1 replies
  • 0 kudos

STM32CubeMX generates HAL library code that does not compile

Hello,Under linux (project generated by STM32CubeMX), the compiler reports illegal implicit casts from void * to PCD_HandleTypeDef in the HAL libraries.The problems are in two files: usbd_conf.c and usbd_cdc.cI solved this by following the example in...

Jwork.1 by Associate II
  • 1176 Views
  • 4 replies
  • 0 kudos

Resolved! How I can resume receiving data from flow controlled UART?

I'd like to know how I can resume receiving data from flow controlled UART.I use HAL, and I set USART2 into "flow control" with Cube MX code like ashuart2.Init.HwFlowCtl = UART_HWCONTROL_RTS_CTS;(115200 bps, data bit 8, stop bit 1, none parity, etc. ...

Naos Y by Associate II
  • 708 Views
  • 2 replies
  • 0 kudos

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