135 questions
0
votes
0
answers
68
views
CubeMX and touchGFX not synchronized
I'm using the board NUCLEO-H563ZI paired with an RVA35HI screen.
When I first created the project and generated the code, I could download the TouchGFX project using the TouchGFX application with the &...
2
votes
0
answers
95
views
Sample project with STM32CubeMX (CMake) code generation for STM32F407G-DISC1 [closed]
I am generating code from STM32CubeMX (CMake projecct) and keeping it is separate folder. What CMake code so I now need in my App so that I can use generated code from the STM32CubeMX, and write my ...
3
votes
0
answers
88
views
STM32 ADC + DMA does not update value
Board: NUCLEO-144 STM32H723ZG
I'm using ADC_3 with 8-bit resolution, trying to measure an analog sine wave of 1 kHz as a stimulus.
I'm trying to use the ADC with DMA. However, I am unable to get any ...
4
votes
0
answers
147
views
stm32 master and slave spi+dma communication
I config stm32 by using cubemx, and try to achieve the funciton to communication between master and slave.
Here is the configuration of cubemx
master
and I directly use HAL_SPI_TransmitReceive_DMA(&...
0
votes
0
answers
212
views
Upgrade and programming FUS and BLE STACK with STM32_Programmer_CLI (STM32WB55CG)
I'm facing trouble with STM32CubeProgrammer for upgrading FUS and programming the Wireless stack and my application into STM32WB55CG. I could upgrade FUS (V1.2.0), and do stack (V1.20.0) and ...
0
votes
0
answers
87
views
STM32H7 Dual Core Project in CLion with Platformio and CubeMX
I am working on a dual-core project for the STM32H745 and I want to use CubeMX for code generation, PlatformIO for building and flashing, and CLion as my IDE. My goal is to set up the M7 core to ...
2
votes
0
answers
151
views
STM32CubeMx doesn't generate whole code for USB
Win10, STM32CubeMx ver. 6.5.0, STM32CubeIDE ver. 1.18.0, MCU - STM32F103C6
I'm creating a new project using either STM32CubeMX or STM32CubeIDE. In the Pinout & Configuration window, I configure ...
0
votes
0
answers
123
views
STM32CubeMX generated Makefile - Abnormal Behaviour
I am having a problem with STM32CubeMX on linux. I used CubeMX to create a new project, setup peripherals and generated a makefile (the code is a timer example from ST github page). Inside the ...
0
votes
0
answers
56
views
CMake : Add different auto-generated libraries with the same name
Diclaimer : I am very new to CMake, I may be missing a key concept...
I am using CubeMX to generate hardware-specific code for multiple boards. Each board's autogenerated files include a CMakeLists....
0
votes
0
answers
82
views
I downloaded a python script from github to connect Platformio and СubeMX. However, one function in the script was not defined. How to fix this?
I downloaded a script that allows you to combine Platformio and STM32CubeMX. This script includes third-party libraries such as LwIP. However, Import("env ") on line 18 is not defined. What ...
0
votes
2
answers
534
views
Is that possible the generate without comments main.c in stm32Cubeide
Well i am newone at stm32, i have been working on arduino there is only setup and loop there is only one comments. But with stm32cubeide if i generate my main.c from cubemx. Ohh my god. Where should i ...
0
votes
1
answer
384
views
Programming Option Bytes STM32L4xx using Hal API
I am trying to implement a bank swap mechanism for STM32L471RET6. my Code Doesn't seem to have errors for setting and resetting Option bytes but Nothing Happens when Calling the bank Swap Functions. ...
1
vote
1
answer
104
views
Outputting a Triangular Waveform from a DAC Output Pin at a rate of 77khz on an stm board
I am currently working on an stmG474-re development board and aiming to use dac1 channel 2 to output a triangular waveform at a frequency of 77khz with the high resolution timer but struggling to ...
2
votes
1
answer
289
views
STM32C031 Number of Conversion can not be more than 8
I am trying to make a STM32CubeMX design with STM32C031. I have 11 ADC channels to read but I can only select 8 of them STM32CubeMX does not allow me to select more. Is there any reason for that?
My ...
0
votes
0
answers
79
views
STM32CubeMX xTaskCreate() not scheduling on STM32F030
I have used STM32CubeMX to create a FreeRTOS task on the STM32F030 development board using the CMSIS-RTOS v2 interface, but the task I created using xTaskCreate() is not scheduling correctly, and the ...