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
  • 379 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
  • 1384 Views
  • 5 replies
  • 7 kudos

stm32 use scanf with usart

Hello, There is an example to use printf with usart. However, I need to find a way to use scanf with usart. I am using STM32H7, STM32Cubemx, and Atollic Truestudio. Your help is much appreciated.

VYoun by Associate III
  • 9672 Views
  • 10 replies
  • 1 kudos

How do I get ethernet driver code generated when using PTP?

In CubeIDE, when setting up ethernet, you can selectETH -> Mode -> RMIIorETH -> Mode -> RMII_PTP_SynchroIf I pick RMII, ethernet drivers get included as expected, and appear to work correctly.However, this application requires PTP, and if I change th...

Aqwer.1 by Associate II
  • 1617 Views
  • 3 replies
  • 0 kudos

LL ADC3 init missing code for STM32L4A

Hello,CubeIDE is not generating the full code for ADC3, as it does for ADC1, more specifically it is missing the part that takes it out of deep power down and activates the voltage regulator.With the ioc in attach, you will see that for ADC1 it gener...

Marco.D by Associate II
  • 868 Views
  • 1 replies
  • 0 kudos

Resolved! D2 domain clocks are not ready

Hello,I've got a STM32H745BI on custom board and I cannot get it working. The program always jumps to the error handler at while((__HAL_RCC_GET_FLAG(RCC_FLAG_D2CKRDY) != RESET) && (timeout-- > 0)); if ( timeout < 0 ) { Error_Handler(); }I've ...

0693W000008zBggQAE.jpg 0693W000008zBglQAE.jpg
XXien.1 by Associate
  • 945 Views
  • 1 replies
  • 1 kudos

RT-Thread Studio IDE v2.1.0 Release, New add 20+ ST Boards!

Hiii guys, RT-Thread Studio IDE v2.1.0 is out now. Thank you to you all who made this release possible. In this release: - 20+ New ST boards are supported. - RT-Thread Studio is now in collaboration with STM32CubeMX, where you can open CubeMX Setting...

CLi.4 by Associate II
  • 1245 Views
  • 2 replies
  • 0 kudos

STM32H7 DFSDM+ADC - bugs in CubeMX/HAL/generated code?

Using the latest CubeMX 6.2.1 and STM32H7A3 I try to accomplish, one would think, a very simple task: filter data from ADCs using DFSDM.Objective: capture N samples (conversions) on demand (e.g. button press) from several ADC channels, smooth edges w...

TDJ by Lead
  • 1702 Views
  • 1 replies
  • 1 kudos

QSPI+Flash with DMA not working properly.

Hi, I am struggling to make QSPI+Ext Flash and DMA to work for several days, but having issues.I was using BSP library for both external SDRAM (with FMC) and Flash with QSPI.However, BSP library had DMA read/write for FMC SDRAM, but not for QSPI Flas...

KMaen by Associate III
  • 1811 Views
  • 3 replies
  • 1 kudos