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

USB serial number size

As others before me, I wish to make my own serial number in a USB CDC device. This isn't the problem – I know how to do that.However, I am puzzled about how the unique serial number is generated in the code auto-generated in STM32CubeIDE. Specificall...

EThom.3 by Senior
  • 2232 Views
  • 4 replies
  • 2 kudos

Multiple "expected expression before 'do'" errors

I'm new to STM32 and trying to bring up the STM32L053-DISCO project in STM32CubeIDE. It mostly comiles fine, but has an issue with the HAL defines, such as below:#define __HAL_RCC_GPIOA_CLK_ENABLE()  do { \                    __IO uint32_t tmpreg; \ ...

SHoll.1 by Associate II
  • 5213 Views
  • 12 replies
  • 1 kudos

printf hard fault

Whenever the compiler executesprintf("frequency %f: %f \n", ((float32_t)(i * SAMPLING_RATE) / FFT_BUFFER_SIZE), output_fft_mag);it goes to HardFault.I attach main.c and syscall.cAll the code that we need to analyze is inside the function void get_sin...

luke514_0-1698947305139.png luke514_0-1698949948629.png
luke514 by Senior
  • 8814 Views
  • 23 replies
  • 4 kudos

Resolved! FatFS missing on STM32 CubeIDE for STM32U595VJT6

I am considering the STM32U595VJT6 for use in an upcoming design, and found that when I looked on STM32CubeIDE that the FatFS Middleware is missing. Is this something that can be added to the project? Or is there a better alternative for interfacing ...

richardnuvetech_0-1704277055456.png

Resolved! Unable to updates STM32cube IDE to 1.14 (No repository)

Hi to all,my STM32CubeIDE 1.12 installation does not complete the update to version 1.14.During the update the error returns:An error occurred while collecting items to be installedsession context was:(profile=STM32CubeIDE, phase=org.eclipse.equinox....

ABatt.1 by Senior
  • 1420 Views
  • 2 replies
  • 2 kudos

Resolved! Controlling Rgb led using Timers in stm32

Hi, i am using Timers to control the intensity of a RGB LED. I need help with a code because I don't know why i have to do this thing.I have these lines:TIM1->CCR1 = Intensity; For Red ColorTIM1->CCR2 = Intensity; For green colorTIM1->CCR4 = Intensit...

Resolved! STM32cube ide

Hi people...I couldn't able to get live expressions on debug can anyone help me to find a solution 

SRAM11_0-1704191203347.png
SRAM.11 by Associate III
  • 1040 Views
  • 3 replies
  • 1 kudos