<?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 Need to use pin PTA4 but not as NMI_b (KL15) in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-to-use-pin-PTA4-but-not-as-NMI-b-KL15/m-p/228315#M4716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to use PTA4 as an GPIO input pin on a KL15 device. The pin can also be used for NMI_b. But I don't want to use the NMI_b signal (but it is the default setting, ALT7).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do I need to think about?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I just need to configure PORTA_PCR4[MUX] = 1 (ALT1) and then also clear set FTFA_FOPT[NMI_DIS] = 0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that the Processor expert doesn't clear the FTFA_FOPT[NMI_DIS] bit, it only set PORTA_PCR4[MUX] = 1. But then the NMI_b would be active for a short while after reset?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jul 2013 10:37:44 GMT</pubDate>
    <dc:creator>markosiponen</dc:creator>
    <dc:date>2013-07-29T10:37:44Z</dc:date>
    <item>
      <title>Need to use pin PTA4 but not as NMI_b (KL15)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-to-use-pin-PTA4-but-not-as-NMI-b-KL15/m-p/228315#M4716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to use PTA4 as an GPIO input pin on a KL15 device. The pin can also be used for NMI_b. But I don't want to use the NMI_b signal (but it is the default setting, ALT7).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do I need to think about?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I just need to configure PORTA_PCR4[MUX] = 1 (ALT1) and then also clear set FTFA_FOPT[NMI_DIS] = 0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that the Processor expert doesn't clear the FTFA_FOPT[NMI_DIS] bit, it only set PORTA_PCR4[MUX] = 1. But then the NMI_b would be active for a short while after reset?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 10:37:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-to-use-pin-PTA4-but-not-as-NMI-b-KL15/m-p/228315#M4716</guid>
      <dc:creator>markosiponen</dc:creator>
      <dc:date>2013-07-29T10:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need to use pin PTA4 but not as NMI_b (KL15)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-to-use-pin-PTA4-but-not-as-NMI-b-KL15/m-p/228316#M4717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can disable NMI interrupt function via set FTFA_FOPT bit2 [NMI_DIS] value to 0b0.&lt;/P&gt;&lt;P&gt;The FTFA_FOPT register will load value from Flash address 0x40D during reset.&lt;/P&gt;&lt;P&gt;So, it need to program Flash address 0x40D with suitable value to disable NMI interrupt function.&lt;/P&gt;&lt;P&gt;In processor expert project, you could set 0x40D address value to disable NMI interrupt.&lt;/P&gt;&lt;P&gt;More detailed info, please check below picture.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="flash config of FTFA_FOPT.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40117iA795AE360A597D9A/image-size/large?v=v2&amp;amp;px=999" role="button" title="flash config of FTFA_FOPT.jpg" alt="flash config of FTFA_FOPT.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Ma Hui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 01:51:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-to-use-pin-PTA4-but-not-as-NMI-b-KL15/m-p/228316#M4717</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2013-07-30T01:51:27Z</dc:date>
    </item>
  </channel>
</rss>

