<?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 Re: Migrating from LPC11U68 to LPC54114: What's different with USB? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-from-LPC11U68-to-LPC54114-What-s-different-with-USB/m-p/1736058#M54319</link>
    <description>&lt;P&gt;Thanks for the response. It turns out that our board is using the other VUSB pin. After modifying the code to use Pin 1.11, the firmware works and I can use the USB device.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Oct 2023 21:38:51 GMT</pubDate>
    <dc:creator>dean_sands</dc:creator>
    <dc:date>2023-10-09T21:38:51Z</dc:date>
    <item>
      <title>Migrating from LPC11U68 to LPC54114: What's different with USB?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-from-LPC11U68-to-LPC54114-What-s-different-with-USB/m-p/1734364#M54272</link>
      <description>&lt;P&gt;I'm porting our existing code from the LPC11U68 to the LPC54114.&lt;/P&gt;&lt;P&gt;Here's what I have so so far:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Changed the ROM ptr to 0x03000200 so USBD_API will work.&lt;/LI&gt;&lt;LI&gt;Enabled the VBUS&lt;/LI&gt;&lt;LI&gt;Setup the USB parameters and descriptors&lt;/LI&gt;&lt;LI&gt;Initialized via &lt;STRONG&gt;USBD_API-&amp;gt;hw-&amp;gt;init()&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Setup the CDC parameters and descriptors&lt;/LI&gt;&lt;LI&gt;Initialized via &lt;STRONG&gt;USBD_API-&amp;gt;cdc-&amp;gt;init()&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Enabled the USB IRQ via NVIC_Enable&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It's not working yet, and I don't know why.&lt;/P&gt;&lt;P&gt;Two things I noticed after my coworker took back the board is that I wasn't setting the USB IRQ priority and that &lt;STRONG&gt;USB_IRQHandler()&lt;/STRONG&gt; changed to &lt;STRONG&gt;USB0_IRQHandler()&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I'll try it again when I'm set back up.&lt;/P&gt;&lt;P&gt;Update: Still not working, but I've also disabled the power-down with POWER_DisablePD().&lt;/P&gt;&lt;P&gt;I'm working through the &lt;STRONG&gt;lpcxpresso54114_rom_dev_cdc_bm&lt;/STRONG&gt; example and it's way easier to understand than the weight scale example I started with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 14:49:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-from-LPC11U68-to-LPC54114-What-s-different-with-USB/m-p/1734364#M54272</guid>
      <dc:creator>dean_sands</dc:creator>
      <dc:date>2023-10-06T14:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from LPC11U68 to LPC54114: What's different with USB?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-from-LPC11U68-to-LPC54114-What-s-different-with-USB/m-p/1735560#M54305</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If you want to usb port for LPC54114, you have to enable the usb clock.&lt;/P&gt;
&lt;P&gt;1)pls use the code to enable usb clock&lt;/P&gt;
&lt;P&gt;SYSCON-&amp;gt;AHBCLKCTRL1|=1&amp;lt;&amp;lt;25;&lt;/P&gt;
&lt;P&gt;2)you have to set up the USB clock to be 48Mhz before you call the usb code in ROM&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1696836071084.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/244053iEA134BF334B7AA48/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1696836071084.png" alt="xiangjun_rong_0-1696836071084.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pls have a check.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 07:21:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-from-LPC11U68-to-LPC54114-What-s-different-with-USB/m-p/1735560#M54305</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-10-09T07:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from LPC11U68 to LPC54114: What's different with USB?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-from-LPC11U68-to-LPC54114-What-s-different-with-USB/m-p/1736058#M54319</link>
      <description>&lt;P&gt;Thanks for the response. It turns out that our board is using the other VUSB pin. After modifying the code to use Pin 1.11, the firmware works and I can use the USB device.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 21:38:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Migrating-from-LPC11U68-to-LPC54114-What-s-different-with-USB/m-p/1736058#M54319</guid>
      <dc:creator>dean_sands</dc:creator>
      <dc:date>2023-10-09T21:38:51Z</dc:date>
    </item>
  </channel>
</rss>

