<?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: LPC54S018M USB1_LEDN not working in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018M-USB1-LEDN-not-working/m-p/1277777#M45029</link>
    <description>&lt;P&gt;any help?&lt;/P&gt;</description>
    <pubDate>Mon, 17 May 2021 20:41:58 GMT</pubDate>
    <dc:creator>belmontbob59</dc:creator>
    <dc:date>2021-05-17T20:41:58Z</dc:date>
    <item>
      <title>LPC54S018M USB1_LEDN not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018M-USB1-LEDN-not-working/m-p/1273806#M44937</link>
      <description>&lt;P&gt;UM11155 manual defines the below pins available for&amp;nbsp; USB1 HS Device function to indicate USB1 configured LED indicator&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="belmontbob59_0-1620405194643.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144229i5988A649C8308531/image-size/large?v=v2&amp;amp;px=999" role="button" title="belmontbob59_0-1620405194643.png" alt="belmontbob59_0-1620405194643.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Per manual:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="belmontbob59_5-1620406552300.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144235i1851051C6472F094/image-size/large?v=v2&amp;amp;px=999" role="button" title="belmontbob59_5-1620406552300.png" alt="belmontbob59_5-1620406552300.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I configure PIO4_10 per below before initializing USB1 HS&amp;nbsp; Device function.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="belmontbob59_1-1620405481424.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144230i00A2B898ECCE0E5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="belmontbob59_1-1620405481424.png" alt="belmontbob59_1-1620405481424.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is the wiring for the LED itself:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NXP LED.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144231iB7E9681920DC8AE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="NXP LED.PNG" alt="NXP LED.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My board is communicating fine with the host via USB1 but the USB1_LEDN remains OFF, I can confirm&amp;nbsp; that&amp;nbsp;the LED itself works because if I configure PIO4_10 as a GPIO and set the pin LOW then the LED turns ON.&lt;/P&gt;&lt;P&gt;What am I missing ? How should I configure PIO4_10 with Function 4 to get it to work with USB1 HS ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried switching form MODE_INACT to MODE_PULLDOWN and it did not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 17:00:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018M-USB1-LEDN-not-working/m-p/1273806#M44937</guid>
      <dc:creator>belmontbob59</dc:creator>
      <dc:date>2021-05-07T17:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54S018M USB1_LEDN not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018M-USB1-LEDN-not-working/m-p/1274014#M44944</link>
      <description>&lt;P&gt;Hi, Bob&lt;/P&gt;
&lt;P&gt;Pls enable the IOCON gated clock with the line before the IOCON_PinMuxSet().&lt;/P&gt;
&lt;P&gt;CLOCK_EnableClock(kCLOCK_Iocon);&lt;/P&gt;
&lt;P&gt;Pls have a try.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Xiangjun rong&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 09:35:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018M-USB1-LEDN-not-working/m-p/1274014#M44944</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-05-08T09:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54S018M USB1_LEDN not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018M-USB1-LEDN-not-working/m-p/1274583#M44956</link>
      <description>&lt;P&gt;My code already enables&amp;nbsp;&lt;SPAN&gt;IOCON gated clock in pin_mux,c before setting the function for the pin. this is not the reason for failure. please advise.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 16:22:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018M-USB1-LEDN-not-working/m-p/1274583#M44956</guid>
      <dc:creator>belmontbob59</dc:creator>
      <dc:date>2021-05-10T16:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54S018M USB1_LEDN not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018M-USB1-LEDN-not-working/m-p/1277777#M45029</link>
      <description>&lt;P&gt;any help?&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 20:41:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018M-USB1-LEDN-not-working/m-p/1277777#M45029</guid>
      <dc:creator>belmontbob59</dc:creator>
      <dc:date>2021-05-17T20:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54S018M USB1_LEDN not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018M-USB1-LEDN-not-working/m-p/1283599#M45183</link>
      <description>&lt;P&gt;any help?&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 16:09:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018M-USB1-LEDN-not-working/m-p/1283599#M45183</guid>
      <dc:creator>belmontbob59</dc:creator>
      <dc:date>2021-05-27T16:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54S018M USB1_LEDN not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018M-USB1-LEDN-not-working/m-p/1284058#M45205</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have not found out there is any register to enable the function.&lt;/P&gt;
&lt;P&gt;I will ask AE team, and give you a reply after I get it.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 09:18:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018M-USB1-LEDN-not-working/m-p/1284058#M45205</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-05-28T09:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54S018M USB1_LEDN not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018M-USB1-LEDN-not-working/m-p/1285125#M45244</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I copy the answer from the thread.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/USB-0-1-LEDN-LED-indicator-not-working/td-p/907458" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/USB-0-1-LEDN-LED-indicator-not-working/td-p/907458&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;After checking with the design team, they have confirmed that these pins have an optional configuration for USB led indicators, but were not implemented in the LPC54018M. This is the reason why they are not responsive when configuring them as the USB LED indicators.&lt;/P&gt;
&lt;P&gt;In this case you will need to manually set the leds using GPIO in order to detech when a USB device is connected or disconnected in your application.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 06:49:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018M-USB1-LEDN-not-working/m-p/1285125#M45244</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-06-01T06:49:44Z</dc:date>
    </item>
  </channel>
</rss>

