<?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: Trace versus SDHC on K64 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trace-versus-SDHC-on-K64/m-p/395244#M21695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trace pins are MUX functions that the SW much set up (the pins don't default to trace function) and the trace pins are usually available on multiple pins.&lt;/P&gt;&lt;P&gt;For example SDHC0_D0 and TRACE_D3 are both on the port PTE1. This defaults to ADC input and so the software decides whether to use it as SDHC or Trace.&lt;/P&gt;&lt;P&gt;In your case you will probably prefer to use the pin as SDHC_D0 always and so you can instead select TRACE_D3 to be on PTA7 instead, which is an alternate location (and hopefully you won't be using that for one of its other functions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will however also be housing dependent as to whether there is a trace connection and how many alternatives the trace pins have - some smaller housings may be less flexible since they simply don't have all pins available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore if you are now defining the circuitry you may be able to work out the pin utilisation so that you can keep the trace lines aways from the SDHC interface and then have no restrictions.&lt;/P&gt;&lt;P&gt;If this is not possible the software will need to "temporarily" disable SDHC mode in favoir of the trace functionality. Once debugging has completed it can then re-enable the interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis.html" rel="nofollow"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;K64: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/FRDM-K64F.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/FRDM-K64F.html&lt;/A&gt;&lt;SPAN&gt; / &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K64F120M.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/TWR-K64F120M.html&lt;/A&gt;&lt;SPAN&gt; / &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K65F180M.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/TWR-K65F180M.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7ed529;"&gt;:smileyinfo: Out-of-the-box support for 46 Kinetis boards and 10 IDEs (&lt;EM&gt;460 combinations from a single code source with no porting required&lt;/EM&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Oct 2015 23:11:24 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2015-10-13T23:11:24Z</dc:date>
    <item>
      <title>Trace versus SDHC on K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trace-versus-SDHC-on-K64/m-p/395243#M21694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking at the K64 tower board schematic, it has the SDHC card data and clock tied to the JTAG trace data and clock lines.&amp;nbsp; When we spin our own board for this project, we do want to keep the SDHC socket but also want to be able to use the trace capability and will only have the JTAG/trace connector, not the tower board’s separate K20 MCU for the USB debug interface.&amp;nbsp; (The SDHC and trace functions are shared on the same dedicated pins on the MCU, so this is obviously something that Freescale has thought about.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’m wondering how well these will coexist with each other and what we will have to do so we can debug and use an SD card without losing the trace capability?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any guidance or can point to application notes or other information, I’d really appreciate the hints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 22:49:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trace-versus-SDHC-on-K64/m-p/395243#M21694</guid>
      <dc:creator>marks</dc:creator>
      <dc:date>2015-10-13T22:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Trace versus SDHC on K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trace-versus-SDHC-on-K64/m-p/395244#M21695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trace pins are MUX functions that the SW much set up (the pins don't default to trace function) and the trace pins are usually available on multiple pins.&lt;/P&gt;&lt;P&gt;For example SDHC0_D0 and TRACE_D3 are both on the port PTE1. This defaults to ADC input and so the software decides whether to use it as SDHC or Trace.&lt;/P&gt;&lt;P&gt;In your case you will probably prefer to use the pin as SDHC_D0 always and so you can instead select TRACE_D3 to be on PTA7 instead, which is an alternate location (and hopefully you won't be using that for one of its other functions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will however also be housing dependent as to whether there is a trace connection and how many alternatives the trace pins have - some smaller housings may be less flexible since they simply don't have all pins available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore if you are now defining the circuitry you may be able to work out the pin utilisation so that you can keep the trace lines aways from the SDHC interface and then have no restrictions.&lt;/P&gt;&lt;P&gt;If this is not possible the software will need to "temporarily" disable SDHC mode in favoir of the trace functionality. Once debugging has completed it can then re-enable the interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis.html" rel="nofollow"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;K64: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/FRDM-K64F.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/FRDM-K64F.html&lt;/A&gt;&lt;SPAN&gt; / &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K64F120M.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/TWR-K64F120M.html&lt;/A&gt;&lt;SPAN&gt; / &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K65F180M.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/TWR-K65F180M.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7ed529;"&gt;:smileyinfo: Out-of-the-box support for 46 Kinetis boards and 10 IDEs (&lt;EM&gt;460 combinations from a single code source with no porting required&lt;/EM&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 23:11:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trace-versus-SDHC-on-K64/m-p/395244#M21695</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-10-13T23:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Trace versus SDHC on K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trace-versus-SDHC-on-K64/m-p/395245#M21696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark Sample,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you refer to the K64 data sheet, you may find alternative pins for trace function on PTA[6..10]. Please refer to the following for details.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23133i2E36676369014291/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freescale Technical Support&lt;BR /&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>Mon, 19 Oct 2015 06:11:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trace-versus-SDHC-on-K64/m-p/395245#M21696</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2015-10-19T06:11:21Z</dc:date>
    </item>
  </channel>
</rss>

