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

STM32CubeIDE 1.18.1 released

We are pleased to announce that the minor release 1.18.1 of STM32CubeIDE is available. What is new in 1.18.1: This minor release will not bring any major updates to the STM32CubeIDE 1.18.1. It will be aligned with the STM32CubeMX 6.14.1. Main fixed i...

STM32CubeIDE 1.18.0 released

We are pleased to announce that the release 1.18.0 of STM32CubeIDE is available. What is new in 1.18.0: Microcontrollers, microprocessors, and board lists aligned with STM32CubeMX 6.14.0: Added the support for STM32WBA6xxx microcontrollers in the STM...

Problem with memcpy

Hello,I am having a problem with simple line of code. If I run code bellow, the result seems off.//Main job of this code is to tranform hex into float uint32_t hex = 0x3fc51eb8; float f; memcpy(&f, &hex, 4);If i go into Live Expressions i g...

GHrib.1 by Associate III
  • 1623 Views
  • 2 replies
  • 0 kudos

Using STM32CubeIDE in order to program SPI1 on STM32U585AII6Q with SW NSS. The relevant pins are not initialized and PinOut seems weird.

Trying to configure SPI1 with SW NSS on STM32U585AII6Q with STM32CubeIDE.While generating the code, the relevant 4 pins are not initialized.The PinOut looks like that. This grey shade seems suspicious to me.Below, MX_SPI1_Init() and MX_GPIO_Init()sta...

0693W00000YAucvQAD.png
bmn by Associate II
  • 948 Views
  • 1 replies
  • 0 kudos

Resolved! Nucleo-STM32f030 ADC setup Issues This code only works when I'm debugging step by step. Otherwise, it always sends ADEN low again, which should not happen!!

This code only works when I'm debugging step by step. Otherwise, it always sends ADEN low again, which should not happen!! (Correct sequence: ADEN goes high then ADRDY goes high and both stay high...) (Note both ADEN and ADRDY are low before line 54 ...

0693W00000YAXrPQAX.png 0693W00000YAXsWQAX.png
OSell.1 by Associate II
  • 2091 Views
  • 7 replies
  • 1 kudos

Resolved! What can cause HAL_ADCEx_Calibration_Start() to fail?

Here is the code snippet. HAL_Delay(5000); if (HAL_ADCEx_Calibration_Start(&hadc1,ADC_SINGLE_ENDED) != HAL_OK) { print_debug_str("Did not calibrate right!"); } else { char buf[32]; sprintf(buf,"Calibration Factor: %lu\r\n",ADC1->CA...

KiptonM by Lead
  • 8622 Views
  • 4 replies
  • 0 kudos

Resolved! I try to use pmd-eclipse plug-in (static analysis tool). Plug-in is installed and I added -vm corresponding option in stm32cubeide.ini to define correct jdk version but it still not works

The error message says that this plug in needs jdk 17 : jdk 17 is installed and I have added the option -vm with corresponding path to javaw.exe. Error Message is still present after CubeIDE restart.

DWeya.1 by Associate
  • 611 Views
  • 1 replies
  • 0 kudos