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

UART communication works only in debug mode

Hi,I hope this is the right topic to ask this question.I'm new to embedded, and I'm experimenting with stm32l496ag discovery and sending/receiving uart form the connected pc using interrupts.I configured USART2 in CubeMX, enabling "global interrupt" ...

CHech.1 by Associate III
  • 3154 Views
  • 4 replies
  • 0 kudos

[STM32F4] How to download and unzip selected files?

I want to install STM32Cube MCU Package for STM32F4 Series.​When I install ver 1.26.2, "stm32cube_fw_f4_v1260.zip" is installed and unzipped at first.In "stm32cube_fw_f4_v1260.zip", the folder "STM32Cube_FW_F4_V1.26.0" is included.Then, "stm32cube_fw...

TYush.1 by Associate
  • 3104 Views
  • 3 replies
  • 0 kudos

I2C MX settings for an LSM303AH

Specifically, settings for the  "Timing configuration" and "Slave Features". The MCU is an STM32L476, Pins are PC0, PC1, PC2, PC3, and PA0 for the SCL, SDA, XL2 INT, XL1 INT, and MAG INT respectively, if that mattters.

JBonn by Associate III
  • 453 Views
  • 0 replies
  • 0 kudos

Why does CubeMX "turn on" HSI if it's not referenced?

This is a bit nit-picky, but it's confusing. For a USB experiment on an STM32F103, I'm seeing an odd clock setting that isn't used and wondering why it is this way. The USB application uses an 8MHz HSE crystal as per usual. RCC_OscInitTypeDef RCC_Osc...

Grant Bt by Senior II
  • 1008 Views
  • 3 replies
  • 0 kudos