<?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: Can LPC1837 ROM API handle two USB device instances? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1837-ROM-API-handle-two-USB-device-instances/m-p/524494#M7130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by chris_bayley_trimble on Wed Apr 15 16:45:59 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Got it:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;USBD_API_INIT_PARAM_T::mem_base must be 2048 byte aligned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;: )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:49:07 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:49:07Z</dc:date>
    <item>
      <title>Can LPC1837 ROM API handle two USB device instances?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1837-ROM-API-handle-two-USB-device-instances/m-p/524492#M7128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by busby on Tue Feb 10 05:52:27 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;For a long while, I have successfully used the USB device driver of the LPC1837 ROM to support a composite USB Audio 1.0/2.0 + HID device via my custom extensions.&amp;nbsp; Depending on the initialisation parameters, I can use either the USB 0 or USB 1 peripheral.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I now have a requirement to support USB device operation simultaneously on USB 0 AND USB 1 - i.e. two USB device instances.&amp;nbsp; Is it possible for the USB ROM driver to handle multiple instances?&amp;nbsp; If so, is it simply a case of calling "USBD_API-&amp;gt;hw-&amp;gt;Init" twice, passing it the appropriate parameters for each instance, then using the returned USBD_HANDLE_T for further access to each instance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:49:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1837-ROM-API-handle-two-USB-device-instances/m-p/524492#M7128</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can LPC1837 ROM API handle two USB device instances?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1837-ROM-API-handle-two-USB-device-instances/m-p/524493#M7129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by chris_bayley_trimble on Wed Apr 15 15:02:54 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;How are you going with this endeavour ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am attempting exactly the same thing and have code configured to initialise an instance of USBD on both USB0 and USB1 using different handles,memory etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Either instance works fine without the other initialised but when hw-&amp;gt;init is called on both then only the first initiialised port is functional. (doesn't matter which)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thoughts anyone ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:49:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1837-ROM-API-handle-two-USB-device-instances/m-p/524493#M7129</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can LPC1837 ROM API handle two USB device instances?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1837-ROM-API-handle-two-USB-device-instances/m-p/524494#M7130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by chris_bayley_trimble on Wed Apr 15 16:45:59 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Got it:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;USBD_API_INIT_PARAM_T::mem_base must be 2048 byte aligned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;: )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:49:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1837-ROM-API-handle-two-USB-device-instances/m-p/524494#M7130</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can LPC1837 ROM API handle two USB device instances?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1837-ROM-API-handle-two-USB-device-instances/m-p/524495#M7131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Richard Chen on Thu Apr 16 10:10:20 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Busby, is your device a HS device? Which evaluation board will you recommend if I want to use LPC4357 to implement a HS composite device like what you did?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:49:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-LPC1837-ROM-API-handle-two-USB-device-instances/m-p/524495#M7131</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:49:07Z</dc:date>
    </item>
  </channel>
</rss>

