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

Resolved! [STMCubeIDE] V1.6.1 (using integrated CubeMX) does not properly generate initialisation code for SMBus peripheral

I am using an STM32F407 controller and have configured I2C1 as SMBus.However after configuration in the IDE, the initialization code generated for I2C1 is as follows:void MX_I2C1_SMBUS_Init(void) {   /* USER CODE BEGIN I2C1_Init 0 */   /* USER CO...

Nandan V by Associate II
  • 1324 Views
  • 5 replies
  • 0 kudos

Updated MX to latest and get incorrect code generated...

I updated to the latest 1.7.0 for IDE and 6.3.0 for MX and when I regenerate configuration code using MX I get the following for ADC clock configuration.   PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_ADC;   PeriphClkInit.AdcClockSelection = AD...

C Austin by Associate II
  • 1178 Views
  • 4 replies
  • 1 kudos

STM32L4(96) Sample code needed for SDMMC+FATFS+DMA

I have spent a couple weeks trying to get this working, reading many ST threads about many quickfixes to get this to work on various stm32 chip versions. Ive had no real luck other than seeing some details about the SD Card like its size. Stm32CubeMX...

Tim12 TGRO is missing in cubemx.

In cubemx, the config of Tim12 TGRO is missing.Where in tim1, i can config it under Trigger Out Parameter. This feature is required by DMA request generator.I tried manually add some code to init this, but none of them work./* USER CODE BEGIN TIM12_I...

0693W00000D0YEiQAN.png
LLuca.1 by Associate II
  • 1204 Views
  • 4 replies
  • 0 kudos