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

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 318 Views
  • 4 replies
  • 5 kudos

DMA does not write from ADC to memory

I use STM32H743 and STM32CubeMX.ADC1 operates in ADC_CONVERSIONDATA_DMA_ONESHOT mode.Writes 512 samples to memory (address 0x24003F20).After recording, I process the data and run DMA again.But the data in the memory area does not change (as if frozen...

BBoro by Associate
  • 717 Views
  • 1 replies
  • 0 kudos

STM32CubeMX bug with STM32F407VG MCU and FreeRTOS

It was my hope that cubeMX bugs are constantly fixed with new releases. Unfortunately...In the latest cubeMX generated code in FreeRTOSConfig.h file this is defined for os tick:#define xPortSysTickHandler SysTick_Handlerwhich makes it jump into HardF...

GShma by Associate
  • 583 Views
  • 1 replies
  • 1 kudos

Resolved! STM32L476G-DISCO USART NOT WORKING?!

I'm using an stm32l476G-DISCO and i want to transmit a message using the usart, the code compiled with no error using the CubeMX but the terminal is not showing anything.i configured pin P5 as TX_USART2 and P6 as RX_USART2is it a usb driver problem? ...

OGaie by Associate III
  • 2236 Views
  • 4 replies
  • 0 kudos

CubeMX generated _sbrk() syscall does not work with freeRTOS enabled. Is there a recommended _sbrk that work well with freeRTOS? And if so, what is it and could you include it into CubeMX that is enabled only if freeRTOS is activated.

I found others have similar issue, but they are trying to work around it instead of putting in a bug report: https://community.st.com/s/question/0D50X0000AAIEWbSQP/stm32cubemx-generated-sbrk-in-syscallsc-not-working-with-freertosI was trying to do a ...

0690X000009YZHGQA4.png

Resolved! Cannot use SPI and PWM DMA together on STM32F103VET6

I'm using CubeMX for code generation.I configured my MCU (STM32F103VET6) for PWM generation on Timer 2 Channel 2 using DMA (DMA 1 channel 7), Memory to Peripherial; PWM data stored in array.All works good, if I fill data array programmatically.When ...

Vthe by Associate II
  • 934 Views
  • 2 replies
  • 0 kudos

Timer IT fires directly after initialization

STM32F030, CubeIDE generated skeleton, TIM14 is at LL. After running MX_TIM14_Init() , TIM14_IRQHandler immediately invoked. I put a breakpoint into TIM14 IT routine, start debug, then F6 step from the beginning of main(). Please see attached video. ...