Questions tagged [stm32cubeide]

An Eclipse-based all-in-one IDE from ST Microelectronics for C/C++, with an embedded STM32CubeMX tool

STM32CubeIDE is an all-in-one multi-OS development tool, which is part of the STM32Cube software ecosystem. STM32CubeIDE is an advanced C/C++ development platform with peripheral configuration, code generation, code compilation, and debug features for STM32 microcontrollers and microprocessors.

381 questions
2
votes
2 answers

what is proper way to change properties/generated code of custom HID in STM32CubeIDE

I`m trying to create custom HID device with STM32F103C8, IDE that i choose is STM32CubeIDE and the tutorial that i was following is at ST youtube official channel. ST offers great tool "Device configuration tool" where i can configure…
PuFF1k
  • 303
  • 4
  • 13
2
votes
2 answers

How can I remove error like 'Waiting for debugger connection... Debugger connected Debugger connection lost. Shutting down...'

I am generating code using STM32CubeIDE, but when I start to debug getting error like- STMicroelectronics ST-LINK GDB server. Version 5.2.3 Copyright (c) 2019, STMicroelectronics. All rights reserved. Starting server with the following…
Mohan Khedkar
  • 33
  • 1
  • 6
1
vote
0 answers

STM32F411RE: I want to turn on the LED in open-drain mode, but the LED doesn't turn on

I want to turn on the LED on the microcontroller with open-drain mode, but the LED doesn't turn on. So far I have this, I don't know what my mistake is. I am working with STM32F411RE in STMCubeIDE. #include "main.h" void…
1
vote
1 answer

STM32 CubeIDE Place a static library in specified memory region and mapped to the absolute memory address

I have an STM32 CubeIDE project. I want to place a static library in an absolute memory address in the upper part of the internal flash while the application code will be placed at the beginning of the flash. But the content of the library is…
1
vote
2 answers

Why does the User Button on my Nucleo-G474RE board only influence my code if the PWM of the LED is active (STM32CubeIDE)?

I am trying to build a state machine and want to switch from state 1 to state 2 if the User Button on my board was pressed. However, this only works if the LED - which is controlled by a PWM on Timer 2 Channel 1 - is currently on. Otherwise, the LED…
codingCode
  • 21
  • 4
1
vote
0 answers

DMA Buffer Index with Multi-Channel ADC

I am using the CortexM4 coprocesor on the STM32MP157F-DK2 to measure multiple ADC channels and update a control loop based on the values. I have set up ADC1 using the DMA2 in circular mode to read channels IN1, IN2, and IN4. I have a buffer set up…
1
vote
0 answers

STM32F429I emWin GUI Library

I am using a STM32F429I Discovery card with a HCSR-04 ultrasonic ranging sensor. I am trying to use the user interface library of Segger (emWin - GUI.lib) in STM32CubeIDE. I want to utilize the GUI.lib file that I have installed from Segger's…
1
vote
0 answers

Olimex Lora-STM32WL-devkit + STM32CubeIDE = "Could not verify ST device!" How to check if device is genuine?

Devkit is not recognized as a genuine ST Device! OpenOCD gives: openocd -f interface/cmsis-dap.cfg -c "cmsis_dap_vid_pid 0x15ba 0x0044" -c "transport select swd" -c "adapter speed 1000" -f "target/stm32wlx.cfg" Open On-Chip Debugger 0.12.0…
JeanBonnot
  • 11
  • 2
1
vote
1 answer

STM32L073RZ ADC Channel switching not working?

I have used three channels 6,7,8 to read data of 100 samples each. Hence I cannot use sequence continuous mode to read data. I have to switch the channel after reading 100 samples of one channel. For simplicity, I just reduced the sample to 1 and…
vishnu m c
  • 841
  • 1
  • 7
  • 21
1
vote
2 answers

Why am I getting error code 4 while testing the communication with Bosch BMA456 sensor on STM32F411RE using STM32CubeIDE?

BMA456 test communication error with STM32F411RE Hello everyone! I am working with the Bosch BMA456 sensor, and I am willing to activate the step counter feature. However, before getting to that part, I decided the play it by the books and follow…
Johnny
  • 21
  • 6
1
vote
0 answers

Using the LSE clock of an STM32

I have been testing for weeks a circuit with a STM32G030F6P6TR, which has no high speed clock, as it is a TSSOP20 encapsulation. Only an LSE or clock bypass can be configured. I have tried with STM32Cube to configure the micro (I'm a newbie, I come…
Anto
  • 313
  • 1
  • 3
  • 13
1
vote
1 answer

Serial port - receive bytes count

I transmit 256 bytes from stm32 and receive it by SerialPort in Visual studio. Why i receive bytes 2 times? 32 and then 224. stm32 USART configuration: huart2.Instance = USART2; huart2.Init.BaudRate = 9600; huart2.Init.WordLength =…
Sem
  • 45
  • 5
1
vote
0 answers

How to use bitmap fonts with ILI9341 on the STM32f4

Can someone please point me to some info on using bitmap fonts to display on an LCD? I've written my own code to drive the ILI9341. I can send bitmap pictures to it and that works but I'm having trouble figuring out how to get fonts to work. This is…
1
vote
0 answers

How to save file content into flash at compile time using IDE

I've been using ESP-IDF for quite some time and there is default option to use text file as a version provider. Which is compiled into a code and available at runtime. I wish to do the same on STM32, so whenever I change the file content (which is…
Coffeeye
  • 31
  • 6
1
vote
0 answers

How to import paths or compile openssl in STMCube IDE?

I want to use one of the openssl pkey demos code on STMCube IDE and I am running into errors. I think I'm using wrong paths or not including makefile stuff in my IDE. I need help with that. I keep getting errors of undefined reference to openssl…
minion
  • 75
  • 1
  • 6
1 2
3
25 26