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

What is the relationship between HAL_ and MX_ APIs?

CubeMX provides a host of MX_ functions for which I'm unable to find any documentation.I can instea find extensive HAL and LL API documentation.And these APIs overlap like MX_TIMxx_EnablePWM and HAL_TIM_PWM_InitThere is also a lot of MX_init code but...

CCarb.1 by Associate
  • 1020 Views
  • 4 replies
  • 0 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
  • 1911 Views
  • 4 replies
  • 0 kudos

We found a bug while using Hardware JPEG.

The environment I tested is as follows.​IDE: STM32CubeIDE​ 1.5.1Package: STM32F767IIPackage software version: 1.16.1​JPEG settings are as below.​​However, there is a typo in the config file that is actually generated.[ jpeg_utils_conf.h ]#ifndef __J...

0693W00000Czw4kQAB.png

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
  • 1251 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
  • 1114 Views
  • 4 replies
  • 1 kudos