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.

OMAP-L13X USB2

Other Parts Discussed in Thread: OMAP-L138, OMAP-L137

Hello,

I've a couple of questions related to the USB on the OMAP-L1x.
On the ARM side of the OMAP the following version are used:
- CCS Version 4.2.1.00004
- SYS/BIOS 6.30.03.46

Currently we are using OMAP-L137 and it is planned to switch to OMAP-L138.
For lab debug purposes the UART on the OMAP is used as serial connection to Windows (XP) PC, reacting only on (non-periodic) requests from the PC.

As the connection is very slow and the tranmitted data size will increase (expected less than 1MB) we are thinking about the usage of the OMAP USB2.0 on the ARM9.

I grabbed already the web and TI E2E Community, downloaded the data sheets (sprufm9h, etc.) and the Universal Serail Bus Specification (Revision 2.0).
As far as I understand the USB2.0 User's Guide, the OMAP USB2 must be setup as a slave (peripheral mode).

Q1: What would be a good starting point to understand what and how the USB2 must be setup?
Q2: Are there any recommendations for such a setup?
Q3: Exists there code examples for such a setup (please NO Linux and I had already a short look into BIOSUSB, but this is only for msc/hid devices)?
Q4: Do I need an USB driver on the Windows PC?

Thanks,
Frank

  • Frank Aschenbrenner said:

    As the connection is very slow and the tranmitted data size will increase (expected less than 1MB) we are thinking about the usage of the OMAP USB2.0 on the ARM9.

    I grabbed already the web and TI E2E Community, downloaded the data sheets (sprufm9h, etc.) and the Universal Serail Bus Specification (Revision 2.0).
    As far as I understand the USB2.0 User's Guide, the OMAP USB2 must be setup as a slave (peripheral mode).

    Correct.  The USB interface on the OMAP-L13x would be the slave, or in device mode.

     

    Frank Aschenbrenner said:

    Q1: What would be a good starting point to understand what and how the USB2 must be setup?

    You referenced the below BIOSUSB software release.  This would be the starting point that I would suggest.

    Outside of this, you need to determine what is the nature of this data that you want to transmit back and forth from the PC to the board.  Are you essentially wanting to create a Virtual COM port (UART) over USB?  If so, you will need to support the USB CDC class driver in order to have the PC operating system and drivers already support the functionality.  Otherwise, this will imply a custom USB driver on the PC side as well.

     

    Frank Aschenbrenner said:

    Q2: Are there any recommendations for such a setup?

    Not sure what else you are asking.

     

    Frank Aschenbrenner said:

    Q3: Exists there code examples for such a setup (please NO Linux and I had already a short look into BIOSUSB, but this is only for msc/hid devices)?

    Okay, well that makes it short.  Jungo had worked to develop the BIOSUSB package.  They would be a 3rd party provider that could be contracted to develop the necessary driver support you need.

     

    Frank Aschenbrenner said:

    Q4: Do I need an USB driver on the Windows PC?

    If you use a standard USB class, then you should be able to use a standard driver on the PC side.

  • Hello Brandon,

    sorry for late answering, had not much time to work on this stuff.

    Let me know if I should close this thread (Verify answer) or if I can leave it open for further questions,

    which will come for sure if I'm getting deeper into the USB topic.

    By the way, there are some function calls in the BIOSUSB examples which are implemented in the Jungo stack.

    Is this code from Jungo available?

     

    Thanks,

    Frank

  • Frank Aschenbrenner said:

    Let me know if I should close this thread (Verify answer) or if I can leave it open for further questions,

    which will come for sure if I'm getting deeper into the USB topic.

    I would suggest closing this thread.  If you have additional questions, please post a new topic specific to the inquiry.  Thanks for asking.

     

    Frank Aschenbrenner said:

    By the way, there are some function calls in the BIOSUSB examples which are implemented in the Jungo stack.

    Is this code from Jungo available?

    If you need source code for the Jungo stack, you will need to obtain this from them.  I don't know the specifics of the business arrangement, but they can comment.

    If you use the libraries in their current form, you have access to them via the BIOSUSB download.  There is documentation and header files to incorporate into your application with some examples.

  • Hello Brandon,

     

    I'll close this thread.

     

    Thanks,

    Frank