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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

Problem during Server Connexion

Hi!I'm using STM32CubeMX 4.24.0 (I know, extremely old but I need this version to be able to follow along a course) and JRE 1.8.0_351 on Ubuntu 20.04.It seems the tool cannot find updates or other necessary STM32 Cube packages, with the following err...

CGalv by Associate III
  • 3381 Views
  • 1 replies
  • 0 kudos

floating point and interrupt

Hi,i am using stm32F411 and generate programs with cubeMX.now I want to use the FPU in main and in interrupt context. Is it possible to use the FPU in interrupt context?I do not know how CubeMX generated programs handle the FPU context save within in...

rzong.1 by Associate II
  • 3479 Views
  • 8 replies
  • 0 kudos

Resolved! STM32H7 ADC CLOCK PRESCALER NOT AVAILABLE

Hello.I have stm32h743vit6. After Cubemx 6.3.0, the adc clock prescaler setting is not available, it does not appear. Also, even if I open the adc channels, the adc mux is never active on the Clock Config page.In older projects (6.3.0 and earlier) ad...

AUNAL.1 by Associate
  • 1148 Views
  • 3 replies
  • 0 kudos

[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
  • 658 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
  • 891 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...