<?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: SWD additional pullup/pulldown resistor when the GPIO already has one</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SWD-additional-pullup-pulldown-resistor-when-the-GPIO-already/m-p/621270#M24331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Similar problem with the LPC54102 (LPC5410x Series)&lt;BR /&gt;Datasheet page 76: (use external pull-down on SWCLK)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17446i601968E092320813/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;User Manual &amp;nbsp;UM10850 of LPC5410x: (internal pull-up on SWCLK)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17466i690E4F969AEA1184/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This two documents clearly conflict each other!&lt;/P&gt;&lt;P&gt;The datasheet recommends to use a pull-down on the SWCLK while the user manual states that there is an internal pull-up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This leads to higher standby currents due to the two opposite resistors on the SWCLK!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 May 2017 11:27:29 GMT</pubDate>
    <dc:creator>simonwyss</dc:creator>
    <dc:date>2017-05-09T11:27:29Z</dc:date>
    <item>
      <title>SWD additional pullup/pulldown resistor when the GPIO already has one</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SWD-additional-pullup-pulldown-resistor-when-the-GPIO-already/m-p/621268#M24329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I might have more chance for my question in a new thread. The question was initially raised by IanB in this message: &lt;A _jive_internal="true" href="https://community.nxp.com/message/752591?commentID=752591#comment-752591"&gt;https://community.nxp.com/message/752591?commentID=752591#comment-752591&lt;/A&gt; :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Unlike Mike, I'm using a device which shares its serial wire pins with GPIO. If the pull-up is enabled in IOCON as its default condition out of reset, doesn't it have a pull-up? Could you please clarify.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I had the same question myself and found this answer in &lt;STRONG&gt;Design Consideration for Debug &lt;/STRONG&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/388998"&gt;https://community.nxp.com/thread/388998&lt;/A&gt; :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Some MCUs do not include internal pull-up or pull-down resistors on JTAG/SWD pins. You&amp;nbsp; will need to review the datasheet for the specific MCU being used to confirm. Where internal resistors are not provided, these should be added externally onto your board as detailed above. You may use resistors between 10K and 100K for these signals. This will prevent the signals from floating when they are not connected to anything. Failure to do this will lead to, at best, unreliable debug connections, or more likely no ability to debug at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If an internal resistor is provided for a pin by the MCU, then an external resistor&amp;nbsp; is not required for that pin. But if external resistor is provided in such cases, then it must match that provided internally by the MCU.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But later on, I found in the LPC11U6x User Manual and Data sheet that SWDIO and SWCLK pins have an internal pull-up for SWDIO and pull-down for SWCLK by default. But both documents contain a diagram that shows the recommendation to add a pull-up and pull-down resistors. And the value of these resistors do not necessary match the internal MCU...&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="LPC11U6x-SWD.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7221iFE6A53726ADDEDBA/image-size/large?v=v2&amp;amp;px=999" role="button" title="LPC11U6x-SWD.png" alt="LPC11U6x-SWD.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="LPC11U6X-fig44.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7222iDFB90EF0EC27903D/image-size/large?v=v2&amp;amp;px=999" role="button" title="LPC11U6X-fig44.png" alt="LPC11U6X-fig44.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what should we do for LPC11U6x?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 23:32:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SWD-additional-pullup-pulldown-resistor-when-the-GPIO-already/m-p/621268#M24329</guid>
      <dc:creator>oliviermartin</dc:creator>
      <dc:date>2016-11-01T23:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: SWD additional pullup/pulldown resistor when the GPIO already has one</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SWD-additional-pullup-pulldown-resistor-when-the-GPIO-already/m-p/621269#M24330</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="281305" data-username="oliviermartin" href="https://community.nxp.com/people/oliviermartin"&gt;Olivier Martin&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;1. If the pull-up is enabled in IOCON as its default condition out of reset, doesn't it have a pull-up?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes.&lt;/P&gt;&lt;P&gt;2. Yes, it's recommended to add an external resistor to the WDIO and SWCLK pins when design the debug interface.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&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>Fri, 04 Nov 2016 02:13:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SWD-additional-pullup-pulldown-resistor-when-the-GPIO-already/m-p/621269#M24330</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-11-04T02:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: SWD additional pullup/pulldown resistor when the GPIO already has one</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SWD-additional-pullup-pulldown-resistor-when-the-GPIO-already/m-p/621270#M24331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Similar problem with the LPC54102 (LPC5410x Series)&lt;BR /&gt;Datasheet page 76: (use external pull-down on SWCLK)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17446i601968E092320813/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;User Manual &amp;nbsp;UM10850 of LPC5410x: (internal pull-up on SWCLK)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17466i690E4F969AEA1184/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This two documents clearly conflict each other!&lt;/P&gt;&lt;P&gt;The datasheet recommends to use a pull-down on the SWCLK while the user manual states that there is an internal pull-up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This leads to higher standby currents due to the two opposite resistors on the SWCLK!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2017 11:27:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SWD-additional-pullup-pulldown-resistor-when-the-GPIO-already/m-p/621270#M24331</guid>
      <dc:creator>simonwyss</dc:creator>
      <dc:date>2017-05-09T11:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: SWD additional pullup/pulldown resistor when the GPIO already has one</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SWD-additional-pullup-pulldown-resistor-when-the-GPIO-already/m-p/621271#M24332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SWD_pinout.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20429i3EBF3B6D55F2AFAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="SWD_pinout.jpg" alt="SWD_pinout.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my understanding based on all the information available.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Aug 2017 09:26:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SWD-additional-pullup-pulldown-resistor-when-the-GPIO-already/m-p/621271#M24332</guid>
      <dc:creator>hmyoong</dc:creator>
      <dc:date>2017-08-13T09:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: SWD additional pullup/pulldown resistor when the GPIO already has one</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SWD-additional-pullup-pulldown-resistor-when-the-GPIO-already/m-p/621272#M24333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes &amp;nbsp;- its quite clearly nonsense, but NXP won't admit it! I do note that the pull-down resistor has been left of the connection diagram in later device (LPC15xx, for instance).&lt;/P&gt;&lt;P&gt;It's worse than just the current through the resistors: if one happens to choose a pull-down which is the same value as the internal pull-up, the the inputs transistors are both biassed on, and current flows through them - much more current than flows through the resistors; and the noise-immunity on the pin is completely destroyed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 20:24:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SWD-additional-pullup-pulldown-resistor-when-the-GPIO-already/m-p/621272#M24333</guid>
      <dc:creator>ianbenton</dc:creator>
      <dc:date>2017-11-03T20:24:00Z</dc:date>
    </item>
  </channel>
</rss>

