<?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: LPC824 SWDIO pin causing issue when set to GPIO Output High  in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885484#M35489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jeremyzhou,&lt;/P&gt;&lt;P&gt;Thanks for the Quick Reply.&lt;/P&gt;&lt;P&gt;Do you mean to pull down the P0_4 externally, Or only the internal Pull down can Solve this issue?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Sibin Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2019 05:20:06 GMT</pubDate>
    <dc:creator>sibinthomas</dc:creator>
    <dc:date>2019-01-24T05:20:06Z</dc:date>
    <item>
      <title>LPC824 SWDIO pin causing issue when set to GPIO Output High</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885478#M35483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using lpc824 (lpc824M201JDH20J) controller on my custom board and I am trying to set the PO_2 (SWDIO) as GPIO output and P0_3 (SWCLK) as GPIO input pins. My board is powered with 2.8V supply with 47K pullup on the RESET. I have disabled the default function of SWDIO and SWCLK using the switch matrix. I have three leds connected to output pins (P0_1, P0_8 and P0_9). On startup, just after configuring these pins and making P0_2 High, in my while loop i am reading the status of the input pin (P0_3) and toggling the leds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is when I make PO_2 high and if i reset the controller 2 or 3 times my other pins are not getting configured properly. Like LEDs (P0_8 and P0_9) not going high and low and my input P0_3 is always reading low. but LED P0_1 is working. This issue happens only when i configure P0_2 as output and high and do reset few times. The code is working as expected if my P0_2 is output and low. I am attaching my code where if PO_2 is made high this problem occurs and if P0_2 is low everything works. Is there any problem with the P0_2 (SWDIO) making output and high? Why on several reset the pins are not getting configured properly? Any suggestion would be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2019 18:25:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885478#M35483</guid>
      <dc:creator>sibinthomas</dc:creator>
      <dc:date>2019-01-19T18:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 SWDIO pin causing issue when set to GPIO Output High</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885479#M35484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="307829" data-username="sibinthomas" href="https://community.nxp.com/people/sibinthomas"&gt;Sibin Thomas&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;Workaround:&lt;BR /&gt;After disabling the default SWD functions of the P0_2 and P0_3, you should remember pull-down the P0_4 to the low state prior to resetting the MCU, after that, release the P0_4.&lt;BR /&gt;Please give a try.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2019 03:02:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885479#M35484</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-01-22T03:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 SWDIO pin causing issue when set to GPIO Output High</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885480#M35485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;I was unable to sort out the issue even after doing the changes you insisted. I would also like to inform that there are no external Pull up/Pull down resistors on any of the RST,ISP,SWDIO,SWCLK pins. &lt;BR /&gt;Is using the SWDIO &amp;amp; SWCLK as an GPIO function causing this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2019 14:21:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885480#M35485</guid>
      <dc:creator>sibinthomas</dc:creator>
      <dc:date>2019-01-22T14:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 SWDIO pin causing issue when set to GPIO Output High</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885481#M35486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="307829" data-username="sibinthomas" href="https://community.nxp.com/people/sibinthomas"&gt;Sibin Thomas&lt;/A&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1) Is using the SWDIO &amp;amp; SWCLK as a GPIO function causing this problem?&lt;BR /&gt;-- Yes, there's a bug in the chip and the corresponding workaround is shared before.&lt;BR /&gt;Note: In the workaround, reset the MCU via the reset pin.&lt;BR /&gt;My colleague and I have both validated the workaround with &lt;A href="https://www.nxp.com/support/developer-resources/evaluation-and-development-boards/lpcxpresso-boards/lpcxpresso824-max-board-for-lpc82x-family-mcus:OM13071"&gt;LPCXpresso LPC824 board&lt;/A&gt;.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 06:31:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885481#M35486</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-01-23T06:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 SWDIO pin causing issue when set to GPIO Output High</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885482#M35487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jeremyzhou,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying the workaround you suggested, just after the disabling SWD functions I am enabling the internal pull-down using the IOCON function.&lt;/P&gt;&lt;P&gt;Then I am configuring SWD pins as GPIOs (P0_3 input and P0_2 output high). After this in my while loop I am toggling my three leds (P0_8, P0_9, P0_1).&amp;nbsp;Still my problem happens after few resets. Am I missing something or should I connect an external pull-down on P0_4 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this bug and workaround has been documented anywhere. If it is available can you please&amp;nbsp;provide the link, because I couldn't find this issue in Errata sheet of lpc82x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 08:30:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885482#M35487</guid>
      <dc:creator>sibinthomas</dc:creator>
      <dc:date>2019-01-23T08:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 SWDIO pin causing issue when set to GPIO Output High</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885483#M35488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="307829" data-username="sibinthomas" href="https://community.nxp.com/people/sibinthomas"&gt;Sibin Thomas,&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;The errata hasn't included the bug now, however, this bug had already been confirmed by IP design team.&lt;BR /&gt;To avoid triggering this 'bug', the P0_4 need to be pulled down on reset, just as same as pull down the ISP pin to force the MCU to enter the ISP mode.&lt;BR /&gt;I was wondering if you can record a video of the testing process, maybe I can find what step you miss.&lt;/SPAN&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 03:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885483#M35488</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-01-24T03:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 SWDIO pin causing issue when set to GPIO Output High</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885484#M35489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jeremyzhou,&lt;/P&gt;&lt;P&gt;Thanks for the Quick Reply.&lt;/P&gt;&lt;P&gt;Do you mean to pull down the P0_4 externally, Or only the internal Pull down can Solve this issue?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Sibin Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 05:20:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885484#M35489</guid>
      <dc:creator>sibinthomas</dc:creator>
      <dc:date>2019-01-24T05:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC824 SWDIO pin causing issue when set to GPIO Output High</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885485#M35490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="307829" data-username="sibinthomas" href="https://community.nxp.com/people/sibinthomas"&gt;Sibin Thomas&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;1) Do you mean to pull down the P0_4 externally?&lt;BR /&gt;-- Yes, it needs to pull down the P0_4 externally.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 05:55:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-SWDIO-pin-causing-issue-when-set-to-GPIO-Output-High/m-p/885485#M35490</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-01-24T05:55:16Z</dc:date>
    </item>
  </channel>
</rss>

