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.

omapl137 EVM USB0/1

Other Parts Discussed in Thread: OMAPL138

Dear sir,

I want to know what and all things we can do with USB0 and USB1 of omapl137evm board....do we have any special purpose of them.

In one youtube video,i saw that by micro usb connection he is reading kit components like memory and otherthings.....but when i connect that to my laptop,not even detecting the kit.

thank you

  • I request you to refer the EVM user guide to understand the purpose of each and every ports.
    That micro USB port is USB2.0 OTG port, which we can make it as "device mode" and "host mode"
    If you configure that port is for Host mode then you can connect pendrive there and work on it.
    If you configure that port for Device mode, then you can connect to PC, and board itself detect as memory (pendrive) device, depends on what code you are running on the board.

    So, simply it won't detect the EVM in PC, you need to run Device mode example on it to do so.
  • HI Titus,
    thanks for your reply,i ll study.where i ll get the host and device code for usb....?
    thank you
  • Hi Mohammad Naseer,

    For OMAPL138, there is a sample source code for USB host mode and USB device mode.You can refer to the OMAPL138 starterware package.

    It has the following examples for USB.

    Device mode examples:-

    usb_dev_bulk - OMAPL138 will act as a bulk device when it gets connected to the PC.
    usb_dev_mouse - OMAPL138 will act as a USB mouse when it gets connected to the PC.
    usb_dev_msc -  OMAPL138 will act as a pen drive when it gets connected to the PC.
    usb_dev_serial - OMAPL138 will act as a serial device.

    Host mode examples:-

    usb_host_kb  -- Can connect the USB keyboard as a USB device to the OMAPL138 acting as a host.
    usb_host_mouse - Can connect USB Mouse
    usb_host_msc - Can Connect USB pendrive.


    For differences between the OMAPL137 and OAMPl138, please refer to the data sheets.

    For starterware download, please visit:

  • thanks Shankari,can we load the .out file of omapl138 and run to get the output or do we need to do any modification in the code.....?

    thank you.
  • Hi Mohammad,

    For OMAPL137, there is no sample source for USB.
    You can refer to the OMAPL138 source and do porting for OMAP137.