<?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>LPC Microcontrollers中的主题 LPC55x: Do you offer examples for custom class USB</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1023858#M39964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a future application, we need to have USB high speed interface with LPC55S69 or equivalent chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We could not find any example in the SDK. Can you provide any information that points us in the right direction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Do you offer any example for using a custom, user defined class to work with Win USB&lt;/LI&gt;&lt;LI&gt;Do you provide examples for Mac / Linux?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2020 13:24:39 GMT</pubDate>
    <dc:creator>i_kamal</dc:creator>
    <dc:date>2020-03-26T13:24:39Z</dc:date>
    <item>
      <title>LPC55x: Do you offer examples for custom class USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1023858#M39964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a future application, we need to have USB high speed interface with LPC55S69 or equivalent chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We could not find any example in the SDK. Can you provide any information that points us in the right direction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Do you offer any example for using a custom, user defined class to work with Win USB&lt;/LI&gt;&lt;LI&gt;Do you provide examples for Mac / Linux?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 13:24:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1023858#M39964</guid>
      <dc:creator>i_kamal</dc:creator>
      <dc:date>2020-03-26T13:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55x: Do you offer examples for custom class USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1023859#M39965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hello ,&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hope you are doing well.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;The SDK has several examples using the USB. There are plenty to get you started using as a device or host.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/96196i50AE3103F91C5200/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;For the questions regarding the signed drivers:&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/357509"&gt;https://community.nxp.com/thread/357509&lt;/A&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;The SDK can be downloaded for Linux/MACOS. This needs to be selected when building the SDK on our &lt;A href="https://mcuxpresso.nxp.com/"&gt;website&lt;/A&gt;.&lt;/P&gt;&lt;P style="margin: 0in;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/96377i632397899E45CE5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Best Regards,&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Sabina&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 19:46:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1023859#M39965</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-03-30T19:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55x: Do you offer examples for custom class USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1023860#M39966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sabina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since my last post, I have made a lot of advance, but I have new - more precise - questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to implement my custom user defined (vendor specific) class and i intent to send/receive data using libusb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;What I have done so far:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I started from the dev_cdc_acm_vcom example (bare metal)&lt;/LI&gt;&lt;LI&gt;I modified PID/VID to use my WinUSB driver, and changed class to 0xFF (vendor specific)&lt;/LI&gt;&lt;LI&gt;I have written a small C++ software on host side, that can list, detect and open my USB device&lt;/LI&gt;&lt;LI&gt;I am *trying* to send 512 bytes of data via USB bulk transaction, from host PC to device.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Where i'm stuck:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;On the device side, each time a packet is recieved on the USB,&amp;nbsp;I follow the code from the USB1_IRQHander() all the way to&amp;nbsp;USB_DeviceLpcIp3511IsrFunction(), which then calls&amp;nbsp;USB_DeviceLpc3511IpInterruptToken(), which then calls&amp;nbsp;&lt;STRONG&gt;USB_DeviceLpc3511IpCancel()&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this last "cancel" function call is the problem. For some reason, it seems like endpoint is deactivated for some reason, or maybe I'm getting something totally wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you could point me in the right direction it would be very much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 20:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1023860#M39966</guid>
      <dc:creator>i_kamal</dc:creator>
      <dc:date>2020-03-30T20:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55x: Do you offer examples for custom class USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1023861#M39967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same question -- I want to add support for one of the standard USB classes that is not one of your examples.&lt;/P&gt;&lt;P&gt;Is there are document that describes the USB library?&lt;/P&gt;&lt;DIV class="wayback1996-RTmodal" style="display: none;"&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV style="display: none;"&gt;&lt;/DIV&gt;&lt;BUTTON class="wayback1996-RTclose"&gt;×&lt;/BUTTON&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2020 23:55:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1023861#M39967</guid>
      <dc:creator>devel</dc:creator>
      <dc:date>2020-03-31T23:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55x: Do you offer examples for custom class USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1023862#M39968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I was able to do what i want finally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was long, but doable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case i started with the dev_usb_cdc_acm_lite_bm SDK example, and started to read, simplify, rewrite things, compare with USB specification, and slowly it all made sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, i was able to reach 15MB/s on a user defined class using bulk transfert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2020 17:14:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1023862#M39968</guid>
      <dc:creator>i_kamal</dc:creator>
      <dc:date>2020-04-01T17:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55x: Do you offer examples for custom class USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1023863#M39969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I downloaded the documentation and ... it's not helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why can't this be simple? For handling enumeration, all we need to do is make one big structure that holds the descriptors, and the enumeration code can read it and send it. Then during operation, all that we need is a way to write data (for host IN transactions) on a given endpoint, and read data (for host OUT transactions) on a given endpoint, with a callback to say when data were written or read.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2020 23:52:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1023863#M39969</guid>
      <dc:creator>devel</dc:creator>
      <dc:date>2020-04-13T23:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55x: Do you offer examples for custom class USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1023864#M39970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andy,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd ask for you to please open a new thread concerning your question. So the information is easier to find for other customers that have a similar issue. In your new thread could you please specify the MCU you are using SDK and IDE version as well as how you are implementing your application so we can check it with detail.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2020 00:38:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1023864#M39970</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-04-15T00:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55x: Do you offer examples for custom class USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1423995#M48129</link>
      <description>&lt;P&gt;&amp;nbsp;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/73284"&gt;@i_kamal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;EM&gt;On the device side, each time a packet is recieved on the USB,&amp;nbsp;I follow the code from the USB1_IRQHander() all the way to&amp;nbsp;USB_DeviceLpcIp3511IsrFunction(), which then calls&amp;nbsp;USB_DeviceLpc3511IpInterruptToken(), which then calls&amp;nbsp;&lt;STRONG&gt;USB_DeviceLpc3511IpCancel()&lt;/STRONG&gt;.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Based on your later comment on the thread, it seems that you were able to fix this issue. I'm working with the i.MX RT600, which uses the same IP3511 USB controller as the LPC 55x series and am encountering the same issue when trying to program the SoC as a vendor-specific USB device with multiple Bulk endpoints.&lt;/P&gt;&lt;P&gt;My device isn't successfully enumerated by the PC as&amp;nbsp;&lt;EM&gt;USB_DeviceLpc3511IpInterruptToken()&lt;/EM&gt; calls the&lt;EM&gt; IpCancel &lt;/EM&gt;function&lt;EM&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;What was the reason that you were able to find and how were you able to fix it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Ali.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 15:23:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-Do-you-offer-examples-for-custom-class-USB/m-p/1423995#M48129</guid>
      <dc:creator>alborgMB</dc:creator>
      <dc:date>2022-03-07T15:23:29Z</dc:date>
    </item>
  </channel>
</rss>

