<?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 use USB in LPC1766</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-use-USB-in-LPC1766/m-p/521678#M4316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Linas on Fri Feb 08 08:01:28 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you mean program via USB? Rewrite main program?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to connect your device to PC. Then you should use Device drivers for your LPC. There are examples &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with USB bootloader.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to connect something to your USB (LPC1766), then you will need to set LPC1766 as USB Host. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, switching between Host and device mode is possible. There should be pin on the MCU, which could be controlled&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with external switch (switch between Host and Device mode).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Linas&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:51:59 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:51:59Z</dc:date>
    <item>
      <title>how to use USB in LPC1766</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-use-USB-in-LPC1766/m-p/521677#M4315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by born4elex on Wed Jan 30 09:42:55 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am beginner to LPC1766 device family. Currently I am working on project in which I need following USB related tasks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I want to program it via a USB port.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I want to send some information to host PC using a software running on PC with same usb port.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. i also want to connect a barcode reader to my system on same usb port.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all i want to know that is this technically possible ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if yes then which mode Device/Host/OTG works for me ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help would be appreciable. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:51:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-use-USB-in-LPC1766/m-p/521677#M4315</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to use USB in LPC1766</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-use-USB-in-LPC1766/m-p/521678#M4316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Linas on Fri Feb 08 08:01:28 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you mean program via USB? Rewrite main program?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to connect your device to PC. Then you should use Device drivers for your LPC. There are examples &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with USB bootloader.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to connect something to your USB (LPC1766), then you will need to set LPC1766 as USB Host. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, switching between Host and device mode is possible. There should be pin on the MCU, which could be controlled&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with external switch (switch between Host and Device mode).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Linas&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:51:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-use-USB-in-LPC1766/m-p/521678#M4316</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:51:59Z</dc:date>
    </item>
  </channel>
</rss>

