Skip to main content
Visitor II
February 10, 2024
Question

STM32 Nucleo-u5a5zj USB host

  • February 10, 2024
  • 2 replies
  • 2337 views

I have a Nucleo-u5a5zj board and I want to connect a NewLand FM430 scanner that works as a virtual COM port. In the example, I only saw the USB CDC ACM device, but I only need the configuration for the host. Can you give me more explanation of what I should do? I tried using sources from other examples like USBX USB_HOST_CDC_ACM for STM32H7 and didn't get good results. Maybe someone can find me an example of how I can get a USB host in this configuration. Early thanks.

PS. I am trying to use AzureRTOS (ThreadX) and USBX

    This topic has been closed for replies.

    2 replies

    Super User
    February 10, 2024

    Maybe look at Tomasz USB host on Nucleo-u5a5 , how to do;  and adapt for CDC .

    USB-C Host with MSC

    https://github.com/tdjastrzebski/Nucleo-U5A5ZJ-USBX

    GhostVVSAuthor
    Visitor II
    February 11, 2024

    What should I do to adapt for CDC?

    Super User
    February 11, 2024

    and didn't get good results

    What you got ? 

    Explorer
    February 11, 2024

    Hi @GhostVVS

    Can you please enumerate your device with windows and share with us the descriptor of your device to see exactly what class and other informations to help you.

    I recommande your thesycon tools or an usb analyzer.

    https://www.thesycon.de/eng/usb_descriptordumper.shtml

    Regards.

    GhostVVSAuthor
    Visitor II
    February 11, 2024

    I don't use Windows.

    Explorer
    February 11, 2024

    Do, do you have an USB trace that you can share with us or more information??