<?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: LPC 2468 USB HOST CDC ACM</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-2468-USB-HOST-CDC-ACM/m-p/682524#M27462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already gone through both the USB Stack and their Applications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have used NXP Host Lite USB Stack to support CDC Drivers using its existing CTRLSend, CtrlRecv and ProcessTD Functions.&lt;/P&gt;&lt;P&gt;I crossed the paramters and data sent for SetLineCoding and SetControlLineState with these stacks and the one i used. All the data, format seems to be fine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could enumerate the device. But I get stuck while processing a &amp;nbsp;Control ACM Request for SetLineCoding or SetControlLine or GetControlLine. Any Control Request have dataLen = 0, gets executed. but for dataLen &amp;gt; 0, it is not accepting the request and my stack keeps on waiting for the Write Back Done Interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you suggest me any device which is easily available which supports CDC ACM? May be i need to change the device used and see if the issue is with my stack or with device driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing.. for CDC ACM Driver.. my device is having one CS-Interface Descriptor.&amp;nbsp;&lt;/P&gt;&lt;P&gt;One IN Interrupt Endpoint, One Bulk In Endpoint, One Bulk Out Endpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i need to send SetLineCoding or SetControlLine Request before sending or receiving data from my bulk Endpoints?&lt;/P&gt;&lt;P&gt;Do i need to do something with Halt or Stall Requests ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My CDC ACM Device supports only following requests - SetLineCoding, SetControlLine, GetLineCoding, Notfication SerialState.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jun 2017 04:16:16 GMT</pubDate>
    <dc:creator>deepakmadan</dc:creator>
    <dc:date>2017-06-13T04:16:16Z</dc:date>
    <item>
      <title>LPC 2468 USB HOST CDC ACM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-2468-USB-HOST-CDC-ACM/m-p/682522#M27460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;I am trying to connect a USB CDC ACM Device to my LPC2468 using Host on LPC. I am not able to get pass the CDC Stage for the Device.&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;The Device is USB2.0 Compliant and is using CDC ACM 1.1 with Class Specific interface.. and Bulk In , Bulk Out, Interrupt &amp;nbsp;Endpoint Descriptors.&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;My Host Controller detects the Device.&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;I Set the Configuration also after parsing all the Configuration Descriptors.&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;I have successfully sent CDC Set Control Line Request (Value: 0x00).&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;But while trying to Send CDC Set Line Encoding Request (my request fails).&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;Neither I am able to receive any data for CDC Get Line Encoding Request.&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;I also tried to read and send Data from Data Bulk In and Bulk Out Endpoints respectively. But I don't get any response or any data. Am i missing something??&amp;nbsp;&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;Below are the Commands which were processed successfully sent in the same Order:&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;Get Device Descriptor &lt;BR /&gt;Set Address 1 &lt;BR /&gt;Get Device Descriptor &lt;BR /&gt;Get Configuration Descriptor (Length - 8) &lt;BR /&gt;Get Configuration Descriptor (Length - 0x4B) &lt;BR /&gt;Set Configuration - 2 (2:: as Configuration Descriptor Mentioned Configuration Value - 2)&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;CDC Set Control Line Request (Value : 0x00, Interface : 0x00) (Class Type Request - Recipient Interface - Control Transfer)&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;The Following Command fails.&lt;/P&gt;&lt;P style="color: rgba(0, 0, 0, 0.85); background-color: #ffffff; margin: 6px 0px 0px;"&gt;CDC Set Line Encoding ( Value: 0x00, Interface: 0x00, Length: 0x07 ) (Data:: Baud Rate: 115200, charFormat: 0, Parity : 0, DataBits: 8)&lt;BR /&gt;(Class Type Request - Recipient Interface - Control Transfer) ----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Above Control Transfer: Setup Stage is Sent Successfully, But Data Out Stage is not Sent Successfully).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jun 2017 08:07:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-2468-USB-HOST-CDC-ACM/m-p/682522#M27460</guid>
      <dc:creator>deepakmadan</dc:creator>
      <dc:date>2017-06-10T08:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 2468 USB HOST CDC ACM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-2468-USB-HOST-CDC-ACM/m-p/682523#M27461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;You could take a look at the following links, that may provide some help:&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/417063"&gt;https://community.nxp.com/thread/417063&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.lpcware.com/content/forum/how-use-lpc4330-usb-cdc-host"&gt;https://www.lpcware.com/content/forum/how-use-lpc4330-usb-cdc-host&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.lpcware.com/nxpusblib/v0.94/group___group___u_s_b_class_c_d_c_host.html"&gt;http://docs.lpcware.com/nxpusblib/v0.94/group___group___u_s_b_class_c_d_c_host.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 00:59:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-2468-USB-HOST-CDC-ACM/m-p/682523#M27461</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2017-06-13T00:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 2468 USB HOST CDC ACM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-2468-USB-HOST-CDC-ACM/m-p/682524#M27462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already gone through both the USB Stack and their Applications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have used NXP Host Lite USB Stack to support CDC Drivers using its existing CTRLSend, CtrlRecv and ProcessTD Functions.&lt;/P&gt;&lt;P&gt;I crossed the paramters and data sent for SetLineCoding and SetControlLineState with these stacks and the one i used. All the data, format seems to be fine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could enumerate the device. But I get stuck while processing a &amp;nbsp;Control ACM Request for SetLineCoding or SetControlLine or GetControlLine. Any Control Request have dataLen = 0, gets executed. but for dataLen &amp;gt; 0, it is not accepting the request and my stack keeps on waiting for the Write Back Done Interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you suggest me any device which is easily available which supports CDC ACM? May be i need to change the device used and see if the issue is with my stack or with device driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing.. for CDC ACM Driver.. my device is having one CS-Interface Descriptor.&amp;nbsp;&lt;/P&gt;&lt;P&gt;One IN Interrupt Endpoint, One Bulk In Endpoint, One Bulk Out Endpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i need to send SetLineCoding or SetControlLine Request before sending or receiving data from my bulk Endpoints?&lt;/P&gt;&lt;P&gt;Do i need to do something with Halt or Stall Requests ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My CDC ACM Device supports only following requests - SetLineCoding, SetControlLine, GetLineCoding, Notfication SerialState.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 04:16:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-2468-USB-HOST-CDC-ACM/m-p/682524#M27462</guid>
      <dc:creator>deepakmadan</dc:creator>
      <dc:date>2017-06-13T04:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 2468 USB HOST CDC ACM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-2468-USB-HOST-CDC-ACM/m-p/682525#M27463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone share link for documentation of NXP USB Host Lite Stack.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck at sending or Receiving data from Bulk In and Bulk Out Endpoints.&lt;/P&gt;&lt;P&gt;However, I can read data from Notification In Interrupt Endpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bulk In and Bulk Out are returning Error code as 0x0F (which is the Completion Code we set while sending)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enumeration was completed successfully. I cross checked with the Device USB data Captured from Computer and i am doing the same thing.&lt;/P&gt;&lt;P&gt;Maybe i need to initialize something for the Endpoint headers or pointers?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 06:14:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-2468-USB-HOST-CDC-ACM/m-p/682525#M27463</guid>
      <dc:creator>deepakmadan</dc:creator>
      <dc:date>2017-06-15T06:14:33Z</dc:date>
    </item>
  </channel>
</rss>

