<?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中的主题 Re: How to USB host and Device Functionality with FreeRTOS in LPCXpresso54628 ,IDE MCUXpresso IDE ?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-USB-host-and-Device-Functionality-with-FreeRTOS-in/m-p/959584#M38017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/vinu.narayanan@ge.com"&gt;vinu.narayanan@ge.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately there isn't any guide to do this since this looks a little custom. But in the SDK (the 2.6 version is available now) there's a host and device examples for many clases. I don't know the device that you're using but as you mention the CDC class looks the most suitable. So I will suggest to use the following examples and try to merge it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-LPCXpresso54628_dev_cdc_vcom_freertos&lt;/P&gt;&lt;P&gt;-LPCXpresso54628_host_cdc_freertos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Aug 2019 13:34:15 GMT</pubDate>
    <dc:creator>Alexis_A</dc:creator>
    <dc:date>2019-08-23T13:34:15Z</dc:date>
    <item>
      <title>How to USB host and Device Functionality with FreeRTOS in LPCXpresso54628 ,IDE MCUXpresso IDE ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-USB-host-and-Device-Functionality-with-FreeRTOS-in/m-p/959583#M38016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to implement a USB data bypass using&amp;nbsp;OM13098: LPCXpresso54628 Development Board . The USB communication is happening as shown in the below image .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&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/88989iB63D7C956FF52DE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;My requirement is to implement a device to bypass the USB communication without any delay&amp;nbsp; , as shown in below image&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&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/89034i81CD634931C6CCC9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;I have implemented using beagle bone black and I feel it can be done using a controller like&amp;nbsp;&lt;SPAN&gt;OM13098 .&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;What are your&lt;/SPAN&gt; &lt;SPAN style="font-size: 16px;"&gt;thoughts&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;on this proposal ? It is possible using&amp;nbsp;&lt;SPAN&gt;OM13098&amp;nbsp; ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; "&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;I am new to NXP controller and&amp;nbsp;MCUXpresso IDE . I followed some&lt;/SPAN&gt; &lt;SPAN style="font-size: 16px;"&gt;quick&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;start guide an&lt;/SPAN&gt; &lt;SPAN style="font-size: 16px;"&gt;got&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;stuck at a point to add USB host and device drivers with RTOS .&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; "&gt;Step followed&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;1. Imported a FreeRTOS demo from SDK - Build was&lt;/SPAN&gt; &lt;SPAN style="font-size: 16px;"&gt;successful&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;2. Added USB Device&lt;/SPAN&gt; &lt;SPAN style="font-size: 16px;"&gt;middle ware&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;from SDK Management -&amp;gt; Manage SDK components -&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 16px;"&gt;Middle ware&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;_USB Device - Now the Build is failing&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; "&gt;Other Method Tried&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; "&gt;1. &lt;SPAN&gt;Imported&amp;nbsp;&lt;/SPAN&gt;a USB device project with RTOS -&amp;nbsp; Build was successful&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; "&gt;2. &lt;SPAN style="font-size: 12pt;"&gt;Added USB Host&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px;"&gt;middle ware&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;from SDK Management -&amp;gt; Manage SDK components -&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px;"&gt;Middle ware&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;_USB Device - Now the Build is failing&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; "&gt;Tried different combinations of above method and none is passing .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; "&gt;Can anyone help with any documents or a quick guide to create a Project in&amp;nbsp;&lt;SPAN&gt;MCUXpresso IDE with&amp;nbsp;&lt;/SPAN&gt; USB Host and Device drivers plus a FreeRTOS&amp;nbsp; . ?&amp;nbsp; As in my initial explanation my goal is to read data from host and place to device immediately . Will be playing with the data in between ,&amp;nbsp; thats why I need an RTOS also .&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2019 09:26:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-USB-host-and-Device-Functionality-with-FreeRTOS-in/m-p/959583#M38016</guid>
      <dc:creator>vinu_narayanan</dc:creator>
      <dc:date>2019-08-22T09:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to USB host and Device Functionality with FreeRTOS in LPCXpresso54628 ,IDE MCUXpresso IDE ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-USB-host-and-Device-Functionality-with-FreeRTOS-in/m-p/959584#M38017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/vinu.narayanan@ge.com"&gt;vinu.narayanan@ge.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately there isn't any guide to do this since this looks a little custom. But in the SDK (the 2.6 version is available now) there's a host and device examples for many clases. I don't know the device that you're using but as you mention the CDC class looks the most suitable. So I will suggest to use the following examples and try to merge it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-LPCXpresso54628_dev_cdc_vcom_freertos&lt;/P&gt;&lt;P&gt;-LPCXpresso54628_host_cdc_freertos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2019 13:34:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-USB-host-and-Device-Functionality-with-FreeRTOS-in/m-p/959584#M38017</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-08-23T13:34:15Z</dc:date>
    </item>
  </channel>
</rss>

