[STM32U575ZI-Q] Not able to set the USB OTG FS.
The option(USBX) is disabled in the middleware section of CubeMx for USB OTG FS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-09 1: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.
- Labels:
-
STM32CubeMX
-
STM32U5 series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-10 12:31 AM
@Peter BENSCH​ I am setting it to Device only mode. I have not activated ThreadX>Core.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-10 3: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-10 6: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-11 3:13 AM
Of course, the USB device can only be recognised if the USB port is active and supported by software.
Regards
/Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-11 2:01 PM
@Peter BENSCH​ Okay, I have activated the ThreadX and set the USBX. and I can see the board as a device, not as a com port(in Device Manager)(image attached).
Could you please show me how to do a simple TX and RX using USBX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-16 2:38 AM
Hi pkulk,
did you get solution for USB CDC transmit and receive ?
regards,
prakash
