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.

control USB OTG in peripheral mode

Dear experts,

Can anyone tell me that how to control the USB OTG of  OMAP3530 evm at peripheral mode,I want the OMAP3530 to act as device when i connect it to PC, and when i connect it to another EVM should be used for serial communication.

Thanks.

Ashwini

  • Please refer to the following forum post.  I think it will answer you question.

     

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/p/62042/224590.aspx#224590

     

     

    Regards,

    Paul

  • Thanks,

    I found good information in the link mentioned by you,With respect to the statement in the link,

    Steve's previous post recommended a USB cable with a Mini-A connector when operating the USB OTG port in host mode.  This cable connects the ID pin in the USB connector to ground which tells the USB controller in the OMAP3530 to operate in host mode. 

    When operating in peripheral mode the ID pin should be open-circuit.  This tells the USB controller to operate in peripheral mode.  So when you are connecting the USB OTG port to a PC you should be using a Mini-B connector which does not connect the ID pin to ground.  "

    I checked with the mini-B type connector, it was not getting detected as device with PC.

    (My kernel verision - 2.6.29)

    I am newbie, i may not be know some basics, plz clarify what to do.

    Where from i can get more details about the following

    "   The Ethernet gadget driver connects the EVM to a PC over a network-like interface. Standard network software works.

    The File-backed storage gadget driver connects the EVM to a PC as a storage device. The EVM appears to the PC as a removable drive.

    The Serial gadget driver connects the EVM to a PC as a serial device.  "

    Regards,

    Ashwini