Host process of CDC (Virtual Port Com) does not work.
I am using STM32G0B1KC to make a CDC class USB Host.
I selected in STM32CubeIDE, Mode=Host_Only (FS) in Connectivity - USB_DRD_FS and Communication Host Class (Virtual Port Com) in Middleware - USB_HOST.
Before creating the user program, I checked the operation with the debugger and found the problem below.
(I did not create a user program, so all code was created by STM32CubeIDE)
1. When the STM32L0 series is connected as a USB device as CDC class, USBH_UserProcess() is notified of the HOST_USER_CLASS_ACTIVE event, but when other CDC devices (e.g. FTDI FT232) are connected, the HOST _USER_CLASS_ACTIVE will not be notified.
Both CTM32L0 and FT232 will be notified of the HOST_USER_CONNECTION event.
USB connection is complete on the device (STM32L0) side.
2. After connecting STM32L0 and receiving HOST_USER_CLASS_ACTIVE event, if I disconnect STM32L0 and reconnect it, I cannot receive HOST_USER_CLASS_ACTIVE event.
Do I have to create some user program?
