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

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
  • 500 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
  • 1912 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
  • 819 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. ...

Resolved! Comp 6 and 7 not start

I have problem with comp6 and 7 I try to enable bout cannot enable comp1 -5 work without problem may be must enable clock for comp6-7