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.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
  • 163 Views
  • 2 replies
  • 4 kudos

BUG: Incorrect HSE clock (STM32G474)

When using an external crystal in the MXcube for the STM32G474 mcu.conditions:Change High Speed Clock (HSE) to Crystal/Ceramic Resonator in the pinout & Configuration tab pageChange the input frequency to 16Mhz in the Clock configuration tab pageAfte...

OGhis by Senior
  • 768 Views
  • 2 replies
  • 1 kudos

How to change ADC channel with STM32L010

Hello,i am struggling with ADC conversion with STM32L010 because every new conversion overide the other channels. So i got on each channel the same result when i change the resistance on PA6. On PA4 and PA5 there is a 100k NTC connected.I use PA4 (AD...

ledi001 by Senior
  • 2047 Views
  • 1 replies
  • 0 kudos

STM32H7 - Not all initialization code generated

After starting a new project for STM32H745ZI, i have had a lot of issues with code that is generated incompletely:GPIO initialization is missingFreeRTOS initialization is missing (depending on code generation settings)HAL_IncTick() is sometimes not c...

JDesm by Associate
  • 912 Views
  • 2 replies
  • 0 kudos

CubeMX, mixed C, C++, F767 Nucleo. Getting consistent errors: debugger tries to connect, has following error. Encountered a Socket Error, Exiting..

Getting the following error:code compiles without problem. Code without a certain class compiles and can be downloaded and run. Code *with* class generates following error.STMicroelectronics ST-LINK GDB server. Version 5.1.0Copyright (c) 2018, STMi...

Resolved! USART Communication Nucleo-L4r5zi isn't working?

I'm using the Nucleo-L4r5zi I can't send a receive a simple message using USART Communication, Which pins to configurate on the Cube MX ? should i use an FTDI (usart to usb cable) ?

OGaie by Associate III
  • 872 Views
  • 1 replies
  • 0 kudos