<?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 LPC824 external reset problem in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-external-reset-problem/m-p/571258#M18345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mkurus on Tue Dec 01 01:55:39 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a weird problem on my LPC 824 target board. It seems that MCU sometimes does not &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;initialize the pripherals correctly after external reset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To check the issue I have compiled and flashed the simplest sample project periph_gpio &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to my target board changing the systick interrupt as following;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;void SysTick_Handler(void)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;static uint8_t count = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Set output value on port 0 pins 0-3 (0-1 on the 824). Bits that are&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; not enabled by the mask are ignored when setting the port value */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DEBUGSTR("\r\ntest\r\n");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Board_LED_Toggle(0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;count++;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After power-on reset device correctly starts blinking led and sending chars to debug port.&amp;nbsp; But when an external reset signal is applied to reset pin sometimes led does not blink although &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;debug port operate correctly(So MCU is not is ISP mode). The only solution to restart blinking is power-on reset. This problem never exists on POR.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My reset pin is pulled-up with a 47K resistor but the problem continues with the reset pin left unconnnected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone come across this issue before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:12:41 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T20:12:41Z</dc:date>
    <item>
      <title>LPC824 external reset problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-external-reset-problem/m-p/571258#M18345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mkurus on Tue Dec 01 01:55:39 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a weird problem on my LPC 824 target board. It seems that MCU sometimes does not &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;initialize the pripherals correctly after external reset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To check the issue I have compiled and flashed the simplest sample project periph_gpio &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to my target board changing the systick interrupt as following;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;void SysTick_Handler(void)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;static uint8_t count = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Set output value on port 0 pins 0-3 (0-1 on the 824). Bits that are&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; not enabled by the mask are ignored when setting the port value */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DEBUGSTR("\r\ntest\r\n");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Board_LED_Toggle(0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;count++;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After power-on reset device correctly starts blinking led and sending chars to debug port.&amp;nbsp; But when an external reset signal is applied to reset pin sometimes led does not blink although &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;debug port operate correctly(So MCU is not is ISP mode). The only solution to restart blinking is power-on reset. This problem never exists on POR.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My reset pin is pulled-up with a 47K resistor but the problem continues with the reset pin left unconnnected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone come across this issue before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:12:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-external-reset-problem/m-p/571258#M18345</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 external reset problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-external-reset-problem/m-p/571259#M18346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unless you disable SWDIO &amp;amp; SWCLK from SWM (or alter their pins from IOCON) , the DEBUG port is (almost) always available as long as you have a valid clock (eg. your osc, whatever it is is running).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is happening is that your MCUis indeed entering into ISP mode because of ISP pin "seen" in low state @boot time.&lt;/P&gt;&lt;P&gt;For debug purposes, make sure that PIO0_12 have a pull-up to Vdd, 10k will be just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For production, disable sampling ISP pin but take care, you can have a brick part if:&lt;/P&gt;&lt;P&gt;- mess up with SWD pins&lt;/P&gt;&lt;P&gt;- stop your clock for some reason&lt;/P&gt;&lt;P&gt;- go into power down modes and don't (can't) resume to active mode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 17:27:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-external-reset-problem/m-p/571259#M18346</guid>
      <dc:creator>rianzu</dc:creator>
      <dc:date>2016-08-04T17:27:31Z</dc:date>
    </item>
  </channel>
</rss>

