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.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
  • 904 Views
  • 5 replies
  • 7 kudos

Resolved! STM32G0 HAL upgrade 1.3.0 to 1.4.0

Hello,I updated the HAL libraries for STM32G072RB from 1.3.0 to 1.4.0 (using the CubeIDE and opening the .ioc file and confirming the Migration).However, I can't compile the project any more. Is there something I can do?make -j8 all arm-none-eabi-gc...

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
  • 9568 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
  • 1561 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
  • 845 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
  • 911 Views
  • 1 replies
  • 1 kudos