A C/C++ MCU configuration generation tool for STM32 products, from ST Microelectronics
Questions tagged [stm32cubemx]
116 questions
0
votes
1 answer
STM32F746G and touchGFX problem whit IAR and CubeIDE
I want to try a TouchGFX. I've created a simple example. I use CubeMX and select X-Cube-TouchGFX 4.13.0 for additional software. I configure everything fine, using and example and webinar. I then used the TouchGFX designer to insert a simple UI…

AntonioB
- 1
- 1
0
votes
2 answers
STM32F302 PWM Input CubeMX Settings
I am trying to set up PWM input on the STM32F302R8 to calculate frequency and duty cycle. In the STM32F302x8 reference manual, it says that we need to map IC1 to TI1 (CC1S = 01) and to map IC2 to TI1.
To match what the STM32F302x8 reference…

Ken Lin
- 986
- 1
- 8
- 22
0
votes
1 answer
Just bought STM32F446 but the STM32IDE is not doing what I expect
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
}
I Installed STMCubeMX and built a project for STM32IDE
In the IDE I successfully built the project using: project -> build all
I'm expecting to see the default led to…

Jay
- 117
- 1
- 9
0
votes
2 answers
What library or project generator to use for a first STM32F3 project?
I'm about to start my first STM32 project. (I have previously used atmega MCUs, and have decades of experience with C, mostly server-side.)
There seem to be three choices, given that I want to develop on the command-line in Linux, using make.
an…

fadedbee
- 42,671
- 44
- 178
- 308
0
votes
1 answer
STM32Cube: FreeRTOS 10.0.1 and CMSIS v2 generate warnings
I'm using STM32Cube to generate an IAR EW 8.2 project with FreeRTOS 10.0.1 and CMSISv2 API's. When I clean up the project and build again, I get the following warnings
Warning[Pe177]: variable "hTask" was declared but never…

PascalS
- 975
- 1
- 16
- 40
0
votes
1 answer
STM32F103 SPI different pins does not work
I am currently working on a project with LoRaWAN technology using STM32F103C8T6 microcontroller. For LoRa I am using SPI in Full-Duplex Master mode (spi1 specifically) and in CubeIDE when you activate SPI1, automatically pins PA5, PA6 and PA7 are…

Miradil Zeynalli
- 423
- 4
- 18
0
votes
2 answers
STM32CUBEIDE st link gdb debug error in final launch sequence
So, I am learning stm32 mcus, using a nucleo f4 board.
Everything was working fine and now debug launch fails.
Actually, I was doing one debug, closed it and next debug session won't launch.
It starts debug on Linux or on Windows with OpenOCD, but…

Knee Caps
- 181
- 2
- 9
0
votes
1 answer
Trying to build my project in headless mode but getting WARNING: No Project matched
I have a project in STM32CubeIDE I run this project from the command line in headless mode with this command:
headless-bat -project "my-project-name/Debug" -build
and it builds successfully. But when I try to copy the same project to another…

deanavenger
- 582
- 1
- 7
- 24
0
votes
1 answer
trying to get data from MAX144 external ADC using STM32L452RE micro controller but no success :(
I m quite new with using ADC. I am using an external ADC MAX144 to get sensor data using STM32L452RE. I am using both channels of this ADC for two sensors. ADC is continuously sending data and I want to read it.
datasheet of ADC is here
what I am…

Nazar Hussain
- 13
- 5
0
votes
1 answer
How to handle the removing and Adding of a SD Card at runtime?
I'm using a SD Card with the SDMMC interface on a STM32F7 board. I'm following this video and the project going well. https://www.youtube.com/watch?v=0NbBem8U80Y
FATFS SDFatFs;
FIL MyFile;
FRESULT res; …

GehadElkot
- 1
- 2
0
votes
2 answers
STM32 Cube IDE (True Studio) Connect under Reset
I just tried out the new STM32 Cube IDE, which based on Atollic True Studio which based on Eclipse.
Looks good, Cube MX is integraded but the Debugger / ST-Link Intigration made problems by me.
If I flash a MCU for first time, it works pretty well.…

guenthernagel
- 73
- 1
- 3
- 14
0
votes
0 answers
I want the acknowledge bit to be ignored during i2c communication in stm32f407vg
I'm programming any integrated chip via stm32f407vg (chip zsc31050). I want to communicate between stm32 and zsc31050 via i2c communication. I using Keil and stm32cubemx for programing stm32. According to the datasheet of the chip during the first…

Orkut Göküş
- 1
- 1
0
votes
0 answers
STM32F407Vg SystemInit() <--underlined by a gray line, reset handler errors
Device: stm32f407vg
IDE: Keil uvision 5
IDE Version: Latest version
Cubemx Version: Latest version
I want to use the USART communication protocol in my project. Communication is provided but incorrect data is sent (STM> PC).
The "SystemInit ()"…

K__A__
- 1
- 1
0
votes
0 answers
NUCLEO-F746ZG UART3
I'm trying to use the UART3 in NUCLEO-F746ZG with TrueStudio.
USART3 connected to ST-LINK to support the virtual COM port, but it didn't work now. I don't have oscilloscope and I really want to see the print message through hyper terminal like a…

Hans
- 398
- 2
- 4
- 14
0
votes
3 answers
How to configure baud rate for transmitting data using HAL_UART_Transmit() in STM32F103C8T6?
I am using STM32F103C8T6 board and CubeMX to generate the code. I transmit the data via UART using the function HAL_UART_Transmit(). I configured the baud rate as 9600 in CubeMX and I chose the speed as 9600 in Putty also. Still I got some junk…

Vignesh
- 55
- 3
- 12