<?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: LPC1788 USB Host in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-USB-Host/m-p/522460#M5096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by robekras on Mon Feb 17 08:07:23 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello e135193&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;lpcopen 1.03 contains USB examples for connecting HID (and some other devices).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lpcopen 2.07 doesn't contain the USB examples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately the current code examples for USB in lpcopen 1.03 supports only port 1 of the 17xx controllers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Although you have two ports (port 1 and port 2) but only one USB core.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That means you can only connect the mouse or the keyboard to port 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Some people are waiting for the new release which may hopefully support both ports, so you can connect mouse on one port and keyboard to the other.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I didn't have time to wait another two or six weeks for a new release which may (or may not) contain code which supports both USB ports, I tried to fix the code by myself. That have been some hours with a lot of typing, but fortunately with success.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The necessary changes are very simple, but nevertheless it's a lot of typing. Mostly you have to assign an additional parameter (portnumber) to most of the functions and extending some one dimensional arrays into two dimensional arrays.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it's really hard to understand why nxp didn't got it managed till today.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:56:42 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:56:42Z</dc:date>
    <item>
      <title>LPC1788 USB Host</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-USB-Host/m-p/522459#M5095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by e135193 on Sat Feb 15 13:58:28 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt; Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to add add a usb keyboard and mouse to my LPC1788 board. Is there any available code example ? Can "the USB Library of NXP" be useful for this work. This could be any other USB HID device which will be connected to LPC1788. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e135193&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:56:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-USB-Host/m-p/522459#M5095</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 USB Host</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-USB-Host/m-p/522460#M5096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by robekras on Mon Feb 17 08:07:23 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello e135193&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;lpcopen 1.03 contains USB examples for connecting HID (and some other devices).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lpcopen 2.07 doesn't contain the USB examples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately the current code examples for USB in lpcopen 1.03 supports only port 1 of the 17xx controllers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Although you have two ports (port 1 and port 2) but only one USB core.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That means you can only connect the mouse or the keyboard to port 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Some people are waiting for the new release which may hopefully support both ports, so you can connect mouse on one port and keyboard to the other.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I didn't have time to wait another two or six weeks for a new release which may (or may not) contain code which supports both USB ports, I tried to fix the code by myself. That have been some hours with a lot of typing, but fortunately with success.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The necessary changes are very simple, but nevertheless it's a lot of typing. Mostly you have to assign an additional parameter (portnumber) to most of the functions and extending some one dimensional arrays into two dimensional arrays.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it's really hard to understand why nxp didn't got it managed till today.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:56:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-USB-Host/m-p/522460#M5096</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 USB Host</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-USB-Host/m-p/522461#M5097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by e135193 on Sun Feb 23 06:01:14 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Robert&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for the replay with the solution. You said that you had managed to resolve the issue I have. Then, could you share the code you have so that I and other people may make use of it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e135193&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:56:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-USB-Host/m-p/522461#M5097</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:56:43Z</dc:date>
    </item>
  </channel>
</rss>

