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.

Example USB code for C6748

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.

I have also looked at EVML138 BSL example evmc6748_test_usb. This appears to be far more complex than I need (using OTG) and the documentation is rather thin and doesn't explain what's going on. Also, I haven't managed to build it yet, but if I can guess the right include files and libraries it might build soon

Does anyone know of a basic usb example project for CCS and C6748 that I can download and run?

 

Thanks

Roy

  • Hi Roy,

    Have you downloaded "C6748 LCDK" starterware package ?

    Are you looking for the below examples ?

    ti/C6748_StarterWare_1_20_04_01/examples/lcdkC6748/usb_host_kb

    ti/C6748_StarterWare_1_20_04_01/examples/lcdkC6748/usb_host_mouse

    Please refer to the following useful TI wikis.

    http://processors.wiki.ti.com/index.php/StarterWare

    http://processors.wiki.ti.com/index.php/StarterWare_USB#HID_Device_Class

    If you are not looking on to this, Could you please elaborate a bit on your requirement.

  • Hi Roy Jackson,

    Would you please tell for what type of USB devices you are looking for USB device drivers?

    Roy Jackson says said:
    Does anyone know of a basic usb example project for CCS and C6748 that I can download and run?

    yeah, Sure, you can download the C6748_StarterWare_1_20_04_01 from http://processors.wiki.ti.com/index.php/StarterWare 

    once you install it, you will find the six USB examples. ( 3 - Device side examples and 3 - Host side examples)

    at path "..\ti\C6748_StarterWare_1_20_04_01\examples\lcdkC6748"

    Device side examples:

    1. usb_dev_bulk

    2. usb_dev_msc

    3. usb_dev_serial

    Host side examples:

    1. usb_host_kb

    2. usb_host_mouse

    3. usb_host_msc

    Using CCS, you can import these projects directly and run it on your target very easily. you can refer to the below TI WIKI link for importing projects. http://processors.wiki.ti.com/index.php/Importing_Projects_into_CCS

    If have any further questions, please revert.

     

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • Thanks Shankari,

    That's exactly what I was looking for. I actually had already downloaded the starterware and seen the source files, but I didn't know how to use them. When I looked more thoroughly I discovered the project files for CCS. The usb-dev-serial example built and ran first time.

    Maybe the starterware wiki needs slightly more detailed instructions to help first-timers get started. E.g. your link to importing projects above.

    Thanks again,

    Roy

  • Hi Roy,

    I am glad that you are able to run the usb-dev-serial example successfuly.

    Thanks for your input. We will edit those wiki links with detailed intructions.

     

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------