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 2.0.0 released

We are pleased to announce that STM32CubeIDE 2.0.0 release is available. STM32CubeIDE is now independent from STM32CubeMX. With this release, device configuration, previously handled within STM32CubeIDE via STM32CubeMX, is now exclusively available t...

Aimen1 by ST Employee
  • 2215 Views
  • 0 replies
  • 3 kudos

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

CubeIDE open declaration leads to file.h

Hi everybody.Im using cubeide for a dual core mcu and when it generate code F3 keyboard button that opens declaration for that function will lead to the .h file. I want it to lead to the .c file.Once i did some changes to project properties c/c++ sym...

problem while programming Option Bytes to configure brown out

Hi,after I try to program option byte to configure brown out I can't  anymore reach the micro.I'm working with a STM32G071KBU3.I also try to connect to the micro using CUBE programmer. I get the error "target not found". Below my code.The instruction...

DAUSILI by Associate III
  • 1262 Views
  • 3 replies
  • 0 kudos

Command an actuator

Hi,i have a linear actuator that run with 6 voltsi want to control the speed using pwmi am using L298n and a nuceleo-g431rbhow can i reach the maximum speed? does the pwm maximum output 5 volts? 

FBoua.2 by Associate II
  • 562 Views
  • 0 replies
  • 0 kudos

how to use 'HAL_SPI_TransmitReceive_DMA' for spi

I'm using 'CUBEIDE' / 'STM32F107VC'in deca_spi.c int readfromspi(uint16_t headerLength,const uint8_t *headerBuffer,uint32_t readlength,uint8_t *readBuffer){uint8_t spi_TmpBuffer[BUFFLEN];assert_param(headerLength+readlength < BUFFLEN ); //    decaIrq...

kim_dy_0-1688604243276.png
kim_dy by Associate II
  • 885 Views
  • 0 replies
  • 0 kudos

I2C slave transmit IT first byte FF

PLEASE DELETE THIS POST, I HAVE CREATED A  NEW ONE ON THE CORRECT SUBFORUMHi all,I am using a Nucleo  F334R8 STM32Cube FW_F3  V1.11.4I am trying to configure it as a slave device using interrupts , I am using HAL_I2C_AddrCallback()then it checks if d...

edgar3 by Associate
  • 1003 Views
  • 0 replies
  • 0 kudos

Unable to copy project and then try to open IOC file

Hi, I noticed that it is not possible to copy the project and then try to open the IOC file. Causes this error:Invalid Input: Must be project's active .ioc file.Project's 'F407_BugTest_copy1' active one is 'F407_BugTest_copy1.ioc' fileBut if the name...

STM32CubeIDE_IOC.png STM32CubeIDE_IOC2.png

Error trying to launch STM32CubeIDE on linux!

I have installed the STM32CubeIDE 1.12.0 from the STM32 official website onto my Arch Linux laptop but when i try to launch it, it closes and reports an error after the splash screen.I have searched on pacman (the arch package manager) for stm32cubei...

RBamf.1 by Associate III
  • 20205 Views
  • 40 replies
  • 5 kudos

Is it possible to customize code generated by CubeIDE/MX?

STM32CubeIDE is a big help for a relatively inexperienced embedded programmer like me.  However, the program structure it uses isn't ideal for the way I organize my  C++ projects. My projects have to interface with lots of devices, for example a GPS ...

magene by Senior II
  • 1231 Views
  • 1 replies
  • 1 kudos