1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

USB OTG host to host communication

Discussion in 'Embedded' started by Mark Piffer, Mar 11, 2011.

  1. Mark Piffer

    Mark Piffer Guest

    Hi c.a.e,
    I was asked to implement a bidirectional communication via USB (on an
    AVR32, which is OTG capable) between two identical devices. After some
    time of searching I couldn't even come up with a definitive answer if
    this is possible at all. Effectively this connection should work like
    a RS232, i.e. when you connect the two devices with a cable they
    should start talking to each other without an exterior trigger just by
    sensing that there is a device on the other end. While I found the HNP
    (host negotiation protocol) for OTG stacks, it remains unclear to me
    if this works with symmetrical devices. Is it possible to switch the
    stacks from device to host mode forth and back in a random pattern so
    that finally the two can connect or is this even solved by the
    protocol itself? I didn't find anything about two hosts competing for
    the host role. Can anyone please enlighten me?

    Mark Piffer, Mar 11, 2011
    1. Advertisements

  2. Mark Piffer

    srl100 Guest

    Hi c.a.e,
    Do a search for ID-pin on http://en.wikipedia.org/wiki/USB_On-The-Go

    This pin tells the OTG node whether it is acting as a host or device.
    srl100, Mar 11, 2011
    1. Advertisements

  3. Mark Piffer

    J.A. Legris Guest

    J.A. Legris, Mar 12, 2011
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.