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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

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

Multichannel ADC accuracy problem.

I am Samet, an electrical and electronics engineering first-year student. I and my team are designing a hydrogen car and taking part in the races. We make the electronic cards of our vehicle and the design of these cards. I am writing to you because ...

S??z? by Associate
  • 647 Views
  • 1 replies
  • 0 kudos

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
  • 988 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
  • 1100 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
  • 667 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
  • 632 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
  • 697 Views
  • 4 replies
  • 0 kudos