<?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>topic USB for lpc1768 and LPC1769 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-for-lpc1768-and-LPC1769/m-p/1570803#M51038</link>
    <description>&lt;P&gt;There is an LPCOpen example for the LPC1769 xpresso board that has a usbd_lib_cdc.bin example.&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I though the USBD drivers were referring to internal ROM USB drivers. Does the lpc17xx have these? Am I mistaken about this? Does this example in fact work?&lt;/LI&gt;&lt;LI&gt;Is this interface the same for the LPC1768?&lt;/LI&gt;&lt;LI&gt;Is there anything special I need to do to compile the example for the LPC1768? I have changed the chip type in MCUxpresso IDE, but this did not work. The code runs but no USB connection occurs.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;In the example, the symbols core_api, hw_api, and cdc_api get magically populated (by some ROM object file). Are these symbol addresses documented anywhere? Is the ROM the same on the LPC1768 and LPC1769?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Really I am just trying to get a functional virtual com port up and running on an LPC1768, but I am having a lot of trouble. Any suggestions for a working example would be great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steve&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2022 23:15:27 GMT</pubDate>
    <dc:creator>LPC-confuso</dc:creator>
    <dc:date>2022-12-15T23:15:27Z</dc:date>
    <item>
      <title>USB for lpc1768 and LPC1769</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-for-lpc1768-and-LPC1769/m-p/1570803#M51038</link>
      <description>&lt;P&gt;There is an LPCOpen example for the LPC1769 xpresso board that has a usbd_lib_cdc.bin example.&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I though the USBD drivers were referring to internal ROM USB drivers. Does the lpc17xx have these? Am I mistaken about this? Does this example in fact work?&lt;/LI&gt;&lt;LI&gt;Is this interface the same for the LPC1768?&lt;/LI&gt;&lt;LI&gt;Is there anything special I need to do to compile the example for the LPC1768? I have changed the chip type in MCUxpresso IDE, but this did not work. The code runs but no USB connection occurs.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;In the example, the symbols core_api, hw_api, and cdc_api get magically populated (by some ROM object file). Are these symbol addresses documented anywhere? Is the ROM the same on the LPC1768 and LPC1769?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Really I am just trying to get a functional virtual com port up and running on an LPC1768, but I am having a lot of trouble. Any suggestions for a working example would be great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steve&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 23:15:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-for-lpc1768-and-LPC1769/m-p/1570803#M51038</guid>
      <dc:creator>LPC-confuso</dc:creator>
      <dc:date>2022-12-15T23:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: USB for lpc1768 and LPC1769</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-for-lpc1768-and-LPC1769/m-p/1571092#M51042</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210104"&gt;@LPC-confuso&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, LPC1769/lpc1768 have ROM USB driver. LPC1768 also can use it.&lt;/P&gt;
&lt;P&gt;The difference between the two chips is the MAX cpu frequency :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1671179403095.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204705iE734A41AE8FD2A9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1671179403095.png" alt="Alice_Yang_0-1671179403095.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 08:31:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-for-lpc1768-and-LPC1769/m-p/1571092#M51042</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-12-16T08:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: USB for lpc1768 and LPC1769</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-for-lpc1768-and-LPC1769/m-p/1571366#M51044</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;, thank you for your prompt reply.&lt;/P&gt;&lt;P&gt;The information that everything is the same except for the clock speed is helpful. It points to the fact that my issue is HW based and not SW based.&lt;/P&gt;&lt;P&gt;It is interesting that these parts contain the ROM drivers. This feature is not mentioned heavily in the LPC17xx user manual compared with the LPC15xx user manual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did get the LPC1769 LPCXpresso usbd_lib_cdc example to work on the LPC1768 LPCXpresso board. For future readers I will mention what I had to do so you don't need to go through the same pain I did.&lt;/P&gt;&lt;P&gt;1. using lpcopen 2.10 for the LPCXPresso LPC1769 board&lt;/P&gt;&lt;P&gt;2. import the following examples into MCUXpresso IDE: usbd_llib_cdc, lpc_chip_175x_6x, lpc_board_nxp_lpcxpresso_1769&lt;/P&gt;&lt;P&gt;3. add the following line to board.c line 365: "&amp;nbsp;\Chip_IOCON_PinMux(LPC_IOCON, 2, 9, IOCON_MODE_INACT, IOCON_FUNC1);"&lt;BR /&gt;&lt;BR /&gt;I am not sure why this works. The LPCXpresso LPC1769 board also uses the USB_CONNECT pin... But the change enables the USB_CONNECT functionality which will initiate a connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The last thing i will mention: in my initial post point 4, the symbols are populated by linking with "libusbd_175x_6x_lib.a"&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 19:09:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-for-lpc1768-and-LPC1769/m-p/1571366#M51044</guid>
      <dc:creator>LPC-confuso</dc:creator>
      <dc:date>2022-12-16T19:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: USB for lpc1768 and LPC1769</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-for-lpc1768-and-LPC1769/m-p/1571369#M51045</link>
      <description>&lt;P&gt;Also my target is the lpc1768 mbed, not the xpresso board...&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 19:36:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-for-lpc1768-and-LPC1769/m-p/1571369#M51045</guid>
      <dc:creator>LPC-confuso</dc:creator>
      <dc:date>2022-12-16T19:36:47Z</dc:date>
    </item>
  </channel>
</rss>

