<?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: BOARD_InitLEDSPins() isn't being called in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/BOARD-InitLEDSPins-isn-t-being-called/m-p/1559742#M50835</link>
    <description>&lt;P&gt;Oh!&amp;nbsp; That's new to me, but that's just the thing.&amp;nbsp; Thanks, Erich!&lt;/P&gt;</description>
    <pubDate>Fri, 25 Nov 2022 05:21:38 GMT</pubDate>
    <dc:creator>aaronm</dc:creator>
    <dc:date>2022-11-25T05:21:38Z</dc:date>
    <item>
      <title>BOARD_InitLEDSPins() isn't being called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/BOARD-InitLEDSPins-isn-t-being-called/m-p/1558680#M50812</link>
      <description>&lt;P&gt;I'm using:&lt;/P&gt;&lt;P&gt;MCUXpresso v11.6.1&lt;/P&gt;&lt;P&gt;SDK_2.x_LPC810 version 2.9.0&lt;/P&gt;&lt;P class=""&gt;LPC812M101JDH20J&lt;/P&gt;&lt;P&gt;And after creating a simple "blinky" project, I used a 'scope to watch the pins go up and down as expected.&amp;nbsp; However, they didn't.&amp;nbsp; I loaded a binary that I knew worked to confirm the chip itself is working, and that made the pins go up and down, so I know it's not the chip.&amp;nbsp; I traced it down to BOARD_InitBootPins() in pin_mux.c and found that it's not calling BOARD_InitLEDsPins() which initializes the hardware for output.&amp;nbsp; When I updated the function manually to call InitLEDs, it works.&amp;nbsp; My question is: why isn't BOARD_InitLEDsPins() called automatically by the SDK?&amp;nbsp; Shouldn't the "Pins" portion of the IDE add that when triggered?&amp;nbsp; Yes, I selected "Update Code."&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 15:27:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/BOARD-InitLEDSPins-isn-t-being-called/m-p/1558680#M50812</guid>
      <dc:creator>aaronm</dc:creator>
      <dc:date>2022-11-23T15:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: BOARD_InitLEDSPins() isn't being called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/BOARD-InitLEDSPins-isn-t-being-called/m-p/1559003#M50817</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I review the example in the SDK but unfortunately, I cannot find the function you mentioned, even if I add another GPIO, could you update your SDK, please?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_0-1669254909096.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201531i3C9334D1D4DF2C79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pavel_Hernandez_0-1669254909096.png" alt="Pavel_Hernandez_0-1669254909096.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 01:55:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/BOARD-InitLEDSPins-isn-t-being-called/m-p/1559003#M50817</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2022-11-24T01:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: BOARD_InitLEDSPins() isn't being called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/BOARD-InitLEDSPins-isn-t-being-called/m-p/1559116#M50819</link>
      <description>&lt;P&gt;Hey, Pavel, I'm not using a development board: I'm using an individual chip.&amp;nbsp; And for that particular chip, here's the SDK builder page, which it shows stops at v2.9.0.&amp;nbsp; Am I missing something?&amp;nbsp; Thanks, Aaron&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-11-24 at 12.18.20 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201552iFA3F9DF214B146B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-11-24 at 12.18.20 AM.png" alt="Screen Shot 2022-11-24 at 12.18.20 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 05:25:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/BOARD-InitLEDSPins-isn-t-being-called/m-p/1559116#M50819</guid>
      <dc:creator>aaronm</dc:creator>
      <dc:date>2022-11-24T05:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: BOARD_InitLEDSPins() isn't being called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/BOARD-InitLEDSPins-isn-t-being-called/m-p/1559616#M50830</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for being clear, I downloaded the same SDK and do the test, and have the same result as you mentioned, I will do a report on the Config Tool.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 00:51:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/BOARD-InitLEDSPins-isn-t-being-called/m-p/1559616#M50830</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2022-11-25T00:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: BOARD_InitLEDSPins() isn't being called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/BOARD-InitLEDSPins-isn-t-being-called/m-p/1559732#M50834</link>
      <description>&lt;P&gt;Just my 1 cent on this:&lt;/P&gt;&lt;P&gt;to my understanding, it calls board specific things like LEDs/Sensors only if the SDK/Config tools knows it is a board with known components. If you use just a device or chip without SDK for a specific board, it won't call things like initializing the LEDs, because it is unknown if they exist.&lt;/P&gt;&lt;P&gt;Instead manually calling it, you have to enable it here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErichStyger_0-1669351619751.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201704i48B312B51DACEE02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ErichStyger_0-1669351619751.png" alt="ErichStyger_0-1669351619751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 04:47:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/BOARD-InitLEDSPins-isn-t-being-called/m-p/1559732#M50834</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-11-25T04:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: BOARD_InitLEDSPins() isn't being called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/BOARD-InitLEDSPins-isn-t-being-called/m-p/1559742#M50835</link>
      <description>&lt;P&gt;Oh!&amp;nbsp; That's new to me, but that's just the thing.&amp;nbsp; Thanks, Erich!&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 05:21:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/BOARD-InitLEDSPins-isn-t-being-called/m-p/1559742#M50835</guid>
      <dc:creator>aaronm</dc:creator>
      <dc:date>2022-11-25T05:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: BOARD_InitLEDSPins() isn't being called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/BOARD-InitLEDSPins-isn-t-being-called/m-p/1559763#M50836</link>
      <description>&lt;P&gt;Yes, NXP changed that some time ago, and I was not aware of it too, so got trapped by it.&lt;/P&gt;&lt;P&gt;Previously, the 'only device no board' SDK came without any pre-pin assignments and even without examples. Now it they come with the examples (which is a good thing!) but as well with 'board pin assignments' which can be confusing. As for myself, the first thing I do if I create a project for my own board, I get rid of all the pre-pin muxing/assignements, as they only clutter my projects, as my boards are different anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 06:24:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/BOARD-InitLEDSPins-isn-t-being-called/m-p/1559763#M50836</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-11-25T06:24:35Z</dc:date>
    </item>
  </channel>
</rss>

