Other Parts Discussed in Thread: AM3352
Tool/software: TI-RTOS
Hello,
I am looking for some real doc on the USB functions. The "doxygen" generated stuff is useless (you can't even do a search).
The Mass Storage Class example works fine. It starts with a function named "USB_open()". But its not even in any documentation I can find. The function is actually prototyped in "usb_drv.h" which isn't even in the Doxygen generated stuff.
So, the material supplied is useless if it's not even in there. And the example code doesn't do any good if there is no documentation to back it up.
On the other hand, the document "spruhd4m" (TI-RTOS Drivers) section 5.14 describes the most basic material for the USB module. However none of the functions defined in that section can be found in the PDK for the AM335x (C:\ti\pdk_am335x_1_0_7 ). Apparently that material only applies the MSP430 or TIVA, or ...?
The Mass Storage Class (MSC) example in the AM335x PDK is of little help because I don't want to create a MSC device. I want to create a CDC. However, the built in functions and structures are for MSC, and are hiding most everything from the developer... So if there is a way to initialize the USB stack and set the device class in the device descriptor from 8 to 2 (from mass storage to communication class), I haven't found it.
Is there a document somewhere which describes these functions...? A user guide and reference guide, maybe like the NDK docs ( spru523 and 524 ) ?
Please??
-CSW