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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

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

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

nucleo board STM32CubeMX clock configuration nonsense

Hi,I'm trying to set up the HSI (16MHz) on a nucleo-f446ze board. The clock configuration GUI is kinda misleading I guess: default PLLMUX configuration is selecting HSE, but HSE oscillator is not present by default on the nucleosselecting HSI on PLLM...

0693W00000D0s07QAB.png 0693W00000D0s0HQAR.png
SCott.1 by Associate
  • 2103 Views
  • 4 replies
  • 0 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
  • 1381 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
  • 1215 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
  • 1233 Views
  • 4 replies
  • 0 kudos