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 STM32Cube project creation issue

Description In STM32CubeIDE version 1.18.1 and older, after selecting any MCU or MPU when creating a new project, the STM32Cube option becomes greyed out. This means only empty projects can be created, and STM32CubeMX initialization is not available ...

SemerCHERNI_0-1752684873535.jpeg

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

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
  • 650 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
  • 390 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
  • 1507 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
  • 807 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
  • 2620 Views
  • 11 replies
  • 0 kudos

Early resume button press causes stm32cubeide to fail

HiUsing a G474 nucleo board and building a project and launching it everything works fine if I patiently wait for the debug session to be halted in the beginning of main(). However, if I instead hit the resume button maybe a second too soon, I instea...

0693W000008xe0fQAA.png
marbel by Associate II
  • 1165 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeIDE example GPIO_IOToggle_TrustZone ,Error: Data mismatch found at address 0x0C000000 (byte = 0xFF instead of 0x00)

Hi,I try to run GPIO\GPIO_IOToggle_TrustZone in the STM32CubeIDE, but fail.​code:STM32Nucleo\STM32Cube_FW_L5_V1.4.0\Projects\NUCLEO-L552ZE-Q\Examples\GPIO\GPIO_IOToggle_TrustZone​Follow the readme steps without modifying any code or configuration。Af...

Jwu.6 by Associate II
  • 949 Views
  • 1 replies
  • 0 kudos