<?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: Problem with blue LED in own program with LPCXpresso V2 LPC1549</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526500#M9130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by capiman on Sat Nov 08 11:39:45 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for the quote! This makes it clear!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it is perhaps a good idea to reset all register of SWM at startup to default values (especially if not otherwise used)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to avoid wired errors...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have just done a quick search over the user manual, but correct me if I am wrong, SWM is the only peripheral with this behaviour.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:03:30 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:03:30Z</dc:date>
    <item>
      <title>Problem with blue LED in own program with LPCXpresso V2 LPC1549</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526493#M9123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by capiman on Sat Nov 08 09:39:38 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I just tried some first steps with KEIL uVision 5.12.0 to do some blinking LEDs on LPCXpresso V2 LPC1549.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After downloading CMSIS-DAP into debug controller (via DFUsec), I am able to download self written programs to LPC1549&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;via KEIL uVision (don't forget to switch from JTAG to SWD).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The red and green LEDs are blinking, the blue one stays off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The blue one is on port 1 instead of red and green one, which are on port 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there something special for port 1 or even PIO1_1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or some other silly bug, which I have overseen?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;int main (void) 
{
&amp;nbsp; LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL0 |= ((1UL &amp;lt;&amp;lt; 14) | (1UL &amp;lt;&amp;lt; 15));&amp;nbsp; /* enable clock for GPIO0 and GPIO1 port */

&amp;nbsp; /* configure GPIO as output */
&amp;nbsp; LPC_GPIO_PORT-&amp;gt;DIR[1]&amp;nbsp; |= (1UL &amp;lt;&amp;lt;&amp;nbsp; 1);
&amp;nbsp; LPC_GPIO_PORT-&amp;gt;DIR[0]&amp;nbsp; |= (1UL &amp;lt;&amp;lt;&amp;nbsp; 3);
&amp;nbsp; LPC_GPIO_PORT-&amp;gt;DIR[0]&amp;nbsp; |= (1UL &amp;lt;&amp;lt; 25);

&amp;nbsp; while(1)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; volatile unsigned long w;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_GPIO_PORT-&amp;gt;CLR[1]&amp;nbsp; = (1UL &amp;lt;&amp;lt;&amp;nbsp; 1);
&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_GPIO_PORT-&amp;gt;SET[0]&amp;nbsp; = (1UL &amp;lt;&amp;lt;&amp;nbsp; 3);
&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_GPIO_PORT-&amp;gt;SET[0]&amp;nbsp; = (1UL &amp;lt;&amp;lt; 25);
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; for(w = 0; w &amp;lt; 10000000; w++);

&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_GPIO_PORT-&amp;gt;SET[1]&amp;nbsp; = (1UL &amp;lt;&amp;lt;&amp;nbsp; 1);
&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_GPIO_PORT-&amp;gt;CLR[0]&amp;nbsp; = (1UL &amp;lt;&amp;lt;&amp;nbsp; 3);
&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_GPIO_PORT-&amp;gt;SET[0]&amp;nbsp; = (1UL &amp;lt;&amp;lt; 25);

&amp;nbsp;&amp;nbsp;&amp;nbsp; for(w = 0; w &amp;lt; 10000000; w++);

&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_GPIO_PORT-&amp;gt;SET[1]&amp;nbsp; = (1UL &amp;lt;&amp;lt;&amp;nbsp; 1);
&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_GPIO_PORT-&amp;gt;SET[0]&amp;nbsp; = (1UL &amp;lt;&amp;lt;&amp;nbsp; 3);
&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_GPIO_PORT-&amp;gt;CLR[0]&amp;nbsp; = (1UL &amp;lt;&amp;lt; 25);

&amp;nbsp;&amp;nbsp;&amp;nbsp; for(w = 0; w &amp;lt; 10000000; w++);
&amp;nbsp; }
}
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:03:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526493#M9123</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with blue LED in own program with LPCXpresso V2 LPC1549</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526494#M9124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Sat Nov 08 09:51:35 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: capiman&lt;/STRONG&gt;&lt;BR /&gt;Or some other silly bug, which I have overseen?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;See: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Flpc1549-periphgpio-example-rgb-led-pin-mapping-wrong" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/forum/lpc1549-periphgpio-example-rgb-led-pin-mapping-wrong&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:03:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526494#M9124</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with blue LED in own program with LPCXpresso V2 LPC1549</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526495#M9125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by capiman on Sat Nov 08 10:15:34 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for the link!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it looks like I have already the right port pins: P1.1 (blue), P0.3 (green), P0.25 (red).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the port numbers from schematic, not silk screen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My board has a printing "Rev B" on the bottom of the board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:03:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526495#M9125</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with blue LED in own program with LPCXpresso V2 LPC1549</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526496#M9126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by capiman on Sat Nov 08 10:20:32 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Mmh, mmh, now it works, without me changing something...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(perpaps I have re-powered the device...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I really don't know, but it seems to work, even after flashing, debugging, re-power again, ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:03:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526496#M9126</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with blue LED in own program with LPCXpresso V2 LPC1549</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526497#M9127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by capiman on Sat Nov 08 11:12:42 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, I am now able to reproduce the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I remembered that I loaded a project before which was for a KEIL MCB1500 board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is the blinky delivered with MCB1500.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I download this program (via uVison -&amp;gt; Flash -&amp;gt; Download, it is for internal FLASH) and let it run,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;afterwards load my own project (which is based on the original blinky, but then only the code above in main, all other commented out),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then only red and green LEDs are blinking, blue LED stays off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, when I press the reset button (SW4), blue LED stays still off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, when I power-cycle, it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now 3 questions come to my mind:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) It looks like original blinky is doing something which prevents my blue LED to work. This is try to find afterwards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It uses ADC, I saw PIO1_1 is also an analog port, perhaps original blinky configures the PIO1_1 to work as an analog port?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It also has some LCD routine inside, but can't think why it shall be a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) When downloading via KEIL uVision 5.12.0 to flash, letting it run, loading a new project (my blinky) and let it run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there no reset during download? Or is there a reset, but a certain register is not reset?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) When I press the reset switch, which I checked in schematic to be going to nReset/PIO0_21 of LPC1549 (not just to debug controller or so),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;why does it not reset all registers to some default value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: Already checked errata, seem to be nothing written, which could be a hint for this case...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:03:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526497#M9127</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with blue LED in own program with LPCXpresso V2 LPC1549</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526498#M9128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by capiman on Sat Nov 08 11:27:40 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Details for (1):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is this code in original blinky for MCB1500 which makes problems:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;&amp;nbsp; /* configure PIN P1.1 for ADC1 */
&amp;nbsp; LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL0 |= ((1UL &amp;lt;&amp;lt; 15) |&amp;nbsp; /* enable clock for GPIO1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1UL &amp;lt;&amp;lt; 12)&amp;nbsp; );/* enable clock for SWM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */

&amp;nbsp; LPC_SWM-&amp;gt;PINENABLE0&amp;nbsp;&amp;nbsp; &amp;amp;= ~(1UL &amp;lt;&amp;lt; 12);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* P1.1 is ADC1_0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I add the following code to my code, it works (all 3 LEDs can be controlled and are blinking):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;&amp;nbsp; LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL0 |= ((1UL &amp;lt;&amp;lt; 15) |&amp;nbsp; /* enable clock for GPIO1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1UL &amp;lt;&amp;lt; 12)&amp;nbsp; );/* enable clock for SWM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */

&amp;nbsp; LPC_SWM-&amp;gt;PINENABLE0 = 0xFFFFFFFF;
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I let the debugger print the content of PINENABLE0 (then with setting it back to 0xFFFFFFFF) and it has a value of 0xFFFF[color=#f00]E[/color]FFF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is exactly the value which was set by other project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, I think I must stop here. All other things must be clarified by NXP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:03:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526498#M9128</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with blue LED in own program with LPCXpresso V2 LPC1549</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526499#M9129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Sat Nov 08 11:29:12 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Working with SWM and Reset can be confusing:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UM:&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Chapter 8: LPC15xx Switch Matrix (SWM)&lt;BR /&gt;8.3 Basic configuration:&lt;BR /&gt;...&lt;BR /&gt;Remark: [color=#f00]The switch matrix is only reset by a POR or BOD reset.[/color] A hardware reset via the&lt;BR /&gt;RESET pin or a watchdog timer reset do not reset the switch matrix. Therefore, peripheral&lt;BR /&gt;functions remain connected to pins through the hardware or watchdog reset and the pins&lt;BR /&gt;remain input or output as defined by the switch matrix and assume the default state as&lt;BR /&gt;defined by the peripheral connected to them. See also Section 3.7.1.&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:03:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526499#M9129</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with blue LED in own program with LPCXpresso V2 LPC1549</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526500#M9130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by capiman on Sat Nov 08 11:39:45 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for the quote! This makes it clear!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it is perhaps a good idea to reset all register of SWM at startup to default values (especially if not otherwise used)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to avoid wired errors...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have just done a quick search over the user manual, but correct me if I am wrong, SWM is the only peripheral with this behaviour.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:03:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526500#M9130</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with blue LED in own program with LPCXpresso V2 LPC1549</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526501#M9131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Sat Nov 08 12:03:17 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: capiman&lt;/STRONG&gt;&lt;BR /&gt;So it is perhaps a good idea to reset all register of SWM at startup to default values...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IOCON setup table in board_sysinit.c of your board library is a good option to set your board defaults... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: capiman&lt;/STRONG&gt;&lt;BR /&gt;SWM is the only peripheral with this behaviour.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes&amp;nbsp; :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:03:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-blue-LED-in-own-program-with-LPCXpresso-V2-LPC1549/m-p/526501#M9131</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:03:31Z</dc:date>
    </item>
  </channel>
</rss>

