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
  • 144 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
  • 1168 Views
  • 5 replies
  • 7 kudos

Using STM32CUBEMX to generate STM32L053R8T project

STM32CubeMX version 6.1.1Generated a project using STM32CubeMX for an STM32L053R8T device. The import into VisualGDB on visual studio failed after consulting VisualGDB support. They found that the  .gpdsc file generated by the STM32CubeMX is referenc...

DUgbo.1 by Associate II
  • 1083 Views
  • 4 replies
  • 0 kudos

STM32G071 Timer One Pulse Mode Not Working..

Hi,I have NUCLEO-G071RB board . My System Clock frequency is 64 MHz .The Timer (6) with Generates Continue Interrupt is working fine by CubeMx Code By Just adding  HAL_TIM_Base_Start_IT(&htim6) ;  LineI need only One Pulse But One Pulse Mode on "Cube...

0693W000007ZZ9kQAG.png

STM32CubeMX 6.2.0/6.2.1 released

How to updateTwo ways to update to the new release:1- Install directly from Web2- From STM32CubeMX GUI, update to 6.1.2 and then to 6.2.0/6.2.1 (compatibility break for the update due to JRE bundling in the new release)What is new in STM32CubeMX V6.2...

STM32L496 DMA2 Channel 4 doesn't work with SDMMC

Original post is here: https://community.st.com/s/question/0D53W00000asPehSAE/stm32l4-freertosdma2-channel-4-problemPossible solution: https://pastebin.com/yCxq9E6qMaybe in STM32L476RG it was fixed but problem occurs also in STM32L496ZGT.

kronikary by Associate III
  • 602 Views
  • 0 replies
  • 0 kudos

CMSIS RTOS v2 no memory pools

This was reported almost 2 years ago but nothing has been done with it. There is still no implementation of memory pools with CubeMX. https://community.st.com/s/question/0D50X0000ArTaCESQ0/bug-cmsis-rtos-v2-missing-memory-pool-functions

kronikary by Associate III
  • 1562 Views
  • 4 replies
  • 1 kudos

UART2 tx with DMA mode is not working

Hi,I am checking the UART TX linking with DMA. I am not getting the data serially. I am checking in tera term at PC end sending the helloworld string.I generated code from the CubeMx. With out DMA it is working fine. I debugged that it is hanging t...

Why is gender specified in generated source files?

Hi there, I'm working with the STM32CubeIDE and noticed that the automatically generated code from STMCubeMx in main.c implies the user is male, which strikes me as odd:void Error_Handler(void) { /* USER CODE BEGIN Error_Handler_Debug */ /* User ...

DPast.1 by Associate II
  • 690 Views
  • 1 replies
  • 3 kudos

No option to set OSR bit in SAI block with CubeMX on STM32H7

I want to use the oversampling feature in SAI block in STM32H742/743/750 device to set MCLK = 512*Ffs (sample frequency).There is the OSR bit in SAI configuration register 1 (SAI_ACR1) to enable this feature. But I cannot configure this feature with ...

AFroi.1 by Associate
  • 527 Views
  • 0 replies
  • 0 kudos