This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB code for C6748

I'm looking for examples of code for the USB port on the C6748. 

I've found the TMS320C674x/OMAP-L1x Processor Universal Serial Bus 2.0 (USB2.0) Controller (sprufm9h.pdf). And I've found the raw specification for the USB 2.0 standard.  And I've found some sample test code that comes with the LogicPD C6748 EVM board.  Nonetheless it's still looking like a huge research project, since USB is more complicated than most peripherals.

I need code that will allow a Host PC to occasionally send numeric values over the USB into specific memory locations of the DSP -- and perhaps to read them back again.  That's pretty simple as USB applications go. 

Any tips or hints would be appreciated. 

  • Snafu,

    The BIOSUSB driver could be used by constructing a HID app for satisfying your requirement.

    Pl. note that BIOSUSB stack is only available in Binary format.  If you want any source code reference you would have to refer to Linux usb driver.

    regards

    swami

  • Thanks Swami,

    Thanks to your help, I'm looking at the BIOSUSB driver.  I get the impression it is quite powerful and general. 

    Yet I am overwhelmed by it.  It has many parameters (and #defines) to contend with, and I'm not finding the kind of documentation that would make it easy to work with.  I need some document that helps me set the various things and then compile.  The software package comes with an HID "keyboard example", but I can't figure out how to modify it for my use.  (Again, I merely want to transfer a small block of bytes from the PC/Host to the EVM board, and later to read back a small block of bytes. This would seem to be one of the easiest uses of the USB port.  Yet I can't figure out where to begin.)

    Hopefully someone can give me some clues on where to find the right kind of documentation.

     

  • This thread is 4 years old, but it feels as though nothing has changed. I am wanting to get started by creating a simple USB device such as a HID or DCD. I found the starterware USB CDC device http://processors.wiki.ti.com/index.php/StarterWare_USB#CDC_Device_Class

    and I know the basics of USB, yet I am overwhelmed with the wiki information and all the starterware source files, and just need a way in. Does anyone know of a basic usb example project for CCS that I can just download and run?

  • Hi Roy,

    Sorry for the inconvenience.

    Could you please create new post for your problem or requirement.

    We do support our level best.