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

Resolved! HAL_PWREx_EnableVddA(); was not generated when enabling ADC1.

I configured ADC1 in CubeMX for a NUCLEO-U575ZI-Q board. When testing my application HAL_ADC_Enable(); returned error, RDYFLAG was not set after the timeout.When comparing my configuration to an example I discovered that HAL_PWREx_EnableVddA(); is no...

MCseh.377 by Associate II
  • 1453 Views
  • 1 replies
  • 1 kudos

Resolved! I2C not always starting up properly

I have a design with an STM32F415 MCU which has two I2C-peripherals: a CAT24AA16 serial EEPROM and a TSC2007 touch screen controller on the same I2C bus. I2C setup is standard as generated by CubeMX. I find that 90% of the time the system starts up O...

RHarte by Associate II
  • 4348 Views
  • 6 replies
  • 0 kudos

STM32CubeMX 6.8.1 and STM32CubeIDE 1.12.1 released

 STM32CubeIDE/CLT 1.12.1  was released on st.com as well as an in-tool update patch.  Aligned with STM32CubeMX v6.8.1 that is available for download .Caution: The in-tool update does not allow updating drivers and ST-LINK server tool. Full installer ...

Resolved! STM32CubeMX 6.8.1 Generate Code is freezing

I created STM32CubeMX project (.ioc) on my old Windows 10 computer, GENERATE CODE worked without any issues, and after a certain time I copy .ioc file on my new Windows 11 computer (fresh install of STM32CubeMX). When I press GENERATE CODE, IDE is fr...

PKova.1 by Associate II
  • 1705 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeMx doesn't appear to be setting CSSON bit for STM32U5

I'm configuring an STM32U575 within the STM32CubeMx tool where the HSE clock is being used. I'm trying to enable the CSS for the HSE clock via the Clock Configuration menu, however enabling/disabling the CSS via this tool doesn't seem to actually set...

AGula.1 by Associate
  • 988 Views
  • 1 replies
  • 0 kudos