cancel
Showing results for 
Search instead for 
Did you mean: 

USB_DEVICE missing from CubeMX

Brian H
Senior

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.

 

2 REPLIES 2
Pavel A.
Evangelist III

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.