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
  • 537 Views
  • 5 replies
  • 6 kudos

Bug in CubeMX code generation for TIMx encoder mode with remap

Hi,I'd like to report a bug in code generation of CubeMX when using encoder mode with remapping of CH1 and CH2 and LL drivers. I use STM32CubeIDE v1.4.1 and STM32G474.The problem is that the commands to configure the remapping of TI1 and TI2 are spli...

MScho.1 by Associate III
  • 1971 Views
  • 5 replies
  • 0 kudos

Resolved! ADC clock misconfiguration on F091 ?

Hello,it seems cube 5.3.0 generates broken code for the ADC config.the ADC_InitStruct.Clock is never written to CFGR2, and CFGR2 is never written.Any suggestion why ? is this a problem from Cube code generation ?in adc.c : in adc.c : ADC_InitStruct...

Resolved! stm32CubeMX 6.0.0 FreeRTOS Problem

Hello,I updated to CubeMX 6.0.0 and CMSIS 5.7.0 today.The code containing FreeRTOS and LwIP, which I previously created with CubeMX 5.6.1, is no longer working.FreeRTOS gets stuck in vPortValidateInterruptPriority () function in port.c file in about ...

0693W000003BXLkQAO.png

Resolved! How to mix CubeIDE code with register code for timers

Hello,I'm developping a software where some timers are totally configured through STM32CubeIDE and others totally configured through registers. I'm getting errors concerning the register configured timers. Here is an example :../Drivers/CMSIS/Device/...

HABIJ.1 by Associate III
  • 1802 Views
  • 7 replies
  • 0 kudos

How to use usart + dma ?

hi, Dear, how can I use usart + dma? I make the project by stm32cubeMx and add some code in main function as below: but it run fail and show a dma transfer error(Show as addition files: RunHere.png). Looking for your reply , Thank you!    /* Infinite...

lldr.1 by Associate
  • 2075 Views
  • 3 replies
  • 0 kudos