STM32CubeMX (MCUs)

Ask questions on STM32CubeMX. Discuss code generation and configuration challenges, among other topics.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.15.0 released

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

[STM32L4R9I Discovery Kit]ADC+DMA problems.

I would like to construct an sampling system via using ADC+DMA method on STM32L4R9I official Discovery Board. I use STM32CubeMX to configure the peripherals and then compose the HAL code in Keil-MDK. The problem I met is ADC&DMA works well, but the ...

0693W00000Y6vQdQAJ.png 0693W00000Y6vQiQAJ.png
SLi.21 by Associate
  • 704 Views
  • 1 replies
  • 0 kudos

Why does my program always go into HardFault_Handler?

I just make a simple test. My cpu is stm32F303VET6,. Use Stm32cubeMx to generate a simple project with few lines of code, like:int main(void){ /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ /* MCU Configuration-----------------------------------------...

plpc.1 by Associate II
  • 1036 Views
  • 4 replies
  • 0 kudos

Resolved! "HAL_ADC_Start_DMA()" - init MSP bug

I am working on a STM32f030.I need to convert 2 channels of ADC, and decided to use DMA.After reading the "HAL ADC Generic Driver" - UM1785 section, I got the idea that I don't have to use the "HAL_ADC_MspInit ()" function.However, nothing works unti...

What other code portion(using code generation) changes apart from SystemClock Config replacement with clock setting changes

Hello, I am using STM32CubeMX to generate the code and test some peripherals which runs at different clock speeds(optimally).Since there is lot of code I have (specific to application) post STM32CubeMX code generation being written I don't want to re...

darla14 by Senior
  • 1389 Views
  • 4 replies
  • 0 kudos

How to setup gitlab ci for STM32CubeMX?

Hi guys,I am very new to continuous integration. My company has tasked me to set up a gitlab ci for there STM32CubeMX project. They want the following:A self hosted gitlab on a docker container on a machine (This I have already set up)Gitlab runner o...