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
  • 128 Views
  • 2 replies
  • 4 kudos

Resolved! I have generated a USB CDC Host application on an STM32F407vet based board using the latest version of CubeMX. The resulting code basically works up to the point of getting the data interface where it cannot find a matching interface (0x0A).

I cannot for the life of me find out where the interface descriptors are defined. Examples I have found on the web indicate ( for a CDC device at least ) a file "usbd_desc.c / h" that contains the definitions. There is no equivalent usbh_desc.c fil...

Resolved! STM32CubeMX 5.6 bugs: LWIP static IP address missing in lwip.c, generated function calls ranking not working correctly

Hi!I tried to set peripheral initialization order in Project Manager->Advanced Settings.After I finished sorting the list and saved the project, the function list mixed.The problem is reproducable. When you save the project, the function list gets a ...

PTiha by Senior
  • 3478 Views
  • 15 replies
  • 1 kudos

STM32CubeIDE generate wrong code in USB_HOST with FreeRTOS

File \USB_HOST\Target\usbh_conf.h has the definitions:#define USBH_malloc     malloc#define USBH_free      freeThis does not work with FreeRTOS. It will be better, but maybe not perfect:/** Alias for memory allocation. */ #if (USBH_USE_OS == 1) #defi...

NDubr.1 by Associate
  • 419 Views
  • 0 replies
  • 0 kudos

Unable to open ioc file

Thank you for helping.environmentSTM32CubeIDE Ver1.3.0Unable to open ioc file.The following message is displayed when building.'STM32F769I_DISCO.ioc' is requiring code generation.Click OK to build without invoking Device Configuration Tool code regen...

Ebun.1 by Senior
  • 801 Views
  • 2 replies
  • 0 kudos

Resolved! Cube MX 5.3.0 ERROR?

hi, I am working with the NUCLEO-F207ZG card and I have configured USART2 on port D.Now CubeMx offers me the setting of the RX pin in Push-pull mode !!!!!! The same for CTS !!!And there is no way to set the pin in any other way !!!Can anyone give me ...

0693W000000VCeoQAG.png

Resolved! When configuring GPIO's as external interrupts, CubeMX is generating code to enable interrupts immediately. This can be annoying if the interrupt fires before the software is fully initialized.

Using an operating system such as free-rtos, it is common to send a message from the interrupt to a thread, but if the handle to the thread is not yet created - a hard-fault is usually seen. Testing a flag in the interrupt routine activated when the ...

mads.l by Associate II
  • 1157 Views
  • 3 replies
  • 0 kudos