Part Number: PROCESSOR-SDK-AM335X
Hello,
As typical, useful doc is nowhere to be found.
I am attempting to research running a USB host on a BBB, using everything in pdk_am335x_1_0_17 (or is it processor_sdk_rtos_am335x_6_03_00_106...? I installed what I was told, and have two folders.)
I tried looking for examples, and there are several of them. Many look like devices, not hosts. So I tried to consult the doc.
In C:\ti\processor_sdk_rtos_am335x_6_03_00_106\docs ever PDF just points you to a web page.
All "USB_HostMsc" says is "OMAPL13 LCDK host and device examples share the same USB port. Need OTG cable for EVM with OTG port to work in host mode." Not very informative about what the example is and does.
Well, I imported it anyway. It appears to be an MSC, I assume running as a host, due to the project name.
It begins with a call to USB_open(...) A search gives me section 6.3. and says it can open as MSC, Audio, or bulk...
Not a SINGLE actual description of the function call is described. Like a real API document...?
Further on, there is a call to USBHMSCDriveOpen. That doesn't show up ANYWHERE in any search.
Looking in usb_drv.h, there are a handful of functions totally lacking any any details. For example, USB_open requires a pointer to a USB_params, which only has weak comments. The USB_MODE member only lists two enums with the word "HOST" in it: MSC and AUDIO... Are there no others? The member "usbCLassData has the entirely lacking description "pointer to USB Class data". Since it's a "void *" there is no way to know what type of data that is.
Is there any real doc on using the USB libraries? Something comprehensive like spru523 and spru524? Something that explains how it works beyond the limited examples? Where the system acts as a host to a typical bulk device which uses our custom messages?
