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

Resolved! How to generate PWM using STM32 Nucleo L433RC?

I have followed the ST tutorial on how to genterate a 1Hz PWM using timer, but for some reason its not blinking.I configured:1)Clock configuration to 8Mhz2)Set PWM genration channel 33)Set prescaler to 1274)Set ARR to 624995)Selected PWM mode 1 and m...

0693W00000Bc6snQAB.png
SJose.11 by Associate II
  • 7549 Views
  • 15 replies
  • 0 kudos

Setting up SPI of stm32f205 for ads1118

I am trying to set up SPI according to datasheet .Here is the datasheet recomendation:the pin that is connected to DRDY is the SPI MISO pin. But on CubeMX I can not change the GPIO mode. There is available only one mode: Alternate Function Push Pull....

0693W00000BcJLDQA3.png
Kolab by Senior
  • 1371 Views
  • 5 replies
  • 0 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
  • 1821 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
  • 613 Views
  • 1 replies
  • 0 kudos