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

is it possible to configure three ADCs of the STM32F4, ADC1 and ADC2 in dual interleaved and ADC3 independent?

Dear All,Please consider STM32F407. I tried to configured its three ADCs: ADC1 and ADC2 in dual intereleved and ADC3 in independent mode using CubeMX. BUT it is impossibe the job using that. Is it possible to moddify the CubeMX's generated code to wo...

rsharifi9 by Associate III
  • 1042 Views
  • 4 replies
  • 0 kudos

Resolved! USB VCP not working (Code 10) STM32H7 / Cube V 5.3

I have a new project on an STM32H743 and thought it is a good idea to start this one with the latest version of CubeMX (5.3.0.) and the latest HAL library (1.5.).As I already have several systems running with USB VCP (STM32F746 and STM32H743) which w...

GS1 by Senior III
  • 824 Views
  • 2 replies
  • 0 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
  • 710 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
  • 1910 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
  • 800 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...