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

Resolved! STM32F103 ADC and DMA?

HelloI am familiar with STM32. I have a simple project with CubeMXOne ADC reads 3 channels, continuousmade disable , DMA active.I turn everything on and start the first ADC conversion with a function HAL_ADC_Start_DMA.My questionsHow do I start anoth...

KHans.4 by Associate
  • 988 Views
  • 1 replies
  • 0 kudos

Resolved! issue in creating a new project

Hello, when I tried to create an stm32 project, at the last step of generating the code, I came across this warning and the code was not generated.After it tried to unzip stm32cube package, it says "Target directory already exists". I did already dow...

0693W00000Sv770QAB.png
Crane by Associate III
  • 1011 Views
  • 5 replies
  • 0 kudos

Resolved! TIMER + ADC + DMA

I have a STM32F103C8T6 bluepill board. I´m trying to use the Timer3 to TRIGGER the ADC1 conversion + DMA transfer.The ideia is: when the timer 3 trigger the ADC1, a conversions starts and the dma transfer the result of conversion to a buffer, in circ...

0693W00000Svu9oQAB.png 0693W00000SvuB6QAJ.png 0693W00000SvuBfQAJ.png 0693W00000SvuBuQAJ.png
BLima.1 by Associate II
  • 9721 Views
  • 2 replies
  • 2 kudos

Bug Report: if f_mount fails once it will not work again

hey I tried to write a code that waits for sd card to be inserted to the micro-contorllersomething like this:while (FR_OK != f_mount(&SD, "", 1));the problem is that even after I insert the sd to the micro-controller f_mount keep returning FR_DISK_ER...

DRama.19 by Associate
  • 1180 Views
  • 3 replies
  • 3 kudos

Resolved! Does TIM1 has global interrupt?

Hi, I was wondering does TIM1 has "global interrupt" like TIM2, TIM3... have?I dont see such in STM32CubeMX app, is it called differently or does not have such interrupt?Should I avoid using TIM1 if I need such interrupt?

0693W00000SvvNNQAZ.jpg
JBond.1 by Senior
  • 1121 Views
  • 1 replies
  • 0 kudos

Resolved! STM32H747 PA0_C & PA1_C input reading issue

Hello, I am working with a STM32H747XI. I have connected a digital input on PA0_C & PA1_C. I used CubeMX for the initialisation.The initialisation code is : /*Configure GPIO pins : UI_ENC0_Pin UI_ENC1_Pin */ GPIO_InitStruct.Pin = UI_ENC0_Pin|UI_ENC...