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

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
  • 6404 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
  • 1205 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
  • 1565 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
  • 530 Views
  • 1 replies
  • 0 kudos