<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use both USB (Host and device) on lpc1788 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-both-USB-Host-and-device-on-lpc1788/m-p/517625#M2281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rocketdawg on Tue Dec 01 08:12:32 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The LPC1788 is not capable of doing USB Host and USB Device at the same time because it has only one USB peripheral.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this peripheral can be programmed for Host or device, not Host and device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you may want to look at LPC1800 or LPC4300 series which have two USB peripherals, so one can be device AND the other can be Host.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:30:14 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:30:14Z</dc:date>
    <item>
      <title>How to use both USB (Host and device) on lpc1788</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-both-USB-Host-and-device-on-lpc1788/m-p/517624#M2280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gbg on Tue Dec 01 01:24:27 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to use both USB&amp;nbsp; (Host and device) on the LPC1788 device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USB_IRQHandler duplicate define in usbh_ohci_lpc177x_8x.c(for host) and usbd_user_hid.c(for device)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I combine them? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:30:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-both-USB-Host-and-device-on-lpc1788/m-p/517624#M2280</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to use both USB (Host and device) on lpc1788</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-both-USB-Host-and-device-on-lpc1788/m-p/517625#M2281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rocketdawg on Tue Dec 01 08:12:32 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The LPC1788 is not capable of doing USB Host and USB Device at the same time because it has only one USB peripheral.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this peripheral can be programmed for Host or device, not Host and device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you may want to look at LPC1800 or LPC4300 series which have two USB peripherals, so one can be device AND the other can be Host.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:30:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-both-USB-Host-and-device-on-lpc1788/m-p/517625#M2281</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to use both USB (Host and device) on lpc1788</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-both-USB-Host-and-device-on-lpc1788/m-p/517626#M2282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Tue Dec 01 23:36:11 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: rocketdawg&lt;/STRONG&gt;&lt;BR /&gt;The LPC1788 is not capable of doing USB Host and USB Device at the same time because it has only one USB peripheral.&lt;BR /&gt;this peripheral can be programmed for Host or device, not Host and device.&lt;BR /&gt;you may want to look at LPC1800 or LPC4300 series which have two USB peripherals, so one can be device AND the other can be Host.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is simply not true.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(There may be a restriction on the 144 pin part, we have the QFP 208.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The 1778/1788 does have two USB channels (and pins)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the UM&amp;nbsp; (Rev 3.1 September 2014) look at the first entry in table 315, chapter 14.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know this the OTG chapter, but the PORT_FUNC settings are valid for device and/or host.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Mike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for your question: rename one of them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Use the 'refactor' feature of the IDE editor perhaps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not edit via the IDE so I don't know exactly how this works, but I saw it in one of the (long) training videos on the NXP site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(When it was still Code Red!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:30:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-both-USB-Host-and-device-on-lpc1788/m-p/517626#M2282</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use both USB (Host and device) on lpc1788</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-both-USB-Host-and-device-on-lpc1788/m-p/517627#M2283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gbg on Wed Dec 02 03:13:41 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;sorry but I think your wrong because LPC1788 have two ports and they support OTG. theese two ports have the same interupt.. Can I seprate their interupt or read the USB register status to know the host interupt happen or devise? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:30:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-both-USB-Host-and-device-on-lpc1788/m-p/517627#M2283</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use both USB (Host and device) on lpc1788</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-both-USB-Host-and-device-on-lpc1788/m-p/517628#M2284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rocketdawg on Wed Dec 02 07:46:45 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I may very well be wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at UM10470 section 14.7.1 and it does show U1 as OTG and U2 as host, and 14.7.3 shows another configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I became confused as there is only one USB peripheral.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would look at the LPCOpen samples to see how to control the peripheral, if such sample code exists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:30:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-both-USB-Host-and-device-on-lpc1788/m-p/517628#M2284</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to use both USB (Host and device) on lpc1788</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-both-USB-Host-and-device-on-lpc1788/m-p/517629#M2285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gbg on Tue Dec 08 22:36:45 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I use Kiel 4.7.4 with RL library (for MMC,USB,Network)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think RL library does not work well&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You have the experience of using the library?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:30:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-both-USB-Host-and-device-on-lpc1788/m-p/517629#M2285</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:30:17Z</dc:date>
    </item>
  </channel>
</rss>

