Questions tagged [stm32cubeide]
STM32CubeIDE is an all-in-one multi-OS development tool, which is part of the STM32Cube software ecosystem.
98 questions
0 votes
0 answers
29 views
Why do STM32WL55 example projects have “SingleCore” and “DualCore” versions, but STM32CubeIDE only generates Dual-Core structure
I am working with the STM32WL55CC (48-pin package). When I imported the official STM32CubeWL example projects from ST, I noticed that they provide both SINGLE CORE and DUAL CORE versions. But the ...
1 vote
1 answer
71 views
STM32 F302R8 UART RX reception error
I'm new in the STM32 world. I’m currently testing basic UART communication on an STM32 (STM32F302R8) with an HC-05 Bluetooth module, and I’m running into a strange issue with receiving data. I'm using ...
0 votes
2 answers
94 views
What is this counter mode usually called and how can I set it up in STM32CubeIDE?
Please consider the sketch below. In this sketch, the grey bars represent the clock of a hardware counter/timer of a microcontroller. The blue trace is an asynchronous signal applied to a pin of the ...
0 votes
3 answers
125 views
what would be the reason for custom STM32H753ZI board can't detect STM32CubeProgrammer and STM32CubeIDE via ST-Link
I’m using a custom board based on the STM32H753ZI MCU and debugging via ST-Link. The board was working earlier, but now STM32CubeProgrammer and STM32CubeIDE both fail to connect—it simply says “No ST-...
0 votes
1 answer
89 views
STM32CubeIDE interrupt request abnormal behavior
I am experimenting with timers and interrupts using STM32CubeIDE and STM32F411E development board. I am comfortable with working on microcontrollers. I noticed some anomalies in the behavior of the ...
0 votes
1 answer
221 views
STM32 BOOT0 Pin config
I'm doing my first PCB project and using an STM32WBA63 (datasheet). I'm using STM32CubeIDE to create my project code. In the IO configuration graphical interface, the PH3-Boot0 has so many options (...
0 votes
1 answer
79 views
STM32L4S5 write data to 2MB flash memory (STM32CubeIDE)
I am trying to write to the flash memory of the STM32L4S5QIIX microcontroller on the EVAL-ADIN1110EBZ development board. I have also tried similar code on an STM32L4S5VITX microcontroller on a custom ...
0 votes
1 answer
91 views
How do I build the STM32CubeH5 examples in STM32Cube?
I installed STM32Cube 1.18 in Ubuntu 24 and downloaded the H5 examples via git clone --recursive https://github.com/STMicroelectronics/STM32CubeH5.git Now I want ...
4 votes
1 answer
433 views
How do I launch STM32CubeIDE in Ubuntu?
I have done many Arm embedded design projects in gcc using Maxim chips. Every few years I attempt to download STM tools to see if STM stuff is working yet. (Five ...
-2 votes
1 answer
138 views
Dividing numbers leaves wronge decimals on stm32ide [closed]
Recently I have faced a problem that did not exist in my code before. When dividing any type of numbers by 10 or 100 or 1000, I get wrong decimals. For example: 30/100 = 0.29999999 I have tried 30.0/...
-1 votes
2 answers
128 views
STM32 Custom PCB, can't program, without setting header pins or I have to play with the reset line
I have a custom STM32 PCB, when I try to connect the STLink V2 to the PCB, through STM32Programmer, it says: If I hold the MCU Reset button, and in the program I press connect, after waiting 3 ...
1 vote
1 answer
93 views
STM32, the program does not enter the "IF" condition to check pin state
I'm new to STM32, and I want to write a function that will check if the sensor (DHT11) has sent data. I set PA6 to OUTPUT mode and hold low for at least 18ms (according to datasheet), and then release ...
0 votes
1 answer
222 views
STM32H7 trigger at falling edge of PWM signal
I'd like to trigger a GPIO when detecting a falling edge on my PWM. I want to do all of this within the same timer. For example: Timer 1: PWM Generation Timer 2: Input capture indirect mode or ...
1 vote
1 answer
364 views
STM32H7S3L8 Error
I am using STM32 Nucleo-144 development board with STM32H7S3L8 MCU. I get this comment when trying to run code that cubeIDE generated initially: ...
0 votes
0 answers
82 views
Not able to debug using STM32F407G MCU in STM32CUBEIDE
Context: I did a project using this microcontroller and it works but i am not able to enter Debug Mode as it shows the following in the console screen: ...