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

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
  • 1507 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
  • 821 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
  • 869 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
  • 1126 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
  • 1571 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
  • 1713 Views
  • 3 replies
  • 1 kudos

Hello everyone, I used a Nucleo board STM32F429ZI to develop my application. My application uses a Wiz5500 Ethernet module to communicate with another host program and performs some actions based on the received commands.

The SPI rate is at 21MBit/s and I use STM HAL.Data rate is high and I receive up to 1 message all 3ms. After I tested my application I wanted to port it to a G4 to use a cheaper microcontroller. When using the same code on the Nucleo G474RE and G431R...

0693W000008z917QAA.png 0693W000008z91HQAQ.png 0693W000008z91MQAQ.png 0693W000008z91bQAA.png
Hanni by Associate
  • 807 Views
  • 1 replies
  • 0 kudos