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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 902 Views
  • 0 replies
  • 1 kudos

STM32CubeMX 6.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 1745 Views
  • 5 replies
  • 7 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
  • 915 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
  • 831 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
  • 893 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
  • 1071 Views
  • 3 replies
  • 0 kudos