<div dir="ltr">The high hurdle for USB host implementation is the firmware USB middleware. Some can get quite complicated. Some chip makers will supply the common ones. You can also buy them.<div><br></div><div>JJS</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 22, 2015 at 11:28 PM, Vladimir Pantelic <span dir="ltr"><<a href="mailto:vladoman@gmail.com" target="_blank">vladoman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 23.09.2015 08:10, Tim Ressel wrote:<br>
> HI-Dee Ho!<br>
><br>
> I need to design a usb interface that does both host and device, but not<br>
> at the same time. There will be an A and B connector on the front<br>
> panel. All of the procs I've looked at only have one USB interface.<br>
> I'm guessing the thing to do here is to use a USB switch. Anyone have<br>
> some insights?<br>
><br>
> Thanks!<br>
<br>
many CPU'S have a so called USB-OTG (on the go) interface that allows to<br>
switch roles between host and device.<br>
<br>
normally switching to host mode is done by inserting a cable that has<br>
the ID pin (the 5th pin on a USB mini/micro connector) grounded, but it<br>
can of course also be done under SW control.<br>
<br>
look at e.g. the STM32F105, it has a: "USB 2.0 full-speed<br>
device/host/OTG controller with on-chip PHY that supports HNP/SRP/ID"<br>
_______________________________________________<br>
Synth-diy mailing list<br>
<a href="mailto:Synth-diy@dropmix.xs4all.nl">Synth-diy@dropmix.xs4all.nl</a><br>
<a href="http://dropmix.xs4all.nl/mailman/listinfo/synth-diy" rel="noreferrer" target="_blank">http://dropmix.xs4all.nl/mailman/listinfo/synth-diy</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><p><span style="font-family:"Courier New"">John Speth,
Software Engineer, Avnera</span></p></div>
</div>