<?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: KL02  SWD_DIO or SWD_CLK in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-SWD-DIO-or-SWD-CLK/m-p/248253#M6790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both pins can be used. The differences between the two pins are: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PTA0 has interrupt requests; PTA2 does not.&lt;/P&gt;&lt;P&gt;PTA0 does not have an internal pull-up. PTA2 does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you need to add an interrupt driven input later, use PTA2 for switching the MOSFET to leave PTA0 available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martyn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Aug 2013 20:02:37 GMT</pubDate>
    <dc:creator>martynhunt</dc:creator>
    <dc:date>2013-08-09T20:02:37Z</dc:date>
    <item>
      <title>KL02  SWD_DIO or SWD_CLK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-SWD-DIO-or-SWD-CLK/m-p/248252#M6789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are currently using MKL02Z16VFG4 (16 pin device) in a new&lt;BR /&gt;design.&amp;nbsp; In this design we are using all&lt;BR /&gt;of the pins except for pin 16 (PTA2/SWD_DIO) and pin 14 (PTA0/SWD_CLK).&amp;nbsp; After programming, we need to use one of&lt;BR /&gt;these pins to drive an N-Channel MOSFET, which is being used as a switch.&amp;nbsp; The N-Channel MOSFET has a pull down 10K ohm&lt;BR /&gt;resistor from its gate to ground.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which pin should we be using?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 18:32:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-SWD-DIO-or-SWD-CLK/m-p/248252#M6789</guid>
      <dc:creator>patrickirwin</dc:creator>
      <dc:date>2013-08-09T18:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: KL02  SWD_DIO or SWD_CLK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-SWD-DIO-or-SWD-CLK/m-p/248253#M6790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both pins can be used. The differences between the two pins are: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PTA0 has interrupt requests; PTA2 does not.&lt;/P&gt;&lt;P&gt;PTA0 does not have an internal pull-up. PTA2 does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you need to add an interrupt driven input later, use PTA2 for switching the MOSFET to leave PTA0 available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martyn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 20:02:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-SWD-DIO-or-SWD-CLK/m-p/248253#M6790</guid>
      <dc:creator>martynhunt</dc:creator>
      <dc:date>2013-08-09T20:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: KL02  SWD_DIO or SWD_CLK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-SWD-DIO-or-SWD-CLK/m-p/248254#M6791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martyn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Normal1MOD"&gt;Does the PTA2/SWD_DIO require a pull-up?&amp;nbsp; The IAR I-JET states when using J-TAG &lt;SPAN style="color: black; font-family: 'Helv','sans-serif'; mso-bidi-font-size: 10.0pt; mso-bidi-font-family: Helv;"&gt;“This pin should be pulled up on target”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Normal1MOD"&gt;While for PT0/SWD_CLK pin says that when using J-TAG &lt;SPAN style="color: black; font-family: 'Helv','sans-serif'; mso-bidi-font-size: 10.0pt; mso-bidi-font-family: Helv;"&gt;“It is recommended that this pin is pulled to a defined state on target board”.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Normal1MOD"&gt;&lt;SPAN style="color: black; font-family: 'Helv','sans-serif'; mso-bidi-font-size: 10.0pt; mso-bidi-font-family: Helv;"&gt;If we need a pull-down to the MOSFET, we &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Helv','sans-serif'; mso-bidi-font-size: 10.0pt; mso-bidi-font-family: Helv;"&gt;should use the &lt;/SPAN&gt;PTA2/SWD_DIO.&amp;nbsp; We are using J-TAG for programming. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Normal1MOD"&gt;Thanks&lt;/P&gt;&lt;P class="Normal1MOD"&gt;Pat&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 18:43:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-SWD-DIO-or-SWD-CLK/m-p/248254#M6791</guid>
      <dc:creator>patrickirwin</dc:creator>
      <dc:date>2013-08-16T18:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: KL02  SWD_DIO or SWD_CLK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-SWD-DIO-or-SWD-CLK/m-p/248255#M6792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On reset the KL02 enables a pull-up on PTA2/SWD_DIO, and a pull-down on PTA0/SWD_CLK. Therefore, until you change the mux and/or pull-up/down settings in your code, PTA0 &amp;amp; PTA2 are set correctly for programming. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the KL02 does not feature JTAG. All programming/debugging is performed via SWD (Serial Wire Debug) and your IAR I-JET is capable of programming/debugging over SWD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martyn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 14:36:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-SWD-DIO-or-SWD-CLK/m-p/248255#M6792</guid>
      <dc:creator>martynhunt</dc:creator>
      <dc:date>2013-08-19T14:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: KL02  SWD_DIO or SWD_CLK</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-SWD-DIO-or-SWD-CLK/m-p/248256#M6793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martyn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 15:01:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-SWD-DIO-or-SWD-CLK/m-p/248256#M6793</guid>
      <dc:creator>patrickirwin</dc:creator>
      <dc:date>2013-08-19T15:01:26Z</dc:date>
    </item>
  </channel>
</rss>

