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

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

Middlewares deletion bug in CubeIDE 1.13.1

When reconfiguring a project using emDos and StemWin, the StemWin selection shows up under Middlewares/st, etc.When disabling emDos in the ioc file, the section for emDos is deleted, but so is the StemWin. Removing the OS also removes the entire Midd...

Resolved! how to erase a single page of flash memory

hello guys i need help with stm32f103 and stmcube idei want to erase a pege of flash memory during runtime of programme ,in my case i want to erase page no 63 i have found this following code in hal_flash_ex.c but i dont know how to use it or modify ...

ahmash by Associate II
  • 8998 Views
  • 2 replies
  • 0 kudos

STM32U575(Nucleo-U575ZI-Q) SAI Transmit/Receive

When we use STM32U575 communicate with codec(ES8374) on SAI(I2S Bus). In SAI(I2S Bus),  STM32U575 is master and codec is slave. In STM32CubeMX, STM32U575 use SAI1a to Transmit with mode : Master with Master Clock OUT and use SAI1b to Receive with mod...

01.PNG 02.PNG 03.PNG 04.PNG

Resolved! Synchronization between PWM signal and ADC

Hello! I'm trying to synchronize a PWM signal with an ADC (by TRIGGER OUT EVENT). There are 2 issues: 1. The frequency of the PWM signal is 200 Khz and the frequency of the ADC is 12 Mhz. According to the calculation of 14 cycles (12.5 cycles + sampl...

Resolved! Issue with multichannel ADC readings in stm32f334r8

Hi,I am working on interleaved buck converter for which I have to sense muiltiple voltage signals from current sensor,so I am using ADC1 of stm32f334r8. The problem what I am faceing is that if I vary the voltage on PA0 pin which is ADC1_IN1, the adc...

vasudev by Associate II
  • 809 Views
  • 1 replies
  • 1 kudos

Resolved! stm32f0xx_hal_can.h bug found, please fix it

Hello friends, I have been seeing the same bug in stm32f0xx_hal_can.h for some time, whenever I start a new project I correct it, but I would like you to leave it corrected to avoid correcting it each time I start a new project.The bug prevents to se...

RamiroGJ by Associate II
  • 1082 Views
  • 2 replies
  • 0 kudos

Resolved! strtok sets FLASH SR flags

I'm using the STM32CubeIde 1.12.0 Build: 14980_20230301_1550 together with the STM32Cube_FW_G4_V1.5.1 and FreeRtos.When I run the strtok the first time I see that the Register in FLASH->SR change the value from 0x00 to 0xe0. What later makes problem ...

Mat1 by Associate III
  • 1529 Views
  • 3 replies
  • 2 kudos

JTAG Communication with STM32F103ZET6

I am currently conducting verification on a custom board implementing STM32F103ZET6. During this process, I have encountered an issue with JTAG communication. The debugger I am using is the STLINK-V3SET.Communication via SWD: Communication using the ...

R.A by Associate
  • 1702 Views
  • 1 replies
  • 0 kudos

CODE DUMPING ISSUE

 STMicroelectronics ST-LINK GDB server. Version 7.3.0Copyright (c) 2023, STMicroelectronics. All rights reserved.Starting server with the following options:Persistent Mode : DisabledLogging Level : 1Listen Port Number : 61234Status Refresh Delay : 15...

sram.1 by Associate II
  • 746 Views
  • 1 replies
  • 0 kudos