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

STM32CubeCLT 1.19.0 released

We are pleased to announce that the release 1.19.0 of STM32CubeCLT is available. What is new in 1.19.0: Support for ST Arm Clang toolchainMaintenance of the previous versionUpdated in accordance with STM32CubeIDE v1.19.0 Main fixed issues in 1.19.0: ...

Resolved! [Resolved] STM32CubeIDE project creation issue

Updated post to reflect permanent fix Dear STM32CubeIDE user, Further to the recent STM32CubeIDE project creation issue, we would like to inform you that a solution is now available for you. This permanent fix applies to all STM32CubeIDE versions. I...

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! How do I import a BSP driver into STMCUBE IDE?

I’m very new to STM32 development so bear with me if this is a simple question. I’m trying to use an L476RG Nucleo and X-Nucleo-ihm03a1 powerSTEP01 board to control stepper motors.I’ve downloaded X-CUBE-SPN3 Driver software expansion for STM32Cube an...

ZHama.1 by Associate II
  • 2666 Views
  • 4 replies
  • 0 kudos

HAL I2C transmit with DMA

I'm stuck trying to transfer a 1024 bit buffer to a SSD1306 via I2C/DMA using the HAL. I am using a stm32L432 nucleo board.Using HAL_I2C_Mem_Write works fine, but HAL_I2C_Mem_Write_DMA only transmits the first 255 bytes and leaves the bus hung on HAL...

Matt R by Associate
  • 693 Views
  • 0 replies
  • 0 kudos

Why does the STM32Cube IDE shows the error "Failed to start GDB server" when debugging/running a simple project for blinking a blue pill's LED

I was going to blink my blue pill (STM32F103C8T6) LED using this tutorial but when hitting the debugger (time 5:50 of the link above) I face the following error:The strange thing is that the IDE recognizes the st link v2 and I can upgrade its firmwar...

0693W000008xxhxQAA.png
Adev.1 by Associate III
  • 425 Views
  • 0 replies
  • 0 kudos

CORDIC EXAMPLE

Hi,I was just looking at an example in STM32 IDE of using CORDIC to calculate SIN and COS. The same is explained in the document below:https://www.st.com/resource/en/application_note/dm00614795-getting-started-with-the-cordic-accelerator-using-stm32c...

MYAQO.1 by Associate II
  • 1660 Views
  • 1 replies
  • 1 kudos

Difficulty porting Keil to CubeIDE, can't add a file

I have a STM32G431 project that was originally created with STM32CubeMX using HAL drivers. I need to port some of this code to another project that was originally built by CubeMX using LL Drivers by another engineer.The specific problem I have is my ...

0693W000008xjhjQAA.jpg
BTrem.1 by Senior II
  • 878 Views
  • 3 replies
  • 0 kudos

Resolved! MCU stuck when convert point to double

There is a array:uint8_t dat[8] = {0xcd, 0xcc, 0xcc, 0xcc, 0xcc, 0xdc, 0x5e, 0x40};It means a double variable data in memery. The value is 123.45. This code can be run in my computer: int main(int argc, char *argv[]){  uint8_t dat[] = {0xcd, 0xcc, 0x...

nicekwell by Associate II
  • 2770 Views
  • 11 replies
  • 0 kudos