<?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: LPC1766  VID/PID read(usb host)</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1766-VID-PID-read-usb-host/m-p/665698#M26633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, mvp .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 May 2017 09:34:35 GMT</pubDate>
    <dc:creator>adriancojocari</dc:creator>
    <dc:date>2017-05-05T09:34:35Z</dc:date>
    <item>
      <title>LPC1766  VID/PID read(usb host)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1766-VID-PID-read-usb-host/m-p/665696#M26631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I`m new here, &amp;nbsp;can someone explain me( or show me a source code :smileygrin: )how should I set my LPC1766 as a host device and read vid /pid of usb&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I allready tried example from NXP, but it didn`t help very much :smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 15:09:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1766-VID-PID-read-usb-host/m-p/665696#M26631</guid>
      <dc:creator>adriancojocari</dc:creator>
      <dc:date>2017-05-03T15:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1766  VID/PID read(usb host)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1766-VID-PID-read-usb-host/m-p/665697#M26632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian Cojocari,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you want to use the LPC1766 USB host mode, you can use the USB Host controller, LPC1766 support the USB host mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; About the sample code, you can refer to the LPCopen code for LPC1769, the code can be downloaded from this link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_10_keil_iar_nxp_lpcxpresso_1769.zip" title="http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_10_keil_iar_nxp_lpcxpresso_1769.zip"&gt;http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_10_keil_iar_nxp_lpcxpresso_1769.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Open nxp_lpcxpresso_1769_lpcusblib_host_examples in folder: lpcopen_2_10_keil_iar_nxp_lpcxpresso_1769\applications\lpc17xx_40xx\iar_ewarm_projects\nxp_lpcxpresso_1769&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This code is the USB host example, you can refer to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; About the VID and PID, as you know, the VID and PID is defined in the device descriptor, so you just need to use USB_Host_GetDeviceDescriptor get the device decriptor, the VID is two bytes data in device_descriptor byte 8 and byte 9, PID is byte 10, byte 11.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Take a USB device as an example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17936iC1798CDD5A6675A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Fri, 05 May 2017 07:31:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1766-VID-PID-read-usb-host/m-p/665697#M26632</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-05-05T07:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1766  VID/PID read(usb host)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1766-VID-PID-read-usb-host/m-p/665698#M26633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, mvp .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 09:34:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1766-VID-PID-read-usb-host/m-p/665698#M26633</guid>
      <dc:creator>adriancojocari</dc:creator>
      <dc:date>2017-05-05T09:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1766  VID/PID read(usb host)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1766-VID-PID-read-usb-host/m-p/665699#M26634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian Cojocari,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You are welcome!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If your problem is solved, please help to mark the correct answer button to close this question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Fri, 05 May 2017 09:42:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1766-VID-PID-read-usb-host/m-p/665699#M26634</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-05-05T09:42:58Z</dc:date>
    </item>
  </channel>
</rss>

