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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

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

Resolved! STM32CubeIDE not generating GPIO initialization code for SPI

I am using a Nucleo H743ZI2 with the CubeIDE and while it does generate code to initialize the SPI peripheral itself, it does not generate code to configure GPIO pins as the SPI alternate function. This is despite the fact that the GPIO pins for SPI ...

JLesser by Associate
  • 2317 Views
  • 1 replies
  • 0 kudos

Resolved! STM32H7 ADC3 (LL) code generator does not generate code for INJected channel config CubeIDE 1.6.1

This is the code that is missing (and i had to add myself):ADC_INJ_InitStruct.TriggerSource = LL_ADC_INJ_TRIG_SOFTWARE; ADC_INJ_InitStruct.SequencerLength = 2; ADC_INJ_InitStruct.SequencerDiscont = LL_ADC_INJ_SEQ_DISCONT_DISABLE; ADC_INJ_InitStruct.T...

STM32CubeMX generated project for STM32L152C-DISCO board without any modification, however it shows "can't access target. Shutting down debug session" during debugging pass MX_GPIO_Init();

 open stm32cubemx (version 6.2.1)new project -> access to board selectorselect the board "STM32L152C-DISCO"Initialize all peripherals with their default Mode? YesGive project name "test"Toolchain/IDE changed to MDK-ARM (min version v5.27)Open project...

0693W00000Bc3WPQAZ.jpg
XYang.3 by Associate II
  • 974 Views
  • 1 replies
  • 0 kudos

NUCLEO-L476RG SDMMC problem

Hi everyone,I am starting using the STM32 to store data on MicroSD card over the SDMMC port. My board is a NUCLEO-L476RG. CubeIDE version is 1.6.1 and CubeMX is 6.2.1.My MicroSD card is a basic 2GB model, it works perfectly well when connected throug...

0693W00000AMQtzQAH.png 0693W00000AMQsyQAH.png 0693W00000AMQtkQAH.png 0693W00000AMQtVQAX.png
MSzab.2 by Associate
  • 1330 Views
  • 1 replies
  • 0 kudos