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

Good starting point for VCP module (FT232 replacement)

I just ordered a PCBA with FT232RL as USB-VCP bridge and found that these things are bulky, expensive and out of stock mostly. So why not design a USB-serial (eg. 3.3 V 9600 bd) bridge using any STM32?I am aware that CubeMX supports USB/VCP so this i...

MMMartin by Associate II
  • 1136 Views
  • 5 replies
  • 0 kudos

Devicetree generation for MCU

Hi,Zephyr OS use device tree to describe hardware layer on MCU. Is there anyway I can generate device tree from STM32cubeMX configuration (ioc file) as we can do it for MPU ? Thanks,

FLapo.2 by Associate
  • 610 Views
  • 0 replies
  • 1 kudos

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
  • 988 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
  • 1875 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
  • 1220 Views
  • 5 replies
  • 0 kudos