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.

Reading USB - tm4c123gh6pge

Hi,

I would like to know how can you read data from the USB port - device mode on a Stellaris LaunchPad?

I got some codes for USB protocol but i can't verify if it work properly.

Thanks,

Math.

  • Hello Math,

    There are example code in TivaWare for Bulk End point along with USB application code on the PC side in TivaWare. As an example there is usb_dev_bulk you may want to refer to in TivaWare.

    Regards
    Amit
  • user4364509 said:
    ...got some codes for USB protocol ... can't verify if it work properly.

    You may consider that your description, "some codes" and "can't verify" provides little usable data to those here.

    You know what you mean - but that's not been conveyed - has it?     You'll receive quicker & more complete response (downstream) when such posts provide pertinent detail.

  • Well, i didn t ask for specific code or debug... I just ask for a general hint. Actually, I modify the usb_bulk_example on window side and i am able to see what is coming into the pc from the usb port.
    Math.
  • No one claimed that you asked for specific codes nor debug.     Comment was aimed - very directly - at that portion of your post which appeared vague, "empty of value" to those here - seeking to assist.    

    It's good that you can monitor what's arriving @ pc side - yet that may be, "base of the mountain!"    

    My writing/alert was intended to assist your successful climb to the peak...    (which likely will require better detail & description)