2024-01-24 12:07 PM
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:
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.
2024-01-24 12:58 PM - edited 2024-01-24 01:00 PM
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.
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.
2024-01-24 02:23 PM