Skip to main content
Associate II
Feb 10, 2024 10:50 AM UTC
Question

STM32 Nucleo-u5a5zj USB host

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.

7 replies

AScha.3
Super User
Feb 10, 2024 12:54 PM UTC

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

If you feel a post has answered your question, please click on " Best Answer ".
GhostVVSAuthor
Associate II
Feb 11, 2024 12:14 PM UTC

What should I do to adapt for CDC?

AScha.3
Super User
Feb 11, 2024 2:13 PM UTC

> and didn't get good results

What you got ? 

If you feel a post has answered your question, please click on " Best Answer ".
Explorer
Feb 11, 2024 12:50 PM UTC

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
Associate II
Feb 11, 2024 1:57 PM UTC

I don't use Windows.

Explorer
Feb 11, 2024 3:18 PM UTC

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