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...

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
  • 997 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
  • 1365 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...

Tamper button does not work on cm4

I am using an STM32H757-eval board. From the CM7 I can detect a Tamper button press (PC13). I would like to detect this same button press from the CM4. Using CubeMX, I assign PC13 to the CM4. After rebuilding, I am not able to detect Tamper button pr...

Gil1 by Associate II
  • 1509 Views
  • 8 replies
  • 0 kudos