STM32CubeIDE (MCUs)

Ask questions on STM32CubeIDE. Discuss how to build, debug, configure, and optimize your project as well as how to use our software tools.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeIDE 1.19.0 released

We are pleased to announce that the release 1.19.0 of STM32CubeIDE is available. What is new in 1.19.0: Microcontroller, microprocessor, and board lists aligned with STM32CubeMX v6.15.0:Added the support for STM32MP21xx microprocessors to the STM32MP...

STM32CubeIDE 2.0 release - early heads-up!

Starting from the release in November 2025, STM32CubeIDE and STM32CubeMX will be available exclusively in their standalone versions. STM32CubeMX will no longer be integrated inside STM32CubeIDE. Instead, the two tools will be interoperable in the sam...

Resolved! Turned off ADC still consumes energy

I'm using STM32L011F4P6 in CubeIDE. I toggle digital output pin PA2 hi/low every 10ms just to see if it works and it consumes 80uA when it runs. When I set another pin PA0 as analog input, the current consumption rises to 315uA. This is OK as I under...

dvhx by Associate II
  • 222 Views
  • 4 replies
  • 0 kudos

USBX improper code generation

After editing the .IOC file, the code generator will mess up the app_usbx_device.c\MX_USBX_Device_Init() function by placing the codeif (ux_device_stack_initialize(...)right after the variable declarations at the top of the function.Typically, that f...

WDobb.1 by Associate II
  • 780 Views
  • 4 replies
  • 4 kudos

Resolved! Incorrect code generation with TOUCHSENSING

Hi there,I have found an issue in code generation where there is a mismatch between a variable declaration in tsl_user.h and its definition in tsl_user.c.The bug can be reproduced by following these steps:Create a new project using the board selector...

h7-v by Associate II
  • 316 Views
  • 4 replies
  • 1 kudos

logging into myST

Hi there,I am having some trouble logging into myST. Every time I try, I either get the same prompt or nothing happens, and i am unable to log in (image below). Is there a Solution to this 

yz_0-1748455861800.png
yz by Associate
  • 145 Views
  • 1 replies
  • 0 kudos

RC Receiver input not being picked up

 This is the code i am using to pick up input from RC receiver to then change pwm values, but there seems to be a problem. PWM's are unresponsive to RC receiver which is connected to timer 2 channels. Is the given code correct? could it be that HAL_D...

Screenshot 2025-05-28 at 22.46.07.png
Sonzaye by Associate
  • 151 Views
  • 2 replies
  • 0 kudos

Communicate NUCLEO-G070RB USART with SPI as MSB

Thank you always for your hard work,I needed 4 SPIs, so while exploring the board, I found a text that could make USART work like SPI, so I tried this with the NUCLEO-G070RB.The example I referenced is "USART_SyncCommunication_FullDuplex_DMA_Init" on...

yurim_1-1745200797854.png yurim_0-1745201521951.png
yurim by Associate II
  • 470 Views
  • 6 replies
  • 6 kudos

How to configure STM32CubeIDE to support C++ development?

1. How to configure the IDE to use g++ compiler to compile all the files includes "*.c" files in the project? Current it compiles the .c files by using gcc and .cpp by using g++ ...​2. If I rename main.c to main.cpp, the cube code generator will crea...

TLeaf by Associate II
  • 35031 Views
  • 55 replies
  • 10 kudos