USB Host / Client Library

General discussion on Libstock website & codes posted on this website.
Post Reply
Author
Message
sturoy71
Posts: 7
Joined: 05 Mar 2014 12:08

USB Host / Client Library

#1 Post by sturoy71 » 07 Jul 2014 11:55

I have a few questions about the USB Library.

1) Though there are examples of how to implement a host to read a mass storage device. Are there any on how to implement your own class. I understand the basics of USB communication.

2) Though I am aware that there is only one USB channel used on the EasyMXPro which can be configured for either host or device. Can the library be used in our own boards when we want to implement both a host port and a device port.

3) Will you ever support OTG.

4) Will your host library enumerate a device on a hub connected to the device.

User avatar
marina.petrovic
Posts: 2986
Joined: 18 Apr 2013 08:11

Re: USB Host / Client Library

#2 Post by marina.petrovic » 09 Jul 2014 17:26

Hi,

1) In USB Host Library from LibStock Website you can find simple Host MSC example which demonstrate
how you can print content of USB Flash stick on TFT display.
Beside this example we provided simple HIDMouse and HIDKeyboard examples.

2) Library can be used with some other development board (which have USB Host) if the microcontroller on board
is supported in the library (and our compiler).

3) We already have on our "wish list" adding support for USB OTG module.

4) You can take a look at USB Host Library Help file, for example, USBHost_GetDeviceDescriptor() and USBHost_GetInterfaceDescriptor() routines.

Best regards,
Marina

Post Reply

Return to “Libstock Discussion”