2022-03-09 01:35 PM
I am trying to set up USB OTG FS as CDC(virtual com port). For the other Nucleo board (Nucleo F746ZG) I was able to set it up in middleware section of CubeMx GUI.
With the STM32U575ZI-Q board, the option(USBX) is disabled. Also, in the device manager or computer, the port is not recognized. I am using C-type USB to USB-A also tried with C-type to C-type.
2022-03-10 12:16 AM
You've probably set USB_OTG_FS > OTG/Dual_Role_Device, correct?
Have you also activated ThreadX > Core, because this is required for USBX (also shown in the pop-up)?
Regards
/Peter
2022-03-10 12:31 AM
@Peter BENSCH I am setting it to Device only mode. I have not activated ThreadX>Core.
2022-03-10 03:42 AM
The middleware USBX, like ThreadX, is part of Azure and includes both host and device, which is why ThreadX > Core is required.
Regards
/Peter
2022-03-10 06:11 PM
@Peter BENSCH What could be the reason for the port is not being detected and not shown in Device MAnager? I tried C-type to USB-A and Ctype to C-type.
2022-03-11 03:13 AM
Of course, the USB device can only be recognised if the USB port is active and supported by software.
Regards
/Peter
2022-03-11 02:01 PM
2023-10-16 02:38 AM
Hi pkulk,
did you get solution for USB CDC transmit and receive ?
regards,
prakash