Skip to main content
Brian H
Senior
January 24, 2024
Question

USB_DEVICE missing from CubeMX

  • January 24, 2024
  • 2 replies
  • 2167 views

CubeMX version 6.10.0

Chip is STM32H563IIKx

Firmware package is STM32Cube FW_H5 v1.1.1 (which is the latest shown in the software packages manager).

Neither USB_DEVICE nor USB_HOST is listed in middlewares:

BrianH_0-1706126637661.png

As can be seen, my project involves FreeRTOS which eliminates THREADX and USBX as options.

All the information I can find online about creating a USB CDC (Virtual COM Port) implementation involves configuration using USB_DEVICE middleware.  What is the correct path now, since USB_DEVICE is not present?  Switching to THREADX is not a feasible option.

 

This topic has been closed for replies.

2 replies

Pavel A.
Super User
January 24, 2024

Hi,

Here is the "classic USB middleware" package for STM32H5.

https://github.com/STMicroelectronics/stm32h5-classic-coremw-apps

and USB device project example for Nucleo-H563 which you can use as reference for your project.

https://github.com/STMicroelectronics/stm32h5-classic-coremw-apps/tree/main/Projects/NUCLEO-H563ZI/Applications/USB_Device/HID_Standalone

Unfortunately these examples are not supported directly by CubeMX/IDE configuration GUI. You can find a consultant or contractor to help with adaptation of the software.