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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 1024 Views
  • 0 replies
  • 1 kudos

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
  • 1813 Views
  • 5 replies
  • 7 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
  • 1946 Views
  • 7 replies
  • 0 kudos

ARP response but no ACK from TCP server (stm32f4+freertos+lwip)

I'm implementing a TCP/HTTP server on a custom board with a LAN8710A PHY. The board is connected to a PC via an ethernet cable with static IP assigned on both sides. I'm stuck at Netconn_accept() (when I enable LWIP_SO_RCVTIMEO I see that Netconn_ac...

KNg.3 by Associate
  • 1016 Views
  • 1 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
  • 2279 Views
  • 3 replies
  • 0 kudos

CubeMX problem in USB Host Enumeration with STM32F105.

Hi,Currently I'm working with a CubeMX project in which STM32F105 acts as a USB Host and communicates with USB flash drives. The problem is after detecting attached device and getting device speed successfully the enumeration stage fails. Tracing dow...